Agora RTC Objective-C API Reference Refactor

Data Fields
EncodedVideoFrameInfo Struct Reference

## 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
VIDEO_STREAM_TYPE | streamType

## Constructor & Destructor Documentation

## ◆ EncodedVideoFrameInfo() [1/2]

EncodedVideoFrameInfo | ( |  | ) |
| inline

## ◆ EncodedVideoFrameInfo() [2/2]

EncodedVideoFrameInfo | ( | const EncodedVideoFrameInfo & | rhs | ) |
| inline

## Member Function Documentation

## ◆ operator=()

EncodedVideoFrameInfo& operator= | ( | const EncodedVideoFrameInfo & | rhs | ) |
| inline

## Field Documentation

## ◆ codecType

VIDEO_CODEC_TYPE codecType

The codec type of the local video stream. See `VIDEO_CODEC_TYPE`. The default value is `VIDEO_CODEC_H264 (2)`.

## ◆ width

int width

Width (pixel) of the video frame.

## ◆ height

int height

Height (pixel) of the video frame.

## ◆ framesPerSecond

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 externally encoded video frames.

## ◆ frameType

VIDEO_FRAME_TYPE frameType

The video frame type. See `VIDEO_FRAME_TYPE`.

## ◆ rotation

VIDEO_ORIENTATION rotation

The rotation information of the video frame. See `VIDEO_ORIENTATION`.

## ◆ trackId

int trackId

Reserved for future use.

## ◆ captureTimeMs

int64_t captureTimeMs

The Unix timestamp (ms) for capturing the external encoded video frames.

## ◆ decodeTimeMs

int64_t decodeTimeMs

The Unix timestamp (ms) for decoding the external encoded video frames.

## ◆ streamType

VIDEO_STREAM_TYPE streamType

The type of video streams. See `VIDEO_STREAM_TYPE`.

## ◆ presentationMs

int64_t presentationMs