Agora C++ API Reference for All Platforms

Public Member Functions | Protected Member Functions | List of all members
agora::rtc::IVideoFrameMemoryPool Class Referenceabstract

Inherits agora::RefCountInterface.

Inherited by agora::rtc::IVideoFrameMemoryPoolEx.

## Public Member Functions
virtual agora::agora_refptr< IVideoFrame > | createVideoFrame (const VideoFrameData &data, const VideoFrameMetaDataType *metatypes=NULL, int count=0)=0
Public Member Functions inherited from agora::RefCountInterface
virtual void | AddRef () const =0
virtual RefCountReleaseStatus | Release () const =0
virtual bool | HasOneRef () const =0

## Protected Member Functions
virtual | ~IVideoFrameMemoryPool ()
Protected Member Functions inherited from agora::RefCountInterface
virtual | ~RefCountInterface ()

## Constructor & Destructor Documentation

## ◆ ~IVideoFrameMemoryPool()

virtual agora::rtc::IVideoFrameMemoryPool::~IVideoFrameMemoryPool | ( |  | ) |
| inline protected virtual

## Member Function Documentation

## ◆ createVideoFrame()

virtual agora::agora_refptr<IVideoFrame> agora::rtc::IVideoFrameMemoryPool::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