aws / amazon-chime-sdk-js

A JavaScript client library for integrating multi-party communications powered by the Amazon Chime service.
Apache License 2.0
699 stars 473 forks source link

No audio output when starting a session on macOS chrome browser #2876

Closed sadhikay closed 2 months ago

sadhikay commented 2 months ago

Created a simple session using Amazon Chime SDK. I am able to see the video and attendees can join the call. But I am not able to hear anything. Below are the lines of code used to set audio and video devices and start the session.

await this.meetingSession.audioVideo.startAudioInput(audioInputDevices[0].deviceId); await this.meetingSession.audioVideo.chooseAudioOutput(audioOutputDevices[0].deviceId); await this.meetingSession.audioVideo.startVideoInput(videoInputDevices[0].deviceId); this.meetingSession.audioVideo.bindAudioElement(audioElement); this.meetingSession.audioVideo.start();

Can you help me understand what I am missing here that is causing the audio output to fail?