|
Agora Java API Reference for Android
|
#include <AgoraBase.h>
Public Member Functions | |
| EncodedVideoFrameInfo (const EncodedVideoFrameInfo &rhs) | |
| EncodedVideoFrameInfo & | operator= (const EncodedVideoFrameInfo &rhs) |
Public Attributes | |
| uid_t | uid |
| 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 |
| VIDEO_STREAM_TYPE | streamType |
| int64_t | presentationMs |
The definition of the EncodedVideoFrameInfo struct, which contains the information of the external encoded video frame.
| uid_t agora::rtc::EncodedVideoFrameInfo::uid |
ID of the user that pushes the the external encoded video frame..
| 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_H265 (3).
| 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.
| VIDEO_STREAM_TYPE agora::rtc::EncodedVideoFrameInfo::streamType |
The stream type of video frame.
1.8.18