[IOS] Audio sometimes doesn't work when used with WebRTC connection
See original GitHub issueHI.
I’m building an app and have some issue. Here is my scenario.
// Establish WebRTC Connection
InCallManager.start({ media: 'video', auto: true });
// Communicate through RTC Connection
// After all communications done
InCallManager.stop();
// Re-establish WebRTC Connection
InCallManager.start({ media: 'video', auto: true });
Here is problem. When I re-establish the connection and start InCallManager again, the Audio doesn’t works at all, i.e. Mic input and Speaker output.
My assumption is due to IOS AVAudioSession, because WebRTC assumes that it’s the only one controls AVAudioSession which is implemented as a singleton.
Am I right? and how can I fix it? (or do you have any plan for fixing it?)
React-Native-IncallManager Version : v3.3.0 libWebRTC : M84
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:13
Top Results From Across the Web
iOS 15 Safari WebRTC Issue | Apple Developer Forums
We're encountering an issue on the iOS 15 Beta when establishing a WebRTC connection through Safari, where we are not receiving the remote...
Read more >180748 – Audio sometimes fail to capture in WebRTC
Steps to reproduce: 1. On an iPad, go to https://webrtc.github.io/samples/ 2. Select sample "Audio-only getUserMedia() output to local audio ...
Read more >iOS Audio not working during call answered when phone is ...
As I mentioned, I am using WebRTC for calling. If I exchange the media streams after the user answers the call( still on...
Read more >iOS audio device layer failure with bluetooth headset - webrtc
Use a bluetooth headset on an iPhone 6S with WebRTC @ ... I have assigned the issue to myself but will not be...
Read more >Ios, audio output management problem - React Native WebRTC
And if there is a bluetooth connection, switch audio on the bluetooth device. For that I use react-native-incall-manager, on android everything ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue. When I start a second call after close the first, I don’t have sound…
@jsellam we have exactly this problem as well, anyone has an update on solutions/workarounds?