ZegoVideoFrameParam
ZegoVideoFrameParam
Object for video frame fieldeter.
Details
Including video frame format, width and height, etc.
Declared in entity/ZegoVideoFrameParam.java
Properties
format
strides
strides
final public int[] stridesNumber 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 widthVideo 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 heightVideo frame height
rotation
rotation
public int rotationThe rotation direction of the video frame, the SDK rotates clockwise
