rename everything to controlledMediaDevices to make it consistent with the actual name in the url parameters (controlledOutput is now only used for the hook that provides the output handle)

This commit is contained in:
Timo
2025-05-20 15:30:02 +02:00
parent 1cf11b91c1
commit a1759a46de
5 changed files with 9 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ A few aspects of Element Call's interface can be controlled through a global API
## Audio output devices
These functions must be used in conjunction with the `controlledOutput` URL parameter in order to have any effect.
These functions must be used in conjunction with the `controlledMediaDevices` URL parameter in order to have any effect.
- `controls.setAvailableOutputDevices(devices: { id: string, name: string, forEarpiece?: boolean, isEarpiece?: boolean isSpeaker?: boolean, isExternalHeadset?, boolean;}[]): void` Sets the list of available audio outputs. `forEarpiece` is used on ios only.
It flags the device that should be used if the user selects earpiece mode. This should be the main stereo loudspeaker of the device.