This method is a wrapper around the OT.setAudioOutputDevice method.
The following code sets the new audio output device:
await VideoExpress.setAudioOutputDevice('28b0f16326c');
Methods
Name | Description |
---|---|
(Promise<void>)
VideoExpress.setAudioOutputDevice
(deviceId: string)
|
Sets the new audio output device. The method returns a Promise which resolves when the operation completes successfully. If there is an error, the promise is rejected. |