logo
On this page

ZegoVideoEncodedFrameParam

ZegoVideoEncodedFrameParam

Object for video encoded frame fieldeter.

Details

Including video encoded frame format, width and height, etc.

Declared in entity/ZegoVideoEncodedFrameParam.java

Properties

format

format

Video encoded frame format

isKeyFrame

isKeyFrame
public boolean isKeyFrame

Whether it is a keyframe

rotation

rotation
public int rotation

Video frame counterclockwise rotation angle

width

width
public int width

Video frame width

height

height
public int height

Video frame height

SEIData

SEIData
public 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

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]

isExternalClock

isExternalClock
public boolean isExternalClock

Whether to use the external timestamp completely. The default is false. When set to false, the SDK will adjust based on the timestamps of the audio frame and video frame to ensure audio-video synchronization. When set to true, the SDK does not adjust the timestamp and uses the external timestamp completely.

Previous

zegovideodenoiseparams

Next

zegovideoframeparam

On this page

Back to top