mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-30 19:39:22 +00:00
more details in controls.md for onAudioPlaybackStarted
This commit is contained in:
@@ -21,3 +21,5 @@ On mobile platforms (iOS, Android), web views do not reliably support selecting
|
|||||||
This button is only shown on iOS. (`userAgent.includes("iPhone")`)
|
This button is only shown on iOS. (`userAgent.includes("iPhone")`)
|
||||||
- `controls.onAudioPlaybackStarted: ((id: string) => void) | undefined`: This will be called the first time we start
|
- `controls.onAudioPlaybackStarted: ((id: string) => void) | undefined`: This will be called the first time we start
|
||||||
playing audio in the webview. It can be helpful to do device setup on the native app when the webviews audio is ready.
|
playing audio in the webview. It can be helpful to do device setup on the native app when the webviews audio is ready.
|
||||||
|
In particular android is using it to setup the output channel so that the call volume can
|
||||||
|
be controlled by the hardware volume rocker.
|
||||||
|
|||||||
Reference in New Issue
Block a user