-
Notifications
You must be signed in to change notification settings - Fork 49
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
Audio output device is not switching to built-in speaker in android 13 One plus 10 Pro and real me 9 #588
Comments
@PatelJa02 I am also facing the same issue while integrating the Bluetooth device and the built-in speaker. |
Hello @pragadeeshNIS , I have integrated the connectionservice in chime, So to manage the audio route use below function if you have integrated self managed connection service ConnectionService()#setAudioRoute(route:Int). This will fix the issue. |
@PatelJa02 thanks for the support. I will check it out. |
Thanks for reporting the issue, will look into and post updates. In the meantime, might try @yanpatel's workaround. |
I am having same issue with tablet, |
If you're using a self-managed ConnectionService, you might be able to resolve this issue by explicitly managing the audio route using the setAudioRoute(route: Int) method. |
I am not using self managed. I am using the same as provided in sample. Only for this model i am not able to get audio on both speaker as well as headset. Wll this val selected = audioClientController.setRoute(route) is coming as true but still audio is not coming. here route for speaker is going as 2 which is AudioClient.SPK_STREAM_ROUTE_SPEAKER. And for headset is is going as 0 as AudioClient.SPK_STREAM_ROUTE_RECEIVER. |
Do you have the impemetation for your solution setAudioRoute(route: Int) |
Audio output device is not switching to build in speaker
Upon selecting the built in speaker in android 13, currently audio output is not changing.
AudioVideoFacade instance's active device actually resets to handset even after setting different device by "chooseAudioDevice" method.
Below is the link of video:
Link: https://stack.rishabhsoft.com/pydio/public/dbfc59fd2ea08d4
As shown in video, the output of audio is set to handset, upon changing the same, it is auto setting to handset.
Steps to reproduce the behavior:
Expected behavior :
Built in speaker should be selected and audio should be moved on speaker.
Logs : Please check the below link for logs :
https://stack.rishabhsoft.com/pydio/public/1d66414dd47b652
Test environment Info :
The text was updated successfully, but these errors were encountered: