# Audio on Safari

**URL:** <https://devforum.zoom.us/t/audio-on-safari/64876>\
**Category:** Web\
**Created:** [February 25, 2022, 9:16am UTC](https://devforum.zoom.us/t/audio-on-safari/64876 "2022-02-25T09:16:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ol\_mas](https://avatars.discourse-cdn.com/v4/letter/o/f14d63/32.png) [@ol\_mas](https://devforum.zoom.us/u/ol_mas)\
**Post date:** [February 25, 2022, 9:16am UTC](https://devforum.zoom.us/t/audio-on-safari/64876/1 "2022-02-25T09:16:34Z")

</div>

**Description**  
Cannot launch audio in Safari.

**Browser Console Error**  
OPERATION\_TIMEOUT

**Which Web Video SDK version?**  
1.1.6

**Video SDK Code Snippets**

```auto
async startAudioMuted() {
        try {
            await this.mediaStream.startAudio();
        } catch (error) {
            console.error(error); <= ERROR HERE
            this.leaveSession();
        }
        if (!this.mediaStream.isAudioMuted()) {
            this.mediaStream.muteAudio();
        }
    }

```

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Start zoom session.
2. Start audio via mediaStream.

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Device (please complete the following information):**

- Device: Macbook Air
- OS: macOS 12.2.1
- Browser: Safari
- Browser Version 15.3 (17612.4.9.1.8)

---

<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:** [February 28, 2022, 2:27am UTC](https://devforum.zoom.us/t/audio-on-safari/64876/2 "2022-02-28T02:27:56Z")

</div>

Hey @ol_mas

Thanks for your feedback.

Due to the privacy of the browser, playing audio automatically will cause errors. Listen to the `auto-play-audio-failed` event will catch the timing, and provide a feedback popper to make the user interact with the page.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![ol\_mas](https://avatars.discourse-cdn.com/v4/letter/o/f14d63/32.png) [@ol\_mas](https://devforum.zoom.us/u/ol_mas)\
**Post date:** [March 8, 2022, 12:36pm UTC](https://devforum.zoom.us/t/audio-on-safari/64876/3 "2022-03-08T12:36:39Z")

</div>

Ok, but after prompting the user to interact should i call mediaStream.startAudio() again?  
Thanks.

---

<div class="post-metadata">

**Author:** ![adrianca](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/adrianca/32/36278_2.png) [@adrianca](https://devforum.zoom.us/u/adrianca)\
**Post date:** [March 24, 2022, 9:55am UTC](https://devforum.zoom.us/t/audio-on-safari/64876/4 "2022-03-24T09:55:11Z")

</div>

Seem fixed. I just tested on latest safari 15.4 ipad iOS and audio now works but still doesn’t work for Google Chrome iOS.

---

<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:** [April 23, 2022, 7:55pm UTC](https://devforum.zoom.us/t/audio-on-safari/64876/5 "2022-04-23T19:55:20Z")

</div>

Closed on April 23, 2022, 7:55pm UTC

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