Media Player Kit v1.3.0 API Reference for Windows
|
Public Attributes | |
VIDEO_PIXEL_FORMAT | type |
int | width |
int | height |
int | yStride |
int | uStride |
int | vStride |
uint8_t * | yBuffer |
uint8_t * | uBuffer |
uint8_t * | vBuffer |
int | rotation |
int64_t | renderTimeMs |
int | avsync_type |
The detailed information of the incoming video frame.
VIDEO_PIXEL_FORMAT agora::media::base::VideoFrame::type |
The pixel format of the video frame. See VIDEO_PIXEL_FORMAT
int agora::media::base::VideoFrame::width |
The width (pixel) of the video.
int agora::media::base::VideoFrame::height |
The height (pixel) of the video.
int agora::media::base::VideoFrame::yStride |
The line stride of the Y buffer in the YUV data.
int agora::media::base::VideoFrame::uStride |
The line stride of the U buffer in the YUV data.
int agora::media::base::VideoFrame::vStride |
The line stride of the V buffer in the YUV data.
uint8_t* agora::media::base::VideoFrame::yBuffer |
The Y buffer in the YUV data.
uint8_t* agora::media::base::VideoFrame::uBuffer |
The U buffer in the YUV data.
uint8_t* agora::media::base::VideoFrame::vBuffer |
The V buffer in the YUV data.
int agora::media::base::VideoFrame::rotation |
Sets the rotation angle of the video frame before rendering.
You can set the angle as 0, 90, 180, or 270.
int64_t agora::media::base::VideoFrame::renderTimeMs |
The timestamp of the incoming video frame.
int agora::media::base::VideoFrame::avsync_type |
The reserved parameter.