Agora Java API Reference for Android
Public Member Functions | List of all members
agora::rtc::IVideoFrameMemoryPool Class Referenceabstract
Inheritance diagram for agora::rtc::IVideoFrameMemoryPool:
agora::RefCountInterface

Public Member Functions

virtual agora::agora_refptr< IVideoFramecreateVideoFrame (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
 

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
datavideo frame data of the new video frame
metatypespointer to the array of meta types
countnumber of the meta types in the array