aws-samples / amazon-ivs-broadcast-ios-sample

MIT No Attribution
18 stars 11 forks source link

Audio Issue while Session broadcast. #38

Closed rishopbabu closed 1 year ago

rishopbabu commented 1 year ago

While broadcasting the session, even if I mute my audio, in the broadcasting my local audio is audible. Is there any solution for that team? Can you help me here. Thanks in Advance.

bclymer commented 1 year ago

I assume you are using the setMuted API on IVSLocalStageStream? As the name suggests, that only mutes the Stage stream and not the device itself. If you want to completely mute the device you can use IVSDevice.setGain(0) on your microphone. That will set the gain on the device itself, which impacts everything that receives data from that device.

rishopbabu commented 1 year ago

Thank you @bclymer.