Microphone In-Use icon on Android OS - behavior change?

148 views
Skip to first unread message

Jeff Cardillo

unread,
Jan 23, 2025, 11:27:24 AM1/23/25
to discuss-webrtc
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!

Philipp Hancke

unread,
Jan 24, 2025, 12:09:23 AM1/24/25
to discuss...@googlegroups.com
you are probably looking at https://issues.webrtc.org/issues/42226291

--
This list falls under the WebRTC Code of Conduct - https://webrtc.org/support/code-of-conduct.
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/discuss-webrtc/8de5aba8-c868-48c7-9fe0-7ef625afb4dcn%40googlegroups.com.

Jeff Cardillo

unread,
Jan 24, 2025, 8:44:14 PM1/24/25
to discuss-webrtc
Thank you again, Philipp, this resource has been very helpful. Just to close the loop on this, I reverted out the suspected culprit patch and have confirmed that the issue I was seeing goes away with the commit removed from M126/6478.
Reply all
Reply to author
Forward
0 new messages