AgoraVideoDataFrame Class Reference

Inherits from NSObject
Declared in AgoraObjects.h

Overview

The video frame. (iOS only)

  frameType

The color video format. See AgoraVideoFrameType.

@property (assign, nonatomic) AgoraVideoFrameType frameType

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

  yStride

For YUV data, the line span of the Y buffer; for RGBA data, the total data length.

@property (assign, nonatomic) NSInteger yStride

Declared In

AgoraObjects.h

  uStride

For YUV data, the line span of the U buffer; for RGBA data, the value is 0.

@property (assign, nonatomic) NSInteger uStride

Declared In

AgoraObjects.h

  vStride

For YUV data, the line span of the V buffer; for RGBA data, the value is 0.

@property (assign, nonatomic) NSInteger vStride

Declared In

AgoraObjects.h

  yBuffer

For YUV data, the pointer to the Y buffer; for RGBA data, the data buffer.

@property (assign, nonatomic) void *yBuffer

Declared In

AgoraObjects.h

  uBuffer

For YUV data, the pointer to the U buffer; for RGBA data, the value is 0.

@property (assign, nonatomic) void *uBuffer

Declared In

AgoraObjects.h

  vBuffer

For YUV data, the pointer to the V buffer; for RGBA data, the value is 0.

@property (assign, nonatomic) void *vBuffer

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

  avsync_type

Reserved parameter.

@property (assign, nonatomic) NSInteger avsync_type

Declared In

AgoraObjects.h