OptionalcameraCamera ID for the camera capturing the video, if not specified, use system default.
OptionalcaptureCustomized height of capture.
Note: Only applicable for specifying the custom height for cameras with resolutions that are not in the standard 16:9 or 4:3 aspect ratios. If you need HD (720P) or full HD (1080P) resolution, use the
hdorfullHdoptions.
OptionalcaptureCustomized width of capture.
Note: Only applicable for specifying the custom width for cameras with resolutions that are not in the standard 16:9 or 4:3 aspect ratios. If you need HD (720P) or full HD (1080P) resolution, use the
hdorfullHdoptions.
OptionalcustomSpecifies custom video constraints for the camera.
cameraId, captureWidth, captureHeight, fps, etc.stream.switchCamera will not carry over customVideoConstraints, as different cameras may have different capabilities.OptionalfpsSpecify the maximum frames per second (FPS) limitation. This is limited to between 10-30 FPS (inclusive). The default is 24 FPS.
OptionalfullDetermines whether capture 1080p video is enabled.
OptionalhdDetermines whether capture 720p video is enabled.
OptionalmaskMask option. Virtual background and mask are mutually exclusive, you can enable either virtual background or mask, not both.
OptionalmediaSpecify a media file as the video input.
OptionalmirroredDetermines whether self video is mirrored.
OptionaloriginalWhether to capture the video in the original ratio, the default is to crop the ratio to 16:9.
OptionalptzDetermines whether to enable Pan-Tilt-Zoom (PTZ) when capturing video.
OptionalvideoOptionalvirtualVirtual background options.
Optionalcropped?: booleanDetermines whether to crop the background image to an appropriate aspect ratio (16/9), default is false.
Image URL for the virtual background.
Capture video option interface.