VideoFormat

The format of the video frame.

export class VideoFormat {
  
  width?: number;
  
  height?: number;
  
  fps?: number;
}

Attributes

width
The width (px) of the video frame. The default value is 960.
height
The height (px) of the video frame. The default value is 540.
fps
The video frame rate (fps). The default value is 15.