Agora RTC Objective-C API Reference Refactor

Properties
AgoraEncodedVideoFrameInfo Class Reference

Inherits <NSObject>.

## Properties
AgoraVideoCodecType | codecType
NSInteger | width
NSInteger | height
NSInteger | framesPerSecond
AgoraVideoFrameType | frameType
NSInteger | rotation
NSInteger | trackId
NSInteger | captureTimeMs
NSInteger | decodeTimeMs
AgoraVideoStreamType | streamType

## Property Documentation

## ◆ codecType

- (AgoraVideoCodecType) codecType
| read write nonatomic assign

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

## ◆ width

- (NSInteger) width
| read write nonatomic assign

Width (pixel) of the video frame.

## ◆ height

- (NSInteger) height
| read write nonatomic assign

Height (pixel) of the video frame.

## ◆ framesPerSecond

- (NSInteger) framesPerSecond
| read write nonatomic assign

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

- (AgoraVideoFrameType) frameType
| read write nonatomic assign

The video frame type. See `AgoraVideoFrameType`.

## ◆ rotation

- (NSInteger) rotation
| read write nonatomic assign

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

## ◆ trackId

- (NSInteger) trackId
| read write nonatomic assign

Reserved for future use.

## ◆ captureTimeMs

- (NSInteger) captureTimeMs
| read write nonatomic assign

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

## ◆ decodeTimeMs

- (NSInteger) decodeTimeMs
| read write nonatomic assign

This is a output parameter which means the timestamp for decoding the video.

## ◆ streamType

- (AgoraVideoStreamType) streamType
| read write nonatomic assign

The type of video streams. See `AgoraVideoStreamType`.