selectAudioOutputDevice
Sets the preferred audio output device.
Parameters
device
Device to select. Pass null to clear the current selection. See MediaDeviceInfo.
Returns
void
Examples
See
audioOutputDevices$— list of available speakers.selectedAudioOutputDevice$— reactive state.- Routing via
setSinkIdrequires browser support (Chromium yes, Firefox no).