# Setting isSupportAV false also disables the incoming audio

**URL:** <https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437>\
**Category:** Web\
**Created:** [August 25, 2021, 5:37pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437 "2021-08-25T17:37:02Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![uday\_skuad](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uday_skuad/32/29506_2.png) [@uday\_skuad](https://devforum.zoom.us/u/uday_skuad)\
**Post date:** [August 25, 2021, 5:37pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/1 "2021-08-25T17:37:02Z")

</div>

**Description**  
I need to disable audio for certain users in zoom meeting, i try to set isSupportAV as false and it disabled the audio for them, but they can’t also hear anything. Is there a way to do it ?

**Which Web Meeting SDK version?**  
1.9.7

**To Reproduce(If applicable)**  
pass isSupportAV as false in ZoomMtg.init

**Device**

- OS: [macOs]
- Browser: [Chrome]

---

<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:** [August 26, 2021, 9:59pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/2 "2021-08-26T21:59:29Z")

</div>

Hey @uday_skuad,

Thank you for reaching out to the Zoom Developer Forum. Try setting `disableJoinAudio` to `true` in the `init()` function.

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![uday\_skuad](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uday_skuad/32/29506_2.png) [@uday\_skuad](https://devforum.zoom.us/u/uday_skuad)\
**Post date:** [August 27, 2021, 6:04am UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/3 "2021-08-27T06:04:47Z")

</div>

@MaxM it didn’t have any effect

---

<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:** [August 27, 2021, 6:32pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/4 "2021-08-27T18:32:14Z")

</div>

Hey @uday_skuad,

That’s my mistake, I meant to say set that property to `true`. Let me know if that has an effect.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![uday\_skuad](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uday_skuad/32/29506_2.png) [@uday\_skuad](https://devforum.zoom.us/u/uday_skuad)\
**Post date:** [August 29, 2021, 2:18pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/5 "2021-08-29T14:18:02Z")

</div>

@MaxM it doesn’t fit my use case. It only disables the join function on meeting screen. User can still mute/unmute from the splash screen(which comes before joining) and also from participants list

---

<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:** [August 31, 2021, 5:40pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/6 "2021-08-31T17:40:03Z")

</div>

Hey @uday_skuad,

Thanks for testing that out and getting back to me! You can disable the preview when a user joins by setting `disablePreview` to `true`. That should prevent the user from unmuting via the participants list as well.

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![uday\_skuad](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uday_skuad/32/29506_2.png) [@uday\_skuad](https://devforum.zoom.us/u/uday_skuad)\
**Post date:** [September 2, 2021, 9:53am UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/7 "2021-09-02T09:53:15Z")

</div>

@MaxM It didn’t work. It just disabled the splash screen. User can still mute/unmute from participants list

 ![Screenshot 2021-09-02 at 2.32.52 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/2/321ad590eceaf82ddb862c912567d4b2efe841d4.jpeg)

Currently i setting mute using setInterval

```auto
setInterval(()=>{
  ZoomMtg.getCurrentUser({
    success: (data: {
      result: {
        currentUser: {
          muted: boolean;userId: Number
        }
      };
    })=>{
      if(audioVideoDisabled&&data?.result?.currentUser?.muted===false){
        ZoomMtg.mute({
          userId: data?.result?.currentUser?.userId,
          mute: true,
          
        });
      }
    },
    
  });
},
1000);

```

---

<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:** [September 7, 2021, 11:54pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/8 "2021-09-07T23:54:24Z")

</div>

Hey @uday_skuad,

Thanks for getting back to me. I’ll check with our team to see if there is a better method to accomplish this and let you know what I hear.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![uday\_skuad](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uday_skuad/32/29506_2.png) [@uday\_skuad](https://devforum.zoom.us/u/uday_skuad)\
**Post date:** [September 9, 2021, 5:41am UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/9 "2021-09-09T05:41:14Z")

</div>

Thanks @MaxM. Please let me know i would like to avoid using setInterval

---

<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:** [September 13, 2021, 10:54pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/10 "2021-09-13T22:54:52Z")

</div>

Hey @uday_skuad,

Apologies for the delay here, I have a team meeting tomorrow where I can bring this up.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![uday\_skuad](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uday_skuad/32/29506_2.png) [@uday\_skuad](https://devforum.zoom.us/u/uday_skuad)\
**Post date:** [September 20, 2021, 6:44am UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/11 "2021-09-20T06:44:12Z")

</div>

Hi @MaxM, is there a new status for this issue ?

Thanks  
Uday

---

<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:** [September 24, 2021, 12:19am UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/12 "2021-09-24T00:19:49Z")

</div>

Hey @uday_skuad,

Thanks for your patience. The solution here is to set disableJoinAudio to true and also disablePreview to true but as you mentioned it seems there are still ways for the user to join audio when doing this.

I’ve reached out to our engineering team with these issues and will get back to you as soon as I know more. (ZOOM-311274)

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![lara.duarte](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lara.duarte/32/31578_2.png) [@lara.duarte](https://devforum.zoom.us/u/lara.duarte)\
**Post date:** [October 4, 2021, 1:29pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/13 "2021-10-04T13:29:40Z")

</div>

Hi MaxM,

Any news?  
Same issue on my end.

thanks

---

<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:** [October 5, 2021, 5:36pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/14 "2021-10-05T17:36:02Z")

</div>

Hey @lara.duarte,

Thanks for following up on this. I don’t have an update just yet but I’m continuing to work closely with our engineering team to determine a fix. I’ll get back to you in this thread ASAP.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![uday\_skuad](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uday_skuad/32/29506_2.png) [@uday\_skuad](https://devforum.zoom.us/u/uday_skuad)\
**Post date:** [October 5, 2021, 6:36pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/15 "2021-10-05T18:36:36Z")

</div>

@lara.duarte I am using this. Maybe this will help you

boolean to disable audioVideo

```auto
const audioVideoDisabled = true

```

hide video button

```auto
if (audioVideoDisabled) {
  const sheet = document.createElement("style");
  sheet.innerHTML = ".send-video-container__btn {display: none;}";
  document.body.appendChild(sheet);
}

```

Join meeting with flags

```auto
ZoomMtg.init({
  disableJoinAudio: audioVideoDisabled,
  disablePreview: audioVideoDisabled,
  ...
});

```

Interval to mute user if unmuted every second

```auto
useEffect(() => {
  const timer =
    audioVideoDisabled &&
    setInterval(() => {
      ZoomMtg.getCurrentUser({
        success: (data) => {
          if (
            audioVideoDisabled &&
            data?.result?.currentUser?.muted === false
          ) {
            ZoomMtg.mute({
              userId: data?.result?.currentUser?.userId,
              mute: true,
            });
          }
        },
      });
    }, 1000);
  return () => {
    timer && clearInterval(timer);
  };
}, []);

```

Hope this helps, Until we have a better solution

---

<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:** [October 5, 2021, 9:44pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/16 "2021-10-05T21:44:33Z")

</div>

@uday_skuad @lara.duarte

I wanted to follow up on this and see if using a Webinar instead of a meeting would work for your use case. In that instance, the panelists and host would be able to speak but the attendees would only be able to hear.

Let me know if that works.

@uday_skuad Thanks for sharing what worked for you!

You can also use disableJoinAudio: true, and then ZoomMtg.mute() the user after they join, and then hide the unmute buttons via CSS.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![uday\_skuad](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uday_skuad/32/29506_2.png) [@uday\_skuad](https://devforum.zoom.us/u/uday_skuad)\
**Post date:** [October 6, 2021, 5:36am UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/17 "2021-10-06T05:36:12Z")

</div>

@MaxM We have already signed licences and it is too late to change to webinar.But i will ask

Update:  
We can’t do it, it requires separate pricing

---

<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:** [October 6, 2021, 5:43pm UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/18 "2021-10-06T17:43:36Z")

</div>

Hey @uday_skuad,

If you’re able to reassign licenses that may be the best option. I would reach out to your account manager to see if they can assist with that if it fits your use case better.

If not, I completely understand. Regardless, thanks for keeping me in the loop, I’m glad that you have a path forward.

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:** [November 6, 2021, 3:43am UTC](https://devforum.zoom.us/t/setting-issupportav-false-also-disables-the-incoming-audio/56437/19 "2021-11-06T03:43:59Z")

</div>

Closed on November 6, 2021, 3:43am UTC

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