Class 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 format
      int height
      Video frame height
      int rotation
      The rotation direction of the video frame, the SDK rotates clockwise
      int[] 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.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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
    • Constructor Detail

      • ZegoVideoFrameParam

        public ZegoVideoFrameParam()