Agora C++ API Reference for All Platforms
|
Public Member Functions | |
EncodedVideoFrameInfo () | |
EncodedVideoFrameInfo (const EncodedVideoFrameInfo &rhs) | |
EncodedVideoFrameInfo & | operator= (const EncodedVideoFrameInfo &rhs) |
Public Attributes | |
VIDEO_CODEC_TYPE | codecType |
int | width |
int | height |
int | framesPerSecond |
VIDEO_FRAME_TYPE | frameType |
VIDEO_ORIENTATION | rotation |
int | trackId |
int64_t | captureTimeMs |
int64_t | decodeTimeMs |
uid_t | uid |
VIDEO_STREAM_TYPE | streamType |
The definition of the EncodedVideoFrameInfo struct, which contains the information of the external encoded video frame.
|
inline |
|
inline |
|
inline |
VIDEO_CODEC_TYPE agora::rtc::EncodedVideoFrameInfo::codecType |
The codec type of the local video stream. See VIDEO_CODEC_TYPE. The default value is VIDEO_CODEC_H264 (2)
.
int agora::rtc::EncodedVideoFrameInfo::width |
The width (px) of the video frame.
int agora::rtc::EncodedVideoFrameInfo::height |
The height (px) of the video frame.
int agora::rtc::EncodedVideoFrameInfo::framesPerSecond |
The number of video frames per second. When this parameter is not 0, you can use it to calculate the Unix timestamp of the external encoded video frames.
VIDEO_FRAME_TYPE agora::rtc::EncodedVideoFrameInfo::frameType |
The video frame type: VIDEO_FRAME_TYPE.
VIDEO_ORIENTATION agora::rtc::EncodedVideoFrameInfo::rotation |
The rotation information of the video frame: VIDEO_ORIENTATION.
int agora::rtc::EncodedVideoFrameInfo::trackId |
The track ID of the video frame.
int64_t agora::rtc::EncodedVideoFrameInfo::captureTimeMs |
This is a input parameter which means the timestamp for capturing the video.
int64_t agora::rtc::EncodedVideoFrameInfo::decodeTimeMs |
The timestamp for decoding the video.
uid_t agora::rtc::EncodedVideoFrameInfo::uid |
ID of the user that pushes the the external encoded video frame..
VIDEO_STREAM_TYPE agora::rtc::EncodedVideoFrameInfo::streamType |
The stream type of video frame.