Browser SDK
Build voice, video and chat applications for the browser
v4
Stable
1deviceInfoToConstraints(deviceInfo): MediaTrackConstraints
Converts a MediaDeviceInfo to track constraints suitable for getUserMedia.
MediaDeviceInfo
getUserMedia
Device descriptor to convert, or null for unconstrained capture. See MediaDeviceInfo.
null
MediaTrackConstraints
1client.deviceInfoToConstraints(deviceInfo);