NERtc Windows SDK  V4.6.20
nertc_video_device_manager.h
浏览该文件的文档.
1 
7 #ifndef NERTC_VIDEO_DEVICE_MANAGER_H
8 #define NERTC_VIDEO_DEVICE_MANAGER_H
9 
10 #include "nertc_base_types.h"
11 #include "nertc_engine_defines.h"
13 
18 namespace nertc
19 {
31 {
32 protected:
33  virtual ~IVideoDeviceManager() {}
34 
35 public:
57 
113  virtual int setDevice(const char device_id[kNERtcMaxDeviceIDLength], NERtcVideoStreamType type = kNERTCVideoStreamMain) = 0;
114 
162 };
163 } //namespace nertc
164 
165 #endif
Definition: nertc_device_collection.h:32
Definition: nertc_video_device_manager.h:31
virtual int getDevice(char device_id[kNERtcMaxDeviceIDLength], NERtcVideoStreamType type=kNERTCVideoStreamMain)=0
virtual IDeviceCollection * enumerateCaptureDevices()=0
virtual int setDevice(const char device_id[kNERtcMaxDeviceIDLength], NERtcVideoStreamType type=kNERTCVideoStreamMain)=0
namespace nertc
NERtcVideoStreamType
Definition: nertc_engine_defines.h:5102
@ kNERTCVideoStreamMain
Definition: nertc_engine_defines.h:5111
The interface header file of NERTC SDK device NERTC SDK device collection. All parameter descriptions...
NERtc SDK definitions.
#define kNERtcMaxDeviceIDLength
Definition: nertc_engine_defines.h:55