# Turn Off My Video dont work

**URL:** <https://devforum.zoom.us/t/turn-off-my-video-dont-work/8965>\
**Category:** Windows\
**Created:** [March 19, 2020, 7:48am UTC](https://devforum.zoom.us/t/turn-off-my-video-dont-work/8965 "2020-03-19T07:48:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![19bobo](https://avatars.discourse-cdn.com/v4/letter/1/65b543/32.png) [@19bobo](https://devforum.zoom.us/u/19bobo)\
**Post date:** [March 19, 2020, 7:48am UTC](https://devforum.zoom.us/t/turn-off-my-video-dont-work/8965/1 "2020-03-19T07:48:40Z")

</div>

When i join meeting, i set isVideoOff and isAudioOff with true in JoinParam4NormalUser struct, but when i am in the meeting, my video still works. It makes me confused.

On the other hand, in the sdk\_demo\_v2 project, isVideoOff and isAudioOff work.

Besides, i find remaks showing that “In addition, this flag is affected by meeting attributes.” So, what makes isVideoOff and isAudioOff with true values dont work?

Thanks.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 20, 2020, 9:12pm UTC](https://devforum.zoom.us/t/turn-off-my-video-dont-work/8965/2 "2020-03-20T21:12:48Z")

</div>

Hi [19bobo](https://devforum.zoom.us/u/19bobo),

Thanks for the post. Are you using any sort of account level(on the web portal) or app level setting such as using `EnableForceAutoStartMyVideoWhenJoinMeeting`([https://zoom.github.io/zoom-sdk-windows/class\_i\_join\_meeting\_behavior\_configuration.html#a91528d18d5d7e0d2ebe3bfead17860cc](https://zoom.github.io/zoom-sdk-windows/class_i_join_meeting_behavior_configuration.html#a91528d18d5d7e0d2ebe3bfead17860cc))?

As you mentioned, the isVideoOff and isAudioOff is working in our demo app if you do not have any other configuration that forces the video to be on.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![19bobo](https://avatars.discourse-cdn.com/v4/letter/1/65b543/32.png) [@19bobo](https://devforum.zoom.us/u/19bobo)\
**Post date:** [March 25, 2020, 3:56am UTC](https://devforum.zoom.us/t/turn-off-my-video-dont-work/8965/3 "2020-03-25T03:56:21Z")

</div>

I have done some settings before join meeting. I’ll reset to find out which  
one stops mute video.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 27, 2020, 3:05am UTC](https://devforum.zoom.us/t/turn-off-my-video-dont-work/8965/4 "2020-03-27T03:05:35Z")

</div>

Thanks for the reply. Hope you have fixed this issue. Let us know if any other questions. Happy Zooming!

---

<div class="post-metadata">

**Author:** ![19bobo](https://avatars.discourse-cdn.com/v4/letter/1/65b543/32.png) [@19bobo](https://devforum.zoom.us/u/19bobo)\
**Post date:** [March 27, 2020, 7:15am UTC](https://devforum.zoom.us/t/turn-off-my-video-dont-work/8965/5 "2020-03-27T07:15:26Z")

</div>

I find the following code works for me:

```auto
    		auto pVideoSettingContext = m_pSettingService->GetVideoSettings();
		if (pVideoSettingContext != nullptr&& joinParam.userType == ZOOMSDK::SDK_UT_NORMALUSER)
		{
			pVideoSettingContext->EnableAutoTurnOffVideoWhenJoinMeeting(joinParam.param.normaluserJoin.isVideoOff);
			joinParam.param.normaluserJoin.isVideoOff = false;
		}

		auto pAudioSettingContext = m_pSettingService->GetAudioSettings();
		if (pAudioSettingContext != nullptr&& joinParam.userType == ZOOMSDK::SDK_UT_NORMALUSER)
		{
			pAudioSettingContext->EnableAlwaysMuteMicWhenJoinVoip(joinParam.param.normaluserJoin.isAudioOff);
			joinParam.param.normaluserJoin.isAudioOff = false;
		}

```

Thank you!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 27, 2020, 11:36pm UTC](https://devforum.zoom.us/t/turn-off-my-video-dont-work/8965/6 "2020-03-27T23:36:21Z")

</div>

Hi [19bobo](https://devforum.zoom.us/u/19bobo),

Thanks for sharing the solution. Yes, calling those app-level settings will ensure the audio and video works as expected.

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:33pm UTC](https://devforum.zoom.us/t/turn-off-my-video-dont-work/8965/7 "2020-08-21T19:33:58Z")

</div>

Closed on August 21, 2020, 7:33pm UTC


