selectVideoInputDevice
Sets the preferred video input device.
Parameters
device
Device to select. Pass null to clear the current selection. See MediaDeviceInfo.
Returns
void
Examples
See
videoInputDevices$— list of available cameras.selectedVideoInputDevice$— reactive state.deviceRecovered$— auto-switch events.