#include <IAgoraMediaEngine.h>
The VideoEncodedFrame struct.
- Since
- v3.4.5
◆ VideoEncodedFrame()
agora::media::VideoEncodedFrame::VideoEncodedFrame |
( |
| ) |
|
|
inline |
◆ codecType
◆ width
int agora::media::VideoEncodedFrame::width |
The width (px) of the video.
◆ height
int agora::media::VideoEncodedFrame::height |
The height (px) of the video.
◆ buffer
const uint8_t* agora::media::VideoEncodedFrame::buffer |
The video buffer, which is in the DirectByteBuffer
data type.
◆ length
unsigned int agora::media::VideoEncodedFrame::length |
The length (in bytes) of the video buffer.
◆ frameType
◆ rotation
◆ renderTimeMs
int64_t agora::media::VideoEncodedFrame::renderTimeMs |
The Unix timestamp (ms) when the video frame is rendered. This timestamp can be used to guide the rendering of the video frame. This parameter is required.