Skip to content

Commit fa0b521

Browse files
toger5robintown
andauthored
Update docs/controls.md
Co-authored-by: Robin <robin@robin.town>
1 parent 9f84a5c commit fa0b521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ On mobile platforms (iOS, Android), web views do not reliably support selecting
1616
It flags the device that should be used if the user selects earpiece mode. This should be the main stereo loudspeaker of the device.
1717
- `controls.onAudioDeviceSelect: ((id: string) => void) | undefined` Callback called whenever the user or application selects a new audio output.
1818
- `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.
19-
- `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.
19+
- `controls.setAudioEnabled(enabled: boolean)` Enables/disables all audio output from the application. Output is enabled by default.
2020
- `showNativeAudioDevicePicker: (() => void) | undefined`. Callback called whenever the user presses the output button in the settings menu.
2121
This button is only shown on iOS. (`userAgent.includes("iPhone")`)

0 commit comments

Comments
 (0)