setOutputDeviceAsync({ outputDeviceId })
Prebuilt
Custom
Parameters
The ID of the audio output device to use, as returned by
enumerateDevices().Return value
Returns aPromise that resolves to a DailyDeviceInfos object:
Browser support
Firefox <116 and Safari <18.4 do not supportsetSinkId or listing audio output devices in enumerateDevices(). On these browsers, setOutputDeviceAsync() logs a warning and returns the device list with speaker set to {} — it does not throw.
For browsers that don’t report output devices, we recommend listing the speaker as “Default” and hiding any speaker-selection UI.