element-x-android icon indicating copy to clipboard operation
element-x-android copied to clipboard

Element Call: unable to select any sound source other than loud speaker

Open daedric7 opened this issue 1 year ago • 6 comments

Steps to reproduce

  1. Start a call
  2. Open sound settings
  3. 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:

11695b9c-96e5-4018-8c64-98ec51cc5a15

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

daedric7 avatar Oct 08 '24 14:10 daedric7

I noticed that selecting the Bluetooth mic input automatically switches to Bluetooth output automatically.

davidegirardi avatar Oct 15 '24 06:10 davidegirardi

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.

archerallstars avatar Jan 31 '25 02:01 archerallstars

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.

jmartinesp avatar Apr 08 '25 13:04 jmartinesp

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?

bmarty avatar Apr 16 '25 15:04 bmarty

CC @fkwp to get Element Call POV on my last comment.

bmarty avatar Apr 17 '25 13:04 bmarty

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

fkwp avatar Apr 17 '25 17:04 fkwp