From fa0b5210fe26d533adf8f75ebd5b5d682dc84b97 Mon Sep 17 00:00:00 2001 From: Timo <16718859+toger5@users.noreply.github.com> Date: Thu, 22 May 2025 19:07:47 +0200 Subject: [PATCH] Update docs/controls.md Co-authored-by: Robin --- docs/controls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/controls.md b/docs/controls.md index e5469143..3417cd6e 100644 --- a/docs/controls.md +++ b/docs/controls.md @@ -16,6 +16,6 @@ On mobile platforms (iOS, Android), web views do not reliably support selecting It flags the device that should be used if the user selects earpiece mode. This should be the main stereo loudspeaker of the device. - `controls.onAudioDeviceSelect: ((id: string) => void) | undefined` Callback called whenever the user or application selects a new audio output. - `controls.setAudioDevice(id: string): void` Sets the selected audio device in Element Call's menu. This should be used if the OS decides to automatically switch to Bluetooth, for example. -- `controls.setAudioEnabled(enabled: boolean)` Enables/disables all audio output from the application. This can be useful for temporarily pausing audio while the controlling application is switching output devices. Output is enabled by default. +- `controls.setAudioEnabled(enabled: boolean)` Enables/disables all audio output from the application. Output is enabled by default. - `showNativeAudioDevicePicker: (() => void) | undefined`. Callback called whenever the user presses the output button in the settings menu. This button is only shown on iOS. (`userAgent.includes("iPhone")`)