-
Notifications
You must be signed in to change notification settings - Fork 201
fix: Improve speaker switching logic for iOS. #692
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
Conversation
|
As I see |
|
@petodavid , fixed in this PR. |
|
@cloudwebrtc I set it up here, too. No |
I solved the problem and I found that: This will allow you to use the speaker normally |
Refer to swift sdk for improvement. By default,
setSpeakerphoneOn(true |false);will switch betweenReceiverorSpeaker. It will still give priority to wiredwired/bluetoothheadphones if connected.But you can ignore all
wired/bluetoothheadphones and force them to output from the speaker throughforceSpeakerOutput: true.