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
| readwritenonatomicassign

## ◆ width

- (int) width
| readwritenonatomicassign

The width of the Video frame.

## ◆ height

- (int) height
| readwritenonatomicassign

The height of the video frame.

## ◆ rotation

- (int) rotation
| readwritenonatomicassign

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

## ◆ renderTimeMs

- (int64_t) renderTimeMs
| readwritenonatomicassign

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
| readwritenonatomicassign

AgoraVideoFilterFrameType is AgoraVideoFilterFrameTypeCVPixelBuffer, shoud use pixelBuffer

## ◆ memPixelBuffer

- (AgoraMemPixelBuffer* _Nullable) memPixelBuffer
| readwritenonatomicstrong

AgoraVideoFilterFrameType is AgoraVideoFilterFrameTypeMemPixels, shoud use memPixelBuffer