-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using AVAudioSession overrideOutput to speaker causes WebRTC to malfunction #289
Comments
Do you lose the override or do you lose audio completely? |
I lost the audio completely so I don't know if I lost the override too.
I wonder if you have the same issue too, @saghul . Thank you! |
Others may also reply. |
The problem is that libwebrtc (which this plugin is based on) assumed nobody else was changing the AVAudioSession configuration other than itself, until M59. Once we update the library, all those problems will (hopefully) go away, but it's not an easy feat. |
Oh, and no, we have no ETA for when the update will happen. |
|
I will implement AVAudioSession.interruptionNotification here Will be fixed via #399 on 6.0.0 |
This works.
|
I am using @saghul AudioRoute and also this plugin to set up a WebRTC p2p call. I have encountered this problem recently.
To reproduce this problem:
It doesn't happen if I don't toggle the speaker. Fyi, I have tried to listen to AVAudioSessionInterruption event and reset the audio but to no avail. Just wonder if anyone has seen the same problem.
The text was updated successfully, but these errors were encountered: