The definition of the VideoFrame struct.
◆ VideoFrame()
agora::media::base::VideoFrame::VideoFrame |
( |
| ) |
|
|
inline |
◆ type
◆ width
int agora::media::base::VideoFrame::width |
The width of the video frame.
◆ height
int agora::media::base::VideoFrame::height |
The height of the video frame.
◆ yStride
int agora::media::base::VideoFrame::yStride |
The line span of Y buffer in the YUV data.
◆ uStride
int agora::media::base::VideoFrame::uStride |
The line span of U buffer in the YUV data.
◆ vStride
int agora::media::base::VideoFrame::vStride |
The line span of V buffer in the YUV data.
◆ yBuffer
uint8_t* agora::media::base::VideoFrame::yBuffer |
The pointer to the Y buffer in the YUV data.
◆ uBuffer
uint8_t* agora::media::base::VideoFrame::uBuffer |
The pointer to the U buffer in the YUV data.
◆ vBuffer
uint8_t* agora::media::base::VideoFrame::vBuffer |
The pointer to the V buffer in the YUV data.
◆ rotation
int agora::media::base::VideoFrame::rotation |
The clockwise rotation information of this frame. You can set it as 0, 90, 180 or 270.
◆ renderTimeMs
int64_t agora::media::base::VideoFrame::renderTimeMs |
The timestamp to render the video stream. Use this parameter for audio-video synchronization when rendering the video.
- Note
- This parameter is for rendering the video, not capturing the video.
◆ avsync_type
int agora::media::base::VideoFrame::avsync_type |
The type of audio-video synchronization.
◆ metadata_buffer
uint8_t* agora::media::base::VideoFrame::metadata_buffer |
[Texture related parameter] The MetaData buffer. The default value is NULL
◆ metadata_size
int agora::media::base::VideoFrame::metadata_size |
[Texture related parameter] The MetaData size. The default value is 0