You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Element Call is implemented on our mobile platform via a one-fits-all widget approach. Web views on mobile platforms (Android, iOS) do not support properly selecting an audio output device from within the web view. Those mobile platforms "try" to find a "smart" auto selection.
Plan
In order to workaround the above constraints, on mobile we do not want to change the audio output/input via the web view, but instead do this all natively through the widget hosting native messenger app.
We still want that the control/change action of input/outbut audio lives in the widget / web view. In order to allow this we use js<->swift/cotlin web ffi calls.
Note the operating system can also change the audio input/output devices which is also signaled to the widget.
fkwp
changed the title
Configure native audio from ElementCall widget
Implement Native Audio Switching for Element Call Widget on iOS/Android
May 20, 2025
Uh oh!
There was an error while loading. Please reload this page.
Background
Element Call is implemented on our mobile platform via a one-fits-all widget approach. Web views on mobile platforms (Android, iOS) do not support properly selecting an audio output device from within the web view. Those mobile platforms "try" to find a "smart" auto selection.
Plan
In order to workaround the above constraints, on mobile we do not want to change the audio output/input via the web view, but instead do this all natively through the widget hosting native messenger app.
We still want that the control/change action of input/outbut audio lives in the widget / web view. In order to allow this we use js<->swift/cotlin web ffi calls.
Note the operating system can also change the audio input/output devices which is also signaled to the widget.
See FFI calls defined in: controlledOutput
The implementation wrt. Element Call widget is carried out in: #3270
Current state:
The text was updated successfully, but these errors were encountered: