true
id of the camera to start capture with. Get available cameras with getCaptureDevices()
.
You can switch the cameras later with flipCamera
/switchCamera
functions.
the first front camera
whether to flip the dimensions of the video, that is whether to film in vertical orientation.
true
bandwidth limit of a video track. By default there is no bandwidth limit.
resolution + aspect ratio of local video track, one of: QVGA_169
, VGA_169
, QHD_169
, HD_169
,
FHD_169
, QVGA_43
, VGA_43
, QHD_43
, HD_43
, FHD_43
. Note that quality might be worse than
specified due to device capabilities, internet connection etc.
VGA_169
SimulcastConfig of a video track. By default simulcast is disabled.
a map string -> any
containing video track metadata to be sent to the server.
Generated using TypeDoc
whether the camera track is initially enabled, you can toggle it on/off later with toggleCamera method