# Disable camera und microphone

**URL:** <https://devforum.zoom.us/t/disable-camera-und-microphone/51537>\
**Category:** Web\
**Created:** [June 1, 2021, 3:20pm UTC](https://devforum.zoom.us/t/disable-camera-und-microphone/51537 "2021-06-01T15:20:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.bammann](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.bammann/32/27789_2.png) [@m.bammann](https://devforum.zoom.us/u/m.bammann)\
**Post date:** [June 1, 2021, 3:20pm UTC](https://devforum.zoom.us/t/disable-camera-und-microphone/51537/1 "2021-06-01T15:20:07Z")

</div>

Dear forum members,

we need to turn off the ability for individual users to share their camera and microphone (as join parameter).  
Unfortunately, I have not found an option for this. Is it possible at all?

Thanks  
Michael

---

<div class="post-metadata">

**Author:** ![latiendadejuanyloren](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@latiendadejuanyloren](https://devforum.zoom.us/u/latiendadejuanyloren)\
**Post date:** [June 1, 2021, 3:40pm UTC](https://devforum.zoom.us/t/disable-camera-und-microphone/51537/2 "2021-06-01T15:40:15Z")

</div>

i have the same problem, what are you using wordpress?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 2, 2021, 9:46pm UTC](https://devforum.zoom.us/t/disable-camera-und-microphone/51537/3 "2021-06-02T21:46:40Z")

</div>

Hey @m.bammann and @latiendadejuanyloren,

Thanks for reaching out to the Zoom Developer Forum. To clarify, are you referring to the preview shown with version 1.9.5 of the Web SDK?

If so, you can set `disablePreview` to `false` when calling [ZoomMtg.init()](https://marketplace.zoom.us/docs/sdk/native-sdks/web/reference).

If you are referring to preventing users from joining audio or video at all, using a Webinar insteadis the best option.

A webinar is designed for a small group of panelists to share content to an audience that isn’t able to use their camera or microphone. This will, by default, prevent your attendees from sharing their camera or microphone.

Those that need to share camera/mic would be panelists and all others would be attendees.

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![m.bammann](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.bammann/32/27789_2.png) [@m.bammann](https://devforum.zoom.us/u/m.bammann)\
**Post date:** [June 3, 2021, 10:09am UTC](https://devforum.zoom.us/t/disable-camera-und-microphone/51537/4 "2021-06-03T10:09:59Z")

</div>

Hello Max,

thank you. Unfortunately, the webinar option is a little too expensive for us.  
We also need to be able to dynamically allow users to share the camera/mic.  
Is there another option to do this?

Best regards  
Michael

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 4, 2021, 9:00pm UTC](https://devforum.zoom.us/t/disable-camera-und-microphone/51537/5 "2021-06-04T21:00:06Z")

</div>

Hey @m.bammann ,

> [@m.bammann](#):
>
> We also need to be able to dynamically allow users to share the camera/mic.

Due to privacy, this dynamically showing the camera / mic without user action is not supported.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![m.bammann](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.bammann/32/27789_2.png) [@m.bammann](https://devforum.zoom.us/u/m.bammann)\
**Post date:** [June 7, 2021, 5:52am UTC](https://devforum.zoom.us/t/disable-camera-und-microphone/51537/6 "2021-06-07T05:52:03Z")

</div>

We don’t want to activate the camera, we want to dynamically activate the BUTTON to share te camera.  
So we can ALLOW (not FORCE) different users to join the conference and forbid it for the others.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 8, 2021, 1:20am UTC](https://devforum.zoom.us/t/disable-camera-und-microphone/51537/7 "2021-06-08T01:20:58Z")

</div>

Hey @m.bammann,

If you want to disable the ability for participants to join via audio and video, you can set the following options when you call ZoomMtg.init() for that user:

isSupportAV: false  
disableJoinAudio: true  
disablePreview: true

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/b/4b4a0f09edba7f205ebdcb652911a0bc62bcfb9e.png)

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![m.bammann](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.bammann/32/27789_2.png) [@m.bammann](https://devforum.zoom.us/u/m.bammann)\
**Post date:** [June 8, 2021, 9:05am UTC](https://devforum.zoom.us/t/disable-camera-und-microphone/51537/8 "2021-06-08T09:05:34Z")

</div>

Then I get the error message “Your browser doesn’t support using computer’s Audio device…”  
In addition, the user will not be able to see any videos of the other participants then, or am I mistaken?

As a workaround I now simply call:  
document.querySelector(".join-audio-container").style.display = “none”;  
document.querySelector(".send-video-container").style.display = “none”;

But that is a suboptimal solution, because all participants are still visible in the gallery with a black image.  
And they can still unmute themselves via the participant list.  
There is no option to disable the gallery view, is there?  
Is it possible to display only users who have shared the camera?

Thank you for your efforts

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 9, 2021, 6:48pm UTC](https://devforum.zoom.us/t/disable-camera-und-microphone/51537/9 "2021-06-09T18:48:55Z")

</div>

Hey @m.bammann,

Thanks for following up with what you found. That’s correct, it sounds like that won’t work for your use case then. In the future, we plan to release a more customizable version of the Web SDK but for now it seems using custom CSS to restyle the page is the best option based on the behavior.

> [@m.bammann](#):
>
> Is it possible to display only users who have shared the camera?

No, we don’t have a spotlighting feature with the Web SDK that could be used for this either.

> [@m.bammann](#):
>
> There is no option to disable the gallery view, is there?

We do not have functionality to disable this currently.

For any of these features, I recommend posting in the #Feature Requests category so our team can consider them for a future release.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 10, 2021, 4:49am UTC](https://devforum.zoom.us/t/disable-camera-und-microphone/51537/10 "2021-07-10T04:49:44Z")

</div>

Closed on July 10, 2021, 4:49am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
