listAudioOutputDevices()
Lists all the speakers / audio output devices user has
caution
This method is not supported in Firefox
List all the speakers connected to user's device.
JavaScript
const audioOutputDevices = await meeting.listAudioOutputDevices()
audioOutputDevices
will be an Array, and would have the following properties.
Property | Description |
---|---|
deviceId | device id of the speaker, you would have to pass this value to chooseAudioOutputDevice(deviceId) |
groupId | If the device is part of a group, like a speaker and microphone of a headphone would have the same groupId |
label | Name of Speaker, useful for displaying it to the user. |