ZDK
IVideoEndpointControl.h
1 #ifndef __IVIDEOENDPOINTCONTROL__
2 #define __IVIDEOENDPOINTCONTROL__
3 
4 #include "Types/CameraSensorLocation.h"
5 #include "IZHandle.h"
6 
7 namespace ZDK
8 {
9 
10 //# @abi(all) documentation
15 //# @abi(obj_c) skip_pool
16 class IVideoEndpointControl : public virtual ZDK::IZHandle
17 {
18 public:
19  //# @abi(all) documentation
37  virtual ZDK::Shared::Result SetFormat(int width, int height, float fps) = 0;
38 
39  //# @abi(all) documentation
54  virtual ZDK::Shared::Result SetBitrate(int value) = 0;
55 
56  //# @abi(all) documentation
67  virtual ZDK::Shared::Result StartCapture(bool hwdAcceleration) = 0;
68 
69  //# @abi(all) documentation
78  virtual ZDK::Shared::Result StopCapture() = 0;
79 
80  //# @abi(all) documentation
89  virtual ZDK::Shared::Result ToggleCamera() = 0;
90 
91  //# @abi(all) documentation
100  virtual ZDK::Shared::Result RestartCamera() = 0;
101 
102  //# @abi(all) documentation
111  virtual ZDK::CameraSensorLocation GetCameraLocation() const = 0;
112 };
113 
114 } //namespace ZDK
115 
116 #endif //__IVIDEOENDPOINTCONTROL__
Definition: IZHandle.h:12
virtual ZDK::Shared::Result SetBitrate(int value)=0
Configures the video encoder's bitrate.
virtual ZDK::Shared::Result StopCapture()=0
Stops the video capture.
virtual ZDK::Shared::Result ToggleCamera()=0
Toggles the camera.
virtual ZDK::Shared::Result RestartCamera()=0
Restarts the camera.
Video endpoint's main entry point.
Definition: IVideoEndpointControl.h:16
Definition: IAccountConfig.h:10
virtual ZDK::Shared::Result SetFormat(int width, int height, float fps)=0
Configures the used video format.
virtual ZDK::Shared::Result StartCapture(bool hwdAcceleration)=0
Starts the video capture.
virtual ZDK::CameraSensorLocation GetCameraLocation() const =0
Gets the used camera location.