Agora RTC Objective-C API Reference Refactor

Properties
AgoraEncodedVideoFrameInfo Class Reference

Inherits <NSObject>.

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

## Detailed Description

The configurations for the audio encoded freame.

## Property Documentation

## ◆ uid

- (NSInteger) uid
| read write nonatomic assign

ID of the user.

## ◆ codecType

- (AgoraVideoCodecType) codecType
| read write nonatomic assign

The video codec: #VIDEO_CODEC_TYPE.

## ◆ width

- (NSInteger) width
| read write nonatomic assign

The width (px) of the video.

## ◆ height

- (NSInteger) height
| read write nonatomic assign

The height (px) of the video.

## ◆ framesPerSecond

- (NSInteger) framesPerSecond
| read write nonatomic assign

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.

## ◆ frameType

- (AgoraVideoFrameType) frameType
| read write nonatomic assign

The frame type of the encoded video frame: #VIDEO_FRAME_TYPE.

## ◆ rotation

- (NSInteger) rotation
| read write nonatomic assign

The rotation information of the encoded video frame: #VIDEO_ORIENTATION.

## ◆ trackId

- (NSInteger) trackId
| read write nonatomic assign

The track ID of the video frame.

## ◆ captureTimeMs

- (NSInteger) captureTimeMs
| read write nonatomic assign

This is a input parameter which means the timestamp for capturing the video.

## ◆ 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 stream type of video frame.