updateCamera
updateCamera
▸ updateCamera(constraints): Promise<void>
Replaces the current camera stream with the one coming from a different device.
Parameters
constraints
Specify the constraints that the device should satisfy. See MediaTrackConstraints.
Returns
Promise<void>