Configurations for the video track from the video captured by a camera. Set these configurations when calling AgoraRTC.createCameraVideoTrack.
Specifies the camera ID.
You can get a list of the available cameras by calling AgoraRTC.getCameras.
Whether to user the front camera or the rear camera.
You can use this parameter to choose between the front camera and the rear camera on a mobile device:
"user": The front camera.
"environment": The rear camera.
Transmission optimization mode. Whether to prioritize video quality or smoothness:
"detail": Prioritizes video quality.
"motion": Prioritizes video smoothness.
Note: This method is only supported on Chrome.