setOutputDeviceAsync()
setOutputDeviceAsync({ outputDeviceId })
Compatibility:
Prebuilt
Custom
Sets the output device. Takes a device ID argument that matches an ID returned by enumerateDevices()
.
Returns a Promise which resolves with an object containing device info: