Agora RTC Objective-C API Reference Refactor

Public Member Functions
IVideoFrameMemoryPool Class Referenceabstract

Inherits RefCountInterface.

## Public Member Functions
virtual agora::agora_refptr< IVideoFrame > | createVideoFrame (const VideoFrameData &data, const VideoFrameMetaDataType *metatypes=NULL, int count=0)=0

## Constructor & Destructor Documentation

## ◆ ~IVideoFrameMemoryPool()

virtual ~IVideoFrameMemoryPool | ( |  | ) |
| inline protected virtual

## Member Function Documentation

## ◆ createVideoFrame()

virtual agora::agora_refptr<IVideoFrame> createVideoFrame | ( | const VideoFrameData & | data,
|  | const VideoFrameMetaDataType * | metatypes = `NULL`,
|  | int | count = `0`
| ) |  |
| pure virtual

Create IVideoFrame

Parameters

  data | video frame data of the new video frame
  metatypes | pointer to the array of meta types
  count | number of the meta types in the array

## ◆ AddRef()

virtual void AddRef | ( |  | ) | const
| pure virtual inherited

## ◆ Release()

virtual RefCountReleaseStatus Release | ( |  | ) | const
| pure virtual inherited

## ◆ HasOneRef()

virtual bool HasOneRef | ( |  | ) | const
| pure virtual inherited