Skip to main content

listAudioInputDevices()

Lists all the connected microphones the user has

Lists all the connected microphones the user has

JavaScript
await meeting.listAudioInputDevices()

audioInputDevices will be an Array would have the following properties:

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

Audio Input Devices Audio Input Devices

info

Browser will request user to allow microphone

Allow Microphone

Allow Microphone

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