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

#include <video_capture.h>

Public Member Functions

virtual ~VideoCaptureFactory ()
 
virtual VideoCaptureDeviceBaseCreate (const char *device_id)=0
 创建采集设备 More...
 
virtual void Destroy (VideoCaptureDeviceBase *vc)=0
 销毁采集设备 More...
 

Constructor & Destructor Documentation

◆ ~VideoCaptureFactory()

virtual AVE::VideoCaptureFactory::~VideoCaptureFactory ( )
inlinevirtual

Member Function Documentation

◆ Create()

virtual VideoCaptureDeviceBase * AVE::VideoCaptureFactory::Create ( const char *  device_id)
pure virtual

创建采集设备

Parameters
device_idSDK SetVideoDevice透传的参数
Note
SDK第一次StartPublish或者PlayStream时异步调用
一定要实现

◆ Destroy()

virtual void AVE::VideoCaptureFactory::Destroy ( VideoCaptureDeviceBase vc)
pure virtual

销毁采集设备

Parameters
vcCreate方法返回的采集对象
Note
SDK LogoutChannel时同步调用
一定要实现

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