No audio heard from shared video until startAudio() is called

I found that when someone shares video content, I don’t hear any audio from it. However, when I turn on the microphone, I’m able to hear the sound.

It seems this happens because I didn’t call startAudio() initially — is that why there’s no sound output?

My intention is to mute the user’s mic by default, which is why I didn’t call startAudio() at the start. I’d like to get some advice from you all on the best way to handle this scenario.

Hey @devtesting492

Thanks for your feedback.

It seems this happens because I didn’t call startAudio() initially — is that why there’s no sound output?

Yes.

My intention is to mute the user’s mic by default ,

The stream.startAudio method provides an option called mute, which allows the microphone to remain muted by default when connecting to the microphone and audio speaker.

Thanks
Vic