-
Notifications
You must be signed in to change notification settings - Fork 154
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
[bug] Unable to switch between earpiece & speaker #603
Comments
I am having the same issue with speaker usage |
We are also having same issue with flutter version 3.22.0 and livekit_client: ^2.2.6 |
Hi @cloudwebrtc Are there any plans to fix this, as it's such a critical issue? |
Sorry, I just saw this, trying to fix it. |
@rahulraj-idt fixed it, tested and can switch the handset and speaker correctly. |
@cloudwebrtc It fixes the issue on android. But this still doesn't work on iOS. |
@cloudwebrtc on iOS, the speaker is always on and |
ah, okay, let me check it. |
Hello @cloudwebrtc |
fixed #617 |
@cloudwebrtc In the fix here, you set the |
Yes, you are right, so I guess this is the final solution.
|
Hi, your demo still has this problem on iOS. |
hi @std-s, please try v2.3.4+hotfix.1, I believe the issue has been fixed |
There is a critical issue where the audio is only coming through the speaker. Additionally,
Hardware.instance.canSwitchSpeakerphone
is alwaysfalse
, andHardware.instance.setSpeakerphoneOn(false)
has no effect on iOS.Similarly, On Android, setting
room.setAudioOutputDevice('earpiece')
also has no effect.This functionality used to work in version 2.1.3
To Reproduce
This issue is easy to reproduce by running the example app and attempting to switch to the earpiece on Android. On iOS, the button to switch to the speaker is disabled.
Expected behavior
Should be able to switch between earpiece & speaker.
Platform information
iOS - 17.6.1, Android - 13
Flutter 3.24.3
livekit_client: ^2.2.6
The text was updated successfully, but these errors were encountered: