react-native-webrtc IOS: Mic is enabled even if only consuming

59 views
Skip to first unread message

yagiz basaran

unread,
Aug 28, 2025, 3:52:19 PMAug 28
to discuss-webrtc

Hey,
I got the library to work 
('react-native-webrtc'), and I can receive an audio stream. But on iOS, the mic permission is turned on and I can see the orange dot in the top right corner of the screen saying it’s recording, but it shouldn’t. I just want to watch/listen to the stream, it should not be activated.

Any idea how to avoid this? I think it’s causing an issue with the sound quality, the sound is produced by the call speaker and not normal speakers. And when I use my bluetooth earphones, the sound quality is super low since it’s also using the bluetooth mic at the same time (even if I don’t use them).

Any idea?
Regards

Referenced: 
daavidaviid

Henrik Andreasson

unread,
Aug 29, 2025, 4:28:57 AMAug 29
to discuss...@googlegroups.com
It is WAI since WebRTC is designed for full-duplex as is but you can create your own ADM and change it if you like. See https://issues.webrtc.org/u/1/issues/42230897?pli=1.

FTR, the orange dot does not mean that audio is recorded but that the microphone device is opened. It will be enabled even if you mute the microphone. WebRTC does not implement a "deep mute" today where all recording resources are released when muted since it comes with drawbacks such as potential glitches when started again, risk for initial echo etc.

--
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/f050e273-fc54-4831-b446-6d2d4fbe7413n%40googlegroups.com.

yagiz basaran

unread,
Sep 1, 2025, 1:18:00 AMSep 1
to discuss-webrtc
Mr. Andreasson, thank you for your answer, I will look up to your suggestion as soon as possible. However, regarding to your second paragraph I've a follow up, I was testing on Zoom the other day. If Im not wrong Zoom also uses WebRTC architecture. Result is, when Im in a Zoom call and if I am not muted I see that orange indicator which is normal, but when I mute myself I see that orange dot is gone. I was wondering how did they achieve it and can I do something similar to that.
Yours sincerely,
Yagiz

29 Ağustos 2025 Cuma tarihinde saat 11:28:57 UTC+3 itibarıyla Henrik Andreasson şunları yazdı:

Henrik Andreasson

unread,
Sep 1, 2025, 4:09:47 AMSep 1
to discuss...@googlegroups.com
I can't say exactly how Zoom is implemented but I would assume that only their Web-based client uses pure WebRTC and that the native client has its own unique implementation.

Reply all
Reply to author
Forward
0 new messages