Skip to main content
Manage audio and video devices during calls, including selecting microphones, speakers, and cameras.

Get Available Devices

Audio Input Devices (Microphones)

Get a list of available microphones:

Audio Output Devices (Speakers)

Get a list of available speakers:

Video Input Devices (Cameras)

Get a list of available cameras:

Get Current Device

Current Audio Input Device

Get the currently selected microphone:

Current Audio Output Device

Get the currently selected speaker:

Current Video Input Device

Get the currently selected camera:

Change Device

Set Audio Input Device

Switch to a different microphone:

Set Audio Output Device

Switch to a different speaker:

Set Video Input Device

Switch to a different camera:

Device Change Events

Device Selection Changed

Monitor when the selected device changes:

Available Devices Changed

Monitor when devices are connected or disconnected:

Settings Dialog

Open the built-in settings dialog for device selection:

Device Object

Each device object contains:
PropertyTypeDescription
deviceIdStringUnique identifier for the device
labelStringHuman-readable device name
kindStringDevice type (audioinput, audiooutput, videoinput)