Agora Java API Reference for Android
|
#include <AgoraBase.h>
Public Member Functions | |
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 | renderTimeMs |
uint64_t | internalSendTs |
uid_t | uid |
VIDEO_STREAM_TYPE | streamType |
The definition of the EncodedVideoFrameInfo struct.
VIDEO_CODEC_TYPE agora::rtc::EncodedVideoFrameInfo::codecType |
The video codec: #VIDEO_CODEC_TYPE.
int agora::rtc::EncodedVideoFrameInfo::width |
The width (px) of the video.
int agora::rtc::EncodedVideoFrameInfo::height |
The height (px) of the video.
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.
VIDEO_FRAME_TYPE agora::rtc::EncodedVideoFrameInfo::frameType |
The frame type of the encoded video frame: #VIDEO_FRAME_TYPE.
VIDEO_ORIENTATION agora::rtc::EncodedVideoFrameInfo::rotation |
The rotation information of the encoded video frame: #VIDEO_ORIENTATION.
int agora::rtc::EncodedVideoFrameInfo::trackId |
The track ID of the video frame.
int64_t agora::rtc::EncodedVideoFrameInfo::renderTimeMs |
The timestamp for rendering the video.
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_t agora::rtc::EncodedVideoFrameInfo::uid |
ID of the user.
VIDEO_STREAM_TYPE agora::rtc::EncodedVideoFrameInfo::streamType |
The stream type of video frame.