setInputDevices()
setInputDevices({ audioDeviceId, videoDeviceId })
This method is deprecated. Please use setInputDevicesAsync()
which returns a Promise.
Switch to using a specific local audio device, video device, or both. Takes device id arguments that match ids returned by enumerateDevices()
.