listAudioInputDevices()

Lists all the connected microphones the user has

Lists all the microphones connected to the user's device.

const audioInputDevices = await meeting.listAudioInputDevices()

audioInputDevices will be an Array would have the following properties:

Property

Description

deviceId

device id of the microphone, you would have to pass this value to the chooseAudioInputDevice(deviceId)

groupId

If the device is part of a group, like speaker and microphone of a headphone would have the same groupId

label

Name of Microphone, useful for displaying it to the user.

📘

Browser will request user to allow microphone

Only in Firefox, if the "Remember this decision" checkbox is not checked then the label property would be blank