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:| Property | Type | Description |
|---|---|---|
deviceId | String | Unique identifier for the device |
label | String | Human-readable device name |
kind | String | Device type (audioinput, audiooutput, videoinput) |