Participant can't hear anyone after joining a session

Description
Participants cannot enable speakers/hear audio from other users until they press the button tied to stream.startAudio() after joining a session. The issue happens when they first join.

Browser Console Error
N/A

Which Web Video SDK version?
1.4.0

Video SDK Code Snippets
The code snippets that are causing the error / issue so we can reproduce.

Device (please complete the following information):

  • Device: Macbook pro
  • OS: MacOS
  • Browser: Chrome
  • Browser Version: Latest

Additional context
Add any other context about the problem here.

Hey @ivan.jiang

Thanks for your feedback.

It’s the privacy setting of the browser. We cannot play audio until the user interacts with the page.

Thanks
Vic

I was wondering if there is a video SDK API similar to this browser web API

navigator.mediaDevices.getUserMedia()

that can prompt the user for permission to use audio devices? or an SDK API can check the permission before calling startAudio()?

Thanks

Hey @ivan.jiang

We do have a similar API named LocalAudioTrack, LocalAudioTrack | Zoom Video SDK for Web - 1.4.1, but it is only supposed to test the microphone before joining the session.

Thanks
Vic

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