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 | ( |  | ) |
| inlineprotectedvirtual

## 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 virtualinherited

## ◆ Release()

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

## ◆ HasOneRef()

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