MicrophoneDeviceInfo

An audio output route: the earpiece, the loudspeaker, a wired headset or a Bluetooth headset. Microphones are never reported here.

Listed by VideoSDK.getMics and handed back unchanged to Room.setAudioDevice to switch the route, or by its deviceId to Room.changeMic.

Parameters

label

the name to show in a picker. Today it is the same string as DeviceInfo.deviceId.

deviceId

one of EARPIECE, SPEAKER_PHONE, WIRED_HEADSET or BLUETOOTH. An instance you built yourself with any other id is accepted but changes no routing.

Constructors

Link copied to clipboard
constructor(label: String, deviceId: String)