selectAudioInputDevice
Sets the preferred audio input device.
Parameters
device
Device to select. Pass null to clear the current selection. See MediaDeviceInfo.
Returns
void
Examples
See
audioInputDevices$— list of available microphones.selectedAudioInputDevice$— reactive state of the currently selected device.deviceRecovered$— emits when the SDK auto-switches on hardware change.