im.zego.zegoexpress.entity.ZegoVideoFrameParam

Object for video frame fieldeter.

Declared in entity/ZegoVideoFrameParam.java

Public-Attrib Lists

  • format - Video frame format.
  • strides - Number of bytes per line (for example: RGBA only needs to consider strides [0], I420 needs to consider strides [0,1,2])
  • width - Video frame width.
  • height - Video frame height.
  • rotation - Video frame rotation.

Public-Attrib Docs

format

public ZegoVideoFrameFormat format ()

Video frame format.

strides

public final int[] strides ()

Initial: strides = new int[4]

Number of bytes per line (for example: RGBA only needs to consider strides [0], I420 needs to consider strides [0,1,2])

width

public int width ()

Video frame width.

height

public int height ()

Video frame height.

rotation

public int rotation ()

Video frame rotation.