#include <AgoraMediaBase.h>
The definition of the VideoFrame struct.
◆ VideoFrame()
| agora::VideoFrame::VideoFrame |
( |
| ) |
|
|
inline |
◆ avsync_type
| int agora::VideoFrame::avsync_type |
The type of audio-video synchronization.
◆ height
| int agora::VideoFrame::height |
The height of the video frame.
◆ renderTimeMs
| int64_t agora::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.
◆ rotation
| int agora::VideoFrame::rotation |
The clockwise rotation information of this frame. You can set it as 0, 90, 180 or 270.
◆ type
◆ uBuffer
| uint8_t* agora::VideoFrame::uBuffer |
The pointer to the U buffer in the YUV data.
◆ uStride
| int agora::VideoFrame::uStride |
The line span of U buffer in the YUV data.
◆ vBuffer
| uint8_t* agora::VideoFrame::vBuffer |
The pointer to the V buffer in the YUV data.
◆ vStride
| int agora::VideoFrame::vStride |
The line span of V buffer in the YUV data.
◆ width
| int agora::VideoFrame::width |
The width of the video frame.
◆ yBuffer
| uint8_t* agora::VideoFrame::yBuffer |
The pointer to the Y buffer in the YUV data.
◆ yStride
| int agora::VideoFrame::yStride |
The line span of Y buffer in the YUV data.
The documentation for this struct was generated from the following file: