logo
On this page

ZegoVideoFrameParam

ZegoVideoFrameParam

Object for video frame fieldeter.

Details

Including video frame format, width and height, etc.

Declared in entity/ZegoVideoFrameParam.java

Properties

format

format
public ZegoVideoFrameFormat format

Video frame format

strides

strides
final public int[] strides

Number of bytes per line (for example: BGRA only needs to consider strides [0], I420 needs to consider strides [0,1,2])

width

width
public int width

Video frame width. When use custom video capture, the video data meeting the 32-bit alignment can obtain the maximum performance. Taking BGRA as an example, width * 4 is expected to be multiple of 32.

height

height
public int height

Video frame height

rotation

rotation
public int rotation

The rotation direction of the video frame, the SDK rotates clockwise

Previous

zegovideoencodedframeparam

Next

zegovocalrangeparam

On this page

Back to top