Welcome to the new Daily Docs. Please let us know what you think.

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().