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
readwritenonatomicassign

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

◆ width

- (NSInteger) width
readwritenonatomicassign

Width (pixel) of the video frame.

◆ height

- (NSInteger) height
readwritenonatomicassign

Height (pixel) of the video frame.

◆ framesPerSecond

- (NSInteger) framesPerSecond
readwritenonatomicassign

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
readwritenonatomicassign

The video frame type. See AgoraVideoFrameType.

◆ rotation

- (NSInteger) rotation
readwritenonatomicassign

The rotation information of the video frame. See AgoraVideoRotation.

◆ trackId

- (NSInteger) trackId
readwritenonatomicassign

Reserved for future use.

◆ captureTimeMs

- (NSInteger) captureTimeMs
readwritenonatomicassign

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

◆ decodeTimeMs

- (NSInteger) decodeTimeMs
readwritenonatomicassign

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

◆ streamType

- (AgoraVideoStreamType) streamType
readwritenonatomicassign

The type of video streams. See AgoraVideoStreamType.