Audio on Safari

Description
Cannot launch audio in Safari.

Browser Console Error
OPERATION_TIMEOUT

Which Web Video SDK version?
1.1.6

Video SDK Code Snippets

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)

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

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

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.

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