Class ZegoVideoEncodedFrameParam


  • public class ZegoVideoEncodedFrameParam
    extends java.lang.Object
    Object for video encoded frame fieldeter. Including video encoded frame format, width and height, etc.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      ZegoVideoEncodedFrameFormat format
      Video encoded frame format
      int height
      Video frame height
      boolean isKeyFrame
      Whether it is a keyframe
      int rotation
      Video frame counterclockwise rotation angle
      java.nio.ByteBuffer SEIData
      SEI data (Optional, if you don't need to send SEI, set it to null.
      int SEIDataLength
      Length of the SEI data (Optional, if you don't need to send SEI, set it to 0.
      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

      • isKeyFrame

        public boolean isKeyFrame
        Whether it is a keyframe
      • rotation

        public int rotation
        Video frame counterclockwise rotation angle
      • width

        public int width
        Video frame width
      • height

        public int height
        Video frame height
      • SEIData

        public java.nio.ByteBuffer SEIData
        SEI data (Optional, if you don't need to send SEI, set it to null. Deprecated, use [sendSEI] instead). Useful when set format as [AVCC] or [AnnexB]
      • SEIDataLength

        public int SEIDataLength
        Length of the SEI data (Optional, if you don't need to send SEI, set it to 0. Deprecated, use [sendSEI] instead). Useful when set format as [AVCC] or [AnnexB]
    • Constructor Detail

      • ZegoVideoEncodedFrameParam

        public ZegoVideoEncodedFrameParam()