ZOOM Windows SDK  5.2.42037.1112
meeting_video_interface.h
Go to the documentation of this file.
1 
6 #ifndef _MEETING_VIDEO_INTERFACE_H_
7 #define _MEETING_VIDEO_INTERFACE_H_
8 #include "..\zoom_sdk_def.h"
9 #include "..\zoom_sdk_util_define.h"
10 BEGIN_ZOOM_SDK_NAMESPACE
11 
17 {
21 };
22 
25 {
26 public:
27  virtual ~IRequestStartVideoHandler(){};
30  virtual unsigned int GetReqFromUserId() = 0;
32  virtual SDKError Ignore() = 0;
34  virtual SDKError Accept() = 0;
35 
37  virtual SDKError Cancel() = 0;
38 };
39 
43 {
44 public:
48  virtual void onUserVideoStatusChange(unsigned int userId, VideoStatus status) = 0;
49 
53  virtual void onSpotlightVideoChangeNotification(bool bSpotlight, unsigned int userid) = 0;
54 
57  virtual void onHostRequestStartVideo(IRequestStartVideoHandler* handler_) = 0;
58 
61  virtual void onActiveSpeakerVideoUserChanged(unsigned int userid) = 0;
62 
65  virtual void onActiveVideoUserChanged(unsigned int userid) = 0;
66 };
67 
71 {
72 public:
77  virtual SDKError SetEvent(IMeetingVideoCtrlEvent* pEvent) = 0;
78 
83  virtual SDKError MuteVideo() = 0;
84 
89  virtual SDKError UnmuteVideo() = 0;
90 
98  virtual SDKError PinVideo(bool bPin, bool bFirstView, unsigned int userid) = 0;
99 
106  virtual SDKError SpotlightVideo(bool bSpotlight, unsigned int userid) = 0;
107 
112  virtual SDKError HideOrShowNoVideoUserOnVideoWall(bool bHide) = 0;
113 
119  virtual SDKError CanAskAttendeeToStartVideo(unsigned int userid) = 0;
120 
126  virtual SDKError AskAttendeeToStartVideo(unsigned int userid) = 0;
127 
133  virtual SDKError CanStopAttendeeVideo(unsigned int userid) = 0;
134 
140  virtual SDKError StopAttendeeVideo(unsigned int userid) = 0;
141 
145 };
146 END_ZOOM_SDK_NAMESPACE
147 #endif
virtual SDKError Cancel()=0
Ignore the request to enable the video in the meeting and finally the instance self-destroys.
Definition: zoom_sdk_util_define.h:18
virtual SDKError CanStopAttendeeVideo(unsigned int userid)=0
Query if it is able to demand the specified user to turn off the video.
Meeting video controller event callback.
Definition: meeting_video_interface.h:42
Video is off.
Definition: meeting_video_interface.h:19
virtual void onHostRequestStartVideo(IRequestStartVideoHandler *handler_)=0
Callback event of the requirement to turn on the video from the host.
virtual SDKError UnmuteVideo()=0
Turn on the user's own video.
VideoStatus
The video status of the user. Here are more detailed structural descriptions.
Definition: meeting_video_interface.h:16
Meeting video controller interface.
Definition: meeting_video_interface.h:70
virtual unsigned int GetReqFromUserId()=0
Get the user ID who asks to turn on the video.
virtual SDKError MuteVideo()=0
Turn off the user's own video.
virtual SDKError AskAttendeeToStartVideo(unsigned int userid)=0
Demand the assigned user to turn on the video.
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:29
virtual void onSpotlightVideoChangeNotification(bool bSpotlight, unsigned int userid)=0
Callback event of the user video spotlight status changes.
Video is muted by host.
Definition: meeting_video_interface.h:20
virtual SDKError PinVideo(bool bPin, bool bFirstView, unsigned int userid)=0
Pin the video of the assigned user.
virtual SDKError SetEvent(IMeetingVideoCtrlEvent *pEvent)=0
Set the meeting video controller callback event handler.
virtual SDKError StopAttendeeVideo(unsigned int userid)=0
Turn off the video of the assigned user.
virtual SDKError Ignore()=0
Instance to ignore the requirement, return nothing and finally self-destroy.
virtual ICameraController * GetMyCameraController()=0
Get camera controller interface.
virtual void onActiveSpeakerVideoUserChanged(unsigned int userid)=0
Callback event of the active speaker video user changes.
virtual SDKError CanAskAttendeeToStartVideo(unsigned int userid)=0
Query if it is able to demand the specified user to turn on the video.
virtual SDKError HideOrShowNoVideoUserOnVideoWall(bool bHide)=0
Display or not the user who does not turn on the video in the video all mode.
virtual SDKError Accept()=0
Instance to accept the requirement, turn on the video and finally self-destroy.
Process after the user receives the requirement from the host to turn on the video.
Definition: meeting_video_interface.h:24
Video is on.
Definition: meeting_video_interface.h:18
virtual void onActiveVideoUserChanged(unsigned int userid)=0
Callback event of the active video user changes.
virtual SDKError SpotlightVideo(bool bSpotlight, unsigned int userid)=0
Spotlight the video of the assigned user.
virtual void onUserVideoStatusChange(unsigned int userId, VideoStatus status)=0
Callback event of the user video status changes.