Updates the local camera stream with the camera identified by the deviceId argument. The deviceId argument should match the deviceId value returned by enumerateDevices().

This method has no effect if the deviceId argument passed matches that of the camera already in use.

Since enumerateDevices() classifies the cameras' facing value as being "user" or "environment", setCamera() can be used to alternate between the mobile device's front or rear-facing cameras.

setCamera() returns a Promise that resolves with data about the camera device.

This method can only be invoked after the video is already unmuted.