Skip to main content

listAudioOutputDevices()

Lists all the speakers / audio output devices user has

Works in Google Chrome, Safari and other Webkit browsers 👍
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.

PropertyDescription
deviceIddevice id of the speaker, you would have to pass this value to chooseAudioOutputDevice(deviceId)
groupIdIf the device is part of a group, like a speaker and microphone of a headphone would have the same groupId
labelName of Speaker, useful for displaying it to the user.