element-x-android
element-x-android copied to clipboard
Element Call: unable to select any sound source other than loud speaker
Steps to reproduce
- Start a call
- Open sound settings
- Notice several options for microphone (including bluetooth) but non for Speaker
Outcome
What did you expect?
A list of available sound sources
What happened instead?
Only a fixed option:
Your phone model
Pixel 8a
Operating system version
Android 14 stock
Application version and app store
Latest nightly as of this writing
Homeserver
Synapse 1.116 with slefhosted Element Call
Will you send logs?
Yes
Are you willing to provide a PR?
No
I noticed that selecting the Bluetooth mic input automatically switches to Bluetooth output automatically.
In my case, regardless of the mic I choose, the sound won't come out of my bluetooth headset.
Android 11 stock. Lenovo Tab P11.
Sorry for the very late reply, but I investigated this today and it's a limitation of the Android OS, and it doesn't seem like it'll get fixed any time soon as it was marked by Google as 'wont't fix': https://issues.chromium.org/issues/41276355.
Basically, the Android OS won't let the webview select a different audio output device, it'll just reuse whatever the OS decided was the right device to use for the communication audio mode. There is ongoing work to improve which device is selected and make it default to external devices if possible, so choosing a device still won't be possible but it's as much as we can do.
We can still offer the possibility for the user to select an audio output device, but this will have to be done on the native code, not in the webview. But since we have a bridge between the two worlds, there is probably a solution for this?
CC @fkwp to get Element Call POV on my last comment.
We can still offer the possibility for the user to select an audio output device, but this will have to be done on the native code, not in the webview. But since we have a bridge between the two worlds, there is probably a solution for this?
that is also my current understanding of "fixing" the issue. We tackle it with our next initiative -- which starts soonTM