Hello,
I've recently updated my version of WebRTC from M104 (5112) to M126 (6478) and with that came some subtle changes to audio handling. One of the bigger issues I'm seeing in my project is that the Mic-in-use indicator for Android always shows while we have a stream negotiated, even if the local audio track is disabled and removed for the streams object.
Our flow looks like the following:
- Create a local audio track, add to the stream
- Generate local session description with local track so that we get send/receive
- set local audio track to disabled, remove local audio track from the stream until needed
In prior versions of WebRTC this properly communicated to the OS that we were not actively using the microphone. In M126 it appears whenever we send an SDP Answer with audio set to send/receive the mic-in-use icon will show until the session is killed.
Is there a known workaround for this behavior?
I appreciate any insight that may help me find a resolution for this. Thank you!