Agora RTC Objective-C API Reference Refactor

Properties
AgoraVideoFilterFrame Class Reference

Inherits <NSObject>.

## Properties
int | width
int | height
int | rotation
int64_t | renderTimeMs
CVPixelBufferRef _Nullable | pixelBuffer
AgoraMemPixelBuffer *_Nullable | memPixelBuffer

## Detailed Description

The class of AgoraExtVideoFrame.

## Property Documentation

## ◆ type

- (AgoraVideoFilterFrameType) type
| read write nonatomic assign

## ◆ width

- (int) width
| read write nonatomic assign

The width of the Video frame.

## ◆ height

- (int) height
| read write nonatomic assign

The height of the video frame.

## ◆ rotation

- (int) rotation
| read write nonatomic assign

The clockwise rotation information of this frame. You can set it as 0, 90, 180 or 270.

## ◆ renderTimeMs

- (int64_t) renderTimeMs
| read write nonatomic assign

The timestamp to render the video stream. Use this parameter for audio-video synchronization when rendering the video.

Note
  This parameter is for rendering the video, not capturing the video.

## ◆ pixelBuffer

- (CVPixelBufferRef _Nullable) pixelBuffer
| read write nonatomic assign

AgoraVideoFilterFrameType is AgoraVideoFilterFrameTypeCVPixelBuffer, shoud use pixelBuffer

## ◆ memPixelBuffer

- (AgoraMemPixelBuffer* _Nullable) memPixelBuffer
| read write nonatomic strong

AgoraVideoFilterFrameType is AgoraVideoFilterFrameTypeMemPixels, shoud use memPixelBuffer