VideoFormat

The format of the video frame.

public VideoFormat()
        {
            width = (int)FRAME_WIDTH.FRAME_WIDTH_640;
            height = (int)FRAME_HEIGHT.FRAME_HEIGHT_360;
            fps = (int)FRAME_RATE.FRAME_RATE_FPS_15;
        }

        public VideoFormat(int w, int h, int f)
        {
            this.width = w;
            this.height = h;
            this.fps = f;
        }
        public int width { set; get; }
        public int height { set; get; }
        public int fps { set; get; }
    };

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.