AgoraVideoEncodedFrame 类

Inherits from NSObject
Declared in AgoraObjects.h

概览

本地视频编码数据。(仅适用于 iOS 平台)

  codecType

视频编解码类型。详见 AgoraVideoCodecType

@property (assign, nonatomic) AgoraVideoCodecType codecType

Declared In

AgoraObjects.h

  width

视频的宽度 (px)。

@property (assign, nonatomic) NSInteger width

Declared In

AgoraObjects.h

  height

视频的高度 (px)。

@property (assign, nonatomic) NSInteger height

Declared In

AgoraObjects.h

  buffer

视频 buffer。

@property (strong, nonatomic) NSData *buffer

Declared In

AgoraObjects.h

  frameType

视频帧类型。详见 AgoraVideoEncodeType

@property (assign, nonatomic) AgoraVideoEncodeType frameType

Declared In

AgoraObjects.h

  rotation

视频帧顺时针旋转角度。详见 AgoraVideoRotation

@property (assign, nonatomic) AgoraVideoRotation rotation

Declared In

AgoraObjects.h

  renderTimeMs

视频帧被渲染时的 Unix 时间戳(毫秒)。该时间戳可用于指导渲染视频帧。该参数为必填。

@property (assign, nonatomic) int64_t renderTimeMs

Declared In

AgoraObjects.h