AgoraVideoEncodedFrame Class Reference

Inherits from NSObject
Declared in AgoraObjects.h

Overview

The local encoded video frame. (iOS only)

  codecType

The video codec type. See AgoraVideoCodecType.

@property (assign, nonatomic) AgoraVideoCodecType codecType

Declared In

AgoraObjects.h

  width

The width (px) of the video.

@property (assign, nonatomic) NSInteger width

Declared In

AgoraObjects.h

  height

The height (px) of the video.

@property (assign, nonatomic) NSInteger height

Declared In

AgoraObjects.h

  buffer

The video buffer.

@property (assign, nonatomic) void *buffer

Declared In

AgoraObjects.h

  length

The length (in bytes) of the video buffer.

@property (assign, nonatomic) NSUInteger length

Declared In

AgoraObjects.h

  frameType

The video frame type. See AgoraVideoEncodeType.

@property (assign, nonatomic) AgoraVideoEncodeType frameType

Declared In

AgoraObjects.h

  rotation

The clockwise rotation angle of the video frame. See AgoraVideoRotation.

@property (assign, nonatomic) AgoraVideoRotation rotation

Declared In

AgoraObjects.h

  renderTimeMs

The Unix timestamp (ms) when the video frame is rendered. This timestamp can be used to guide the rendering of the video frame. This parameter is required.

@property (assign, nonatomic) int64_t renderTimeMs

Declared In

AgoraObjects.h