Package im.zego.zegoexpress.entity
Class ZegoVideoFrameParam
- java.lang.Object
-
- im.zego.zegoexpress.entity.ZegoVideoFrameParam
-
public class ZegoVideoFrameParam extends java.lang.Object
Object for video frame fieldeter. Including video frame format, width and height, etc.
-
-
Field Summary
Fields Modifier and Type Field Description ZegoVideoFrameFormat
format
Video frame formatint
height
Video frame heightint
rotation
The rotation direction of the video frame, the SDK rotates clockwiseint[]
strides
Number of bytes per line (for example: BGRA only needs to consider strides [0], I420 needs to consider strides [0,1,2])int
width
Video frame width.
-
Constructor Summary
Constructors Constructor Description ZegoVideoFrameParam()
-
-
-
Field Detail
-
format
public ZegoVideoFrameFormat format
Video frame format
-
strides
public final 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
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
public int height
Video frame height
-
rotation
public int rotation
The rotation direction of the video frame, the SDK rotates clockwise
-
-