ZegoLiveRoom
Public Member Functions | List of all members
AVE::VideoCaptureDeviceBase::Client Class Referenceabstract

#include <video_capture.h>

Inheritance diagram for AVE::VideoCaptureDeviceBase::Client:
AVE::VideoCaptureDevice::Client

Public Member Functions

virtual ~Client ()
 
virtual void Destroy ()=0
 通知SDK销毁采集回调 More...
 
virtual void SetStatusReason (bool is_closed, int reason)=0
 
virtual void * GetInterface ()=0
 获取不同采集方式对应的回调接口 More...
 

Constructor & Destructor Documentation

◆ ~Client()

virtual AVE::VideoCaptureDeviceBase::Client::~Client ( )
inlinevirtual

Member Function Documentation

◆ Destroy()

virtual void AVE::VideoCaptureDeviceBase::Client::Destroy ( )
pure virtual

通知SDK销毁采集回调

Note
调用此方法后,将client对象置空即可,不要做delete操作

◆ GetInterface()

virtual void* AVE::VideoCaptureDeviceBase::Client::GetInterface ( )
pure virtual

获取不同采集方式对应的回调接口

Note
VideoCaptureDeviceBase::SupportBufferType返回PIXEL_BUFFER_TYPE_MEM时,GetInterface返回VideoCaptureCallback*
VideoCaptureDeviceBase::SupportBufferType返回PIXEL_BUFFER_TYPE_CV_PIXEL_BUFFER时,GetInterface返回VideoCaptureCVPixelBufferCallback*
VideoCaptureDeviceBase::SupportBufferType返回PIXEL_BUFFER_TYPE_SURFACE_TEXTURE时,GetInterface返回VideoCaptureSurfaceTextureCallback*
VideoCaptureDeviceBase::SupportBufferType返回PIXEL_BUFFER_TYPE_GL_TEXTURE_2D时,GetInterface返回VideoCaptureTextureCallback*
VideoCaptureDeviceBase::SupportBufferType返回PIXEL_BUFFER_TYPE_ENCODED_FRAME时,GetInterface返回VideoCaptureEncodedFrameCallback*
VideoCaptureDeviceBase::SupportBufferType返回PIXEL_BUFFER_TYPE_I422_MEM_FOR_HIGH422时,GetInterface返回VideoCaptureCallback*

Implemented in AVE::VideoCaptureDevice::Client.

◆ SetStatusReason()

virtual void AVE::VideoCaptureDeviceBase::Client::SetStatusReason ( bool  is_closed,
int  reason 
)
pure virtual

The documentation for this class was generated from the following file: