# New participant audio not muted despite muteAllUserAudioLocally call

**URL:** <https://devforum.zoom.us/t/new-participant-audio-not-muted-despite-mutealluseraudiolocally-call/131915>\
**Category:** Video SDK\
**Tags:** video-sdk\
**Created:** [April 24, 2025, 9:03pm UTC](https://devforum.zoom.us/t/new-participant-audio-not-muted-despite-mutealluseraudiolocally-call/131915 "2025-04-24T21:03:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [April 24, 2025, 9:03pm UTC](https://devforum.zoom.us/t/new-participant-audio-not-muted-despite-mutealluseraudiolocally-call/131915/1 "2025-04-24T21:03:59Z")

</div>

Hi @vic.yang

We are using the Zoom Video SDK and have configured the session with `speakerPrivacy: true` in the `preSessionConfig`. We expect that no remote user audio should be played locally unless explicitly unmuted.

Here’s what we’re doing:

- Setting `speakerPrivacy: true` before session join
- Waiting for both session and audio to reach `Connected` state
- Then calling:

```auto
mediaStream.muteAllUserAudioLocally();

```

This call runs successfully — no errors — and seems to work initially.

**However, the issue:**

- When a **new participant joins** , their audio is still played through the local speaker
- Also, if an **existing participant starts speaking** , their audio also plays locally
- Calling `muteAllUserAudioLocally()` inside the `user-added` event does not resolve it
- The only thing that works is when the user **manually unmutes and remutes** — then the mute behavior is enforced correctly

It seems like `muteAllUserAudioLocally()` does not consistently apply when `speakerPrivacy` is enabled, especially for newly joined participants.

Are we missing something in the expected behavior of `speakerPrivacy` combined with local mute?  
Is there a specific sequence or workaround needed to keep **all participant audio muted locally** , including late joiners?

Would appreciate any insights. Thanks!

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [April 25, 2025, 2:49am UTC](https://devforum.zoom.us/t/new-participant-audio-not-muted-despite-mutealluseraudiolocally-call/131915/2 "2025-04-25T02:49:12Z")

</div>

Hey @freelancer.nak

Thanks for your feedback.

This is indeed our bug — we didn’t account for the new user scenario. We’ll fix this in a future version.

Currently, a workaround for it is:

Listen to the `user-updated` event. If the remote participant’s audio changes from `''` to `'computer'`, then consecutively call

```javascript
await stream.unmuteAllUserAudioLocally();
await stream.muteAllUserAudioLocally();

```

This ensures that newly joined users can also be muted.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [April 25, 2025, 3:07am UTC](https://devforum.zoom.us/t/new-participant-audio-not-muted-despite-mutealluseraudiolocally-call/131915/3 "2025-04-25T03:07:00Z")

</div>

Hey @Vic — thank you for the quick response and confirmation!

Really appreciate you acknowledging the bug. We’ll go ahead and implement the suggested workaround using the `user-updated` event and the `unmuteAllUserAudioLocally()` → `muteAllUserAudioLocally()` sequence.

Looking forward to the official fix in a future release.

Thanks again,  
Naeem

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [April 26, 2025, 4:07am UTC](https://devforum.zoom.us/t/new-participant-audio-not-muted-despite-mutealluseraudiolocally-call/131915/4 "2025-04-26T04:07:50Z")

</div>

Closed on April 26, 2025, 4:07am UTC

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