This method is a wrapper around the OT.getAudioOutputDevices method.
The following code gets the available audio output devices:
const devices = await VideoExpress.getAudioOutputDevices();
Methods
Name | Description |
---|---|
(Promise<AudioOutputDevice[]>)
VideoExpress.getAudioOutputDevices
()
|
Enumerates the audio output devices (such as speakers) available to the browser.
The method returns a Promise which resolves an array of objects corresponding to
available audio output devices. Each object has two properties:
The
The Note: The browser may limit the number of returned audio output devices to one before the user has granted access to a camera or microphone. |