Optional
cameraOptional
cameraid of the camera to start capture with. Get available cameras with cameras
.
You can switch the cameras later with switchCamera
functions.
Optional
flipwhether to flip the dimensions of the video, that is whether to film in vertical orientation. This basically switches width with height and is only used to select closes capture format.
To record horizontal video your phone orientation must be in landscape and your app must support this orientation.
Platform specific capture formats:
Optional
qualityresolution + 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.
whether the camera track is initially enabled, you can toggle it on/off later with toggleCamera method