The EncodedVideoFrameInfo class, which defines the format of the encoded video frame.
◆ codecType
int io.agora.rtc2.video.EncodedVideoFrameInfo.codecType |
The codec type.
- 1:
VIDEO_CODEC_VP8
.
- 2: (Default)
VIDEO_CODEC_H264
.
- 5:
VIDEO_CODEC_VP9
.
◆ width
int io.agora.rtc2.video.EncodedVideoFrameInfo.width |
◆ height
int io.agora.rtc2.video.EncodedVideoFrameInfo.height |
The height of this frame.
◆ framesPerSecond
int io.agora.rtc2.video.EncodedVideoFrameInfo.framesPerSecond |
The number of frames per second of this frame.
◆ frameType
int io.agora.rtc2.video.EncodedVideoFrameInfo.frameType |
The frame type:
- 0:
VIDEO_FRAME_TYPE_BLANK_FRAME
.
- 3:
VIDEO_FRAME_TYPE_KEY_FRAME
.
- 4:
VIDEO_FRAME_TYPE_DELTA_FRAME
.
- 5:
VIDEO_FRAME_TYPE_B_FRAME
.
- 6:
VIDEO_FRAME_TYPE_UNKNOWN
.
◆ rotation
int io.agora.rtc2.video.EncodedVideoFrameInfo.rotation |
The rotation information (clockwise) of this frame. Set it as 0, 90, 180 or 270.
◆ trackId
int io.agora.rtc2.video.EncodedVideoFrameInfo.trackId |
The track ID. This member is used for scenarios with multiple video tracks.
◆ renderTimeMs
long io.agora.rtc2.video.EncodedVideoFrameInfo.renderTimeMs |
The timestamp to render this frame.
◆ internalSendTs
long io.agora.rtc2.video.EncodedVideoFrameInfo.internalSendTs |
The timestamp to send this frame internally.
◆ uid
int io.agora.rtc2.video.EncodedVideoFrameInfo.uid |
ID of the user who sends this video.