VideoConfig
Syntax
interface videoConfig {
resolution?: [number, number];
fill?: boolean;
}
Attributes
resolution
The resolution of the camera video input. If the specified resolution is not exactly supported, the closest resolution will be applied.
Default value: [1280, 720]
which means 720P.
fill
Specify whether the video stream fills the viewer.
Default value: false