Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | List of all members
agora::rtc::IVideoFrameMemoryPoolEx Class Referenceabstract

`#include <agora_video_frame_i.h>`

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::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 | ( | const VideoFrameData & | data,
|  | const VideoFrameMetaDataType * | metatypes = NULL,
|  | int | count = 0 )
| 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

Implements agora::rtc::IVideoFrameMemoryPool.