Public Attributes | |
VIDEO_FRAME_TYPE | type |
int | width |
int | height |
int | yStride |
int | uStride |
int | vStride |
void * | yBuffer |
void * | uBuffer |
void * | vBuffer |
int | rotation |
int64_t | renderTimeMs |
int | avsync_type |
Video frame information. The video data format is YUV420. The buffer provides a pointer to a pointer. The interface cannot modify the pointer of the buffer, but can modify the content of the buffer only.
VIDEO_FRAME_TYPE agora::media::IVideoFrameObserver::VideoFrame::type |
int agora::media::IVideoFrameObserver::VideoFrame::width |
Video pixel width.
int agora::media::IVideoFrameObserver::VideoFrame::height |
Video pixel height.
int agora::media::IVideoFrameObserver::VideoFrame::yStride |
Line span of the Y buffer within the YUV data.
int agora::media::IVideoFrameObserver::VideoFrame::uStride |
Line span of the U buffer within the YUV data.
int agora::media::IVideoFrameObserver::VideoFrame::vStride |
Line span of the V buffer within the YUV data.
void* agora::media::IVideoFrameObserver::VideoFrame::yBuffer |
Pointer to the Y buffer pointer within the YUV data.
void* agora::media::IVideoFrameObserver::VideoFrame::uBuffer |
Pointer to the U buffer pointer within the YUV data.
void* agora::media::IVideoFrameObserver::VideoFrame::vBuffer |
Pointer to the V buffer pointer within the YUV data.
int agora::media::IVideoFrameObserver::VideoFrame::rotation |
Set the rotation of this frame before rendering the video. Supports 0, 90, 180, 270 degrees clockwise.
int64_t agora::media::IVideoFrameObserver::VideoFrame::renderTimeMs |
The timestamp of the external audio frame. It is mandatory. You can use this parameter for the following purposes:
int agora::media::IVideoFrameObserver::VideoFrame::avsync_type |