Browser SDK
Build voice, video and chat applications for the browser
v3
Deprecated
▸ updateCamera(constraints): Promise<void>
constraints
Promise<void>
Replaces the current camera stream with the one coming from a different device.
Specify the constraints that the device should satisfy. See MediaTrackConstraints.
1await roomDevice.updateCamera({2 deviceId: "/o4ZeWzroh+8q0Ds/CFfmn9XpqaHzmW3L/5ZBC22CRg=",3});