|
Agora C++ API Reference for All Platforms
|
#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 () |
|
pure virtual |
|
virtual |
Create IVideoFrame
| 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.