The definition of the EncodedVideoFrameInfo struct.
◆ EncodedVideoFrameInfo() [1/2]
agora::rtc::EncodedVideoFrameInfo::EncodedVideoFrameInfo |
( |
| ) |
|
|
inline |
◆ EncodedVideoFrameInfo() [2/2]
◆ codecType
◆ width
int agora::rtc::EncodedVideoFrameInfo::width |
The width (px) of the video.
◆ height
int agora::rtc::EncodedVideoFrameInfo::height |
The height (px) of the video.
◆ framesPerSecond
int agora::rtc::EncodedVideoFrameInfo::framesPerSecond |
The number of video frames per second. This value will be used for calculating timestamps of the encoded image. If framesPerSecond equals zero, then real timestamp will be used. Otherwise, timestamp will be adjusted to the value of framesPerSecond set.
◆ frameType
◆ rotation
◆ trackId
int agora::rtc::EncodedVideoFrameInfo::trackId |
The track ID of the video frame.
◆ renderTimeMs
int64_t agora::rtc::EncodedVideoFrameInfo::renderTimeMs |
The timestamp for rendering the video.
◆ internalSendTs
uint64_t agora::rtc::EncodedVideoFrameInfo::internalSendTs |
Use this timestamp for audio and video sync. You can get this timestamp from the OnEncodedVideoImageReceived
callback when encodedFrameOnly
is true
.
◆ uid
uid_t agora::rtc::EncodedVideoFrameInfo::uid |
◆ streamType
The stream type of video frame.