selectAudioInputDevice

View as MarkdownOpen in Claude
1selectAudioInputDevice(device, options?): void

Selects the audio input device for future calls. Optionally saves as a preference.

Parameters

device
MediaDeviceInfoRequired

Device to select. See MediaDeviceInfo.

options
SelectDeviceOptions

Selection options, including whether to persist the choice. See SelectDeviceOptions.

Returns

void

Examples

1selfParticipant.selectAudioInputDevice(device, options);