# muteAllUserAudioLocally and iOS Safari

**URL:** <https://devforum.zoom.us/t/mutealluseraudiolocally-and-ios-safari/122362>\
**Category:** Video SDK\
**Created:** [December 12, 2024, 4:51pm UTC](https://devforum.zoom.us/t/mutealluseraudiolocally-and-ios-safari/122362 "2024-12-12T16:51:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sammy.nave](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sammy.nave/32/64779_2.png) [@sammy.nave](https://devforum.zoom.us/u/sammy.nave)\
**Post date:** [December 12, 2024, 4:51pm UTC](https://devforum.zoom.us/t/mutealluseraudiolocally-and-ios-safari/122362/1 "2024-12-12T16:51:53Z")

</div>

version: Video SDK Web 1.12.14

**Description**  
We would like to give our users 2 buttons: 1 button to mute themselves and another button to mute their own speaker/all audio from other participants. When a user joins the call, they can either press the mic button (to unmute themselves) or the speaker button (to listen to everyone else). This works great in all browsers we’ve tested except for iOS Safari.

In the case of iOS Safari, when a user clicks the mic to unmute themselves, their speaker also becomes active and they can hear the other participants. To try and prevent this, we are calling `muteAllUserAudioLocally` on that user’s device after calling `startAudio` but nothing happens. The promise fulfills but the speaker still plays the other participants audio.

When the user manually clicks the speaker button to mute the other participants, calling `muteAllUserAudioLocally` works fine. This is only a problem when they first `startAudio`.

We are getting around this by querying the DOM for audio elements and manually setting `muted` to true.

Is there some way to ensure that the speaker/output audio is off when a user starts audio via iOS Safari?

---

<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:** [December 23, 2024, 7:47am UTC](https://devforum.zoom.us/t/mutealluseraudiolocally-and-ios-safari/122362/2 "2024-12-23T07:47:33Z")

</div>

Hey @sammy.nave

Thanks for your feedback.

It’s a known issue in Video SDK Web, where `volume` is only partially supported on iOS Safari.

> **[HTMLMediaElement: volume property - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/volume#browser_compatibility)**
>
> The HTMLMediaElement.volume property sets the volume at
> which the media will be played.

The workaround you implemented is appropriate, and we plan to address this issue in a future release.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [December 24, 2024, 2:44pm UTC](https://devforum.zoom.us/t/mutealluseraudiolocally-and-ios-safari/122362/3 "2024-12-24T14:44:13Z")

</div>

Closed on December 24, 2024, 2:44pm UTC


