Agora C++ API Reference for All Platforms

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

Inherits agora::rtc::IVideoFrameMemoryPool.

## Public Member Functions
virtual agora::agora_refptr< IVideoFrame > | createVideoFrame (const ::rtc::scoped_refptr< webrtc::VideoFrameBuffer > &internal_buffer, int64_t timestamp, int64_t ntp_timestamp, webrtc::VideoRotation rotation)=0
virtual agora::agora_refptr< IVideoFrame > | createVideoFrame (const VideoFrameData &data, const VideoFrameMetaDataType *metatypes=NULL, int count=0)=0
Public Member Functions inherited from agora::rtc::IVideoFrameMemoryPool
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

## Additional Inherited Members
Protected Member Functions inherited from agora::rtc::IVideoFrameMemoryPool
virtual | ~IVideoFrameMemoryPool ()
Protected Member Functions inherited from agora::RefCountInterface
virtual | ~RefCountInterface ()

## Member Function Documentation

## ◆ createVideoFrame() [1/2]

virtual agora::agora_refptr<IVideoFrame> agora::rtc::IVideoFrameMemoryPoolEx::createVideoFrame | ( | const ::rtc::scoped_refptr< webrtc::VideoFrameBuffer > & | internal_buffer,
|  | int64_t | timestamp,
|  | int64_t | ntp_timestamp,
|  | webrtc::VideoRotation | rotation
| ) |  |
| pure virtual

## ◆ createVideoFrame() [2/2]

virtual agora::agora_refptr<IVideoFrame> agora::rtc::IVideoFrameMemoryPool::createVideoFrame

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