Agora RTC Objective-C API Reference
Refactor
|
Data Fields | |
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 codecType |
The codec type of the local video stream. See VIDEO_CODEC_TYPE. The default value is VIDEO_CODEC_H264 (2)
.
int width |
The width (px) of the video frame.
int height |
The height (px) of the video frame.
int 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 frameType |
The video frame type: VIDEO_FRAME_TYPE.
VIDEO_ORIENTATION rotation |
The rotation information of the video frame: VIDEO_ORIENTATION.
int trackId |
The track ID of the video frame.
int64_t captureTimeMs |
This is a input parameter which means the timestamp for capturing the video.
int64_t decodeTimeMs |
The timestamp for decoding the video.
uid_t uid |
ID of the user that pushes the the external encoded video frame..
VIDEO_STREAM_TYPE streamType |
The stream type of video frame.