Windows SDK API Reference
Loading...
Searching...
No Matches
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"
11
17{
21};
27{
28 VideoConnectionQuality_Unknown = 0, //Unknown video quality status.
29 VideoConnectionQuality_Bad, //The video quality is poor.
30 VideoConnectionQuality_Normal, //The video quality is normal.
31 VideoConnectionQuality_Good, //The video quality is good.
32};
33
37{
38public:
44
51 virtual bool AddVideoToOrder(unsigned int userId, unsigned int position) = 0;
52
58};
59
62{
63public:
67 virtual unsigned int GetReqFromUserId() = 0;
69 virtual SDKError Ignore() = 0;
71 virtual SDKError Accept() = 0;
72
74 virtual SDKError Cancel() = 0;
75};
76
80{
81public:
83
87 virtual void onUserVideoStatusChange(unsigned int userId, VideoStatus status) = 0;
88
93 virtual void onSpotlightedUserListChangeNotification(IList<unsigned int >* lstSpotlightedUserID) = 0;
94
98
101 virtual void onActiveSpeakerVideoUserChanged(unsigned int userid) = 0;
102
105 virtual void onActiveVideoUserChanged(unsigned int userid) = 0;
106
109 virtual void onHostVideoOrderUpdated(IList<unsigned int >* orderList) = 0;
110
113 virtual void onLocalVideoOrderUpdated(IList<unsigned int >* localOrderList) = 0;
114
117 virtual void onFollowHostVideoOrderChanged(bool bFollow) = 0;
118
122 virtual void onUserVideoQualityChanged(VideoConnectionQuality quality, unsigned int userid) = 0;
123
124};
125
127{
136};
137
139{
148};
152{
153public:
159
164 virtual SDKError MuteVideo() = 0;
165
170 virtual SDKError UnmuteVideo() = 0;
171
178 virtual SDKError CanPinToFirstView(unsigned int userid, PinResult& result) = 0;
179
185 virtual SDKError PinVideoToFirstView(unsigned int userid) = 0;
186
192 virtual SDKError UnPinVideoFromFirstView(unsigned int userid) = 0;
193
199
205
212 virtual SDKError CanPinToSecondView(unsigned int userid, PinResult& result) = 0;
213
219 virtual SDKError PinVideoToSecondView(unsigned int userid) = 0;
220
226 virtual SDKError UnPinVideoFromSecondView(unsigned int userid) = 0;
227
233
240 virtual SDKError CanSpotlight(unsigned int userid, SpotlightResult& result) = 0;
241
248 virtual SDKError CanUnSpotlight(unsigned int userid, SpotlightResult& result) = 0;
249
255 virtual SDKError SpotlightVideo(unsigned int userid) = 0;
256
262 virtual SDKError UnSpotlightVideo(unsigned int userid) = 0;
263
269
275
281
287 virtual SDKError CanAskAttendeeToStartVideo(unsigned int userid) = 0;
288
294 virtual SDKError AskAttendeeToStartVideo(unsigned int userid) = 0;
295
301 virtual SDKError CanStopAttendeeVideo(unsigned int userid) = 0;
302
308 virtual SDKError StopAttendeeVideo(unsigned int userid) = 0;
309
313
318 virtual SDKError EnableFollowHostVideoOrder(bool bEnable) = 0;
319
322 virtual bool IsFollowHostVideoOrderOn() = 0;
323
328
332
336};
338#endif
Meeting video controller interface.
virtual SDKError UnSpotlightVideo(unsigned int userid)=0
Unspotlight the video of the assigned user to the first view.
virtual SDKError MuteVideo()=0
Turn off the user's own 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 CanAskAttendeeToStartVideo(unsigned int userid)=0
Query if it is able to demand the specified user to turn on the video.
virtual SDKError PinVideoToSecondView(unsigned int userid)=0
Pin the video of the assigned user to the second view.
virtual SDKError SetEvent(IMeetingVideoCtrlEvent *pEvent)=0
Set the meeting video controller callback event handler.
virtual IList< unsigned int > * GetVideoOrderList()=0
Get the video order list.
virtual SDKError StopAttendeeVideo(unsigned int userid)=0
Turn off the video of the assigned user.
virtual ICameraController * GetMyCameraController()=0
Get camera controller interface.
virtual SDKError UnPinVideoFromSecondView(unsigned int userid)=0
Unpin the video of the assigned user from the second view.
virtual SDKError UnPinAllVideosFromFirstView()=0
Unpin all the videos from the first view.
virtual ISetVideoOrderHelper * GetSetVideoOrderHelper()=0
Get set video order helper interface.
virtual SDKError UnSpotlightAllVideos()=0
Unpin all the videos from the first view.
virtual SDKError CanPinToFirstView(unsigned int userid, PinResult &result)=0
Determine if it is able to pin the video of the specified user to the first view.
virtual SDKError AskAttendeeToStartVideo(unsigned int userid)=0
Demand the assigned user to turn on the video.
virtual SDKError PinVideoToFirstView(unsigned int userid)=0
Pin the video of the assigned user to the first view.
virtual IList< unsigned int > * GetSpotlightedUserList()=0
Get the list of all the spotlighted user in the meeting.
virtual SDKError CanStopAttendeeVideo(unsigned int userid)=0
Query if it is able to demand the specified user to turn off the video.
virtual bool IsFollowHostVideoOrderOn()=0
Determine if the follow host video mode is enabled.
virtual IList< unsigned int > * GetPinnedUserListFromFirstView()=0
Get the list of all the pinned user in the first view.
virtual SDKError UnPinVideoFromFirstView(unsigned int userid)=0
Unpin the video of the assigned user from the first view.
virtual bool IsSupportFollowHostVideoOrder()=0
Determine if the following host video order feature is supported.
virtual SDKError CanPinToSecondView(unsigned int userid, PinResult &result)=0
Determine if it is able to pin the video of the specified user to the second view.
virtual SDKError SpotlightVideo(unsigned int userid)=0
Spotlight the video of the assigned user to the first view.
virtual SDKError CanSpotlight(unsigned int userid, SpotlightResult &result)=0
Determine if it is able to spotlight the video of the specified user in the meeting.
virtual SDKError UnmuteVideo()=0
Turn on the user's own video.
virtual IList< unsigned int > * GetPinnedUserListFromSecondView()=0
Get the list of all the pinned user in the second view.
virtual SDKError EnableFollowHostVideoOrder(bool bEnable)=0
Enable or disable follow host video order mode.
virtual SDKError CanUnSpotlight(unsigned int userid, SpotlightResult &result)=0
Determine if it is able to unspotlight the video of the specified user in the meeting.
Meeting video controller event callback.
virtual void onLocalVideoOrderUpdated(IList< unsigned int > *localOrderList)=0
Callback event of the local video order changes.
virtual void onHostRequestStartVideo(IRequestStartVideoHandler *handler_)=0
Callback event of the requirement to turn on the video from the host.
virtual void onSpotlightedUserListChangeNotification(IList< unsigned int > *lstSpotlightedUserID)=0
Callback event for when the video spotlight user list changes. \Spotlight user means that the view wi...
virtual void onFollowHostVideoOrderChanged(bool bFollow)=0
Notification the status of following host's video order changed.
virtual void onUserVideoStatusChange(unsigned int userId, VideoStatus status)=0
Callback event of the user video status changes.
virtual void onActiveVideoUserChanged(unsigned int userid)=0
Callback event of the active video user changes.
virtual void onHostVideoOrderUpdated(IList< unsigned int > *orderList)=0
Callback event of the video order changes.
virtual void onActiveSpeakerVideoUserChanged(unsigned int userid)=0
Callback event of the active speaker video user changes.
virtual void onUserVideoQualityChanged(VideoConnectionQuality quality, unsigned int userid)=0
Callback event of the user video quality changes.
Process after the user receives the requirement from the host to turn on the video.
virtual SDKError Cancel()=0
Ignore the request to enable the video in the meeting and finally the instance self-destroys.
virtual SDKError Accept()=0
Instance to accept the requirement, turn on the video and finally self-destroy.
virtual unsigned int GetReqFromUserId()=0
Get the user ID who asks to turn on the video.
virtual SDKError Ignore()=0
Instance to ignore the requirement, return nothing and finally self-destroy.
set video order helper interface.
virtual SDKError SetVideoOrderTransactionCommit()=0
make a new video order.
virtual SDKError SetVideoOrderTransactionBegin()=0
Prepare to make a new video order.
virtual bool AddVideoToOrder(unsigned int userId, unsigned int position)=0
Add the assigned user into the prepared video order.
@ PinResult_Fail_NoPrivilegeToPin
other reasons
@ PinResult_Fail_MeetingDoNotSupport
current user has no privilege to pin
@ PinResult_Fail_UserCannotBePinned
pinned user counts more than 9
@ PinResult_Success
@ PinResult_Unknown
webinar and in view only meeting
@ PinResult_Fail_VideoModeDoNotSupport
user in view only mode or silent mode or active
@ PinResult_Fail_NotEnoughUsers
@ PinResult_Fail_ToMuchPinnedUsers
user counts less than 2
@ SpotResult_Fail_NoPrivilegeToSpotlight
user doesn't turn on video
@ SpotResult_Fail_UserWithoutVideo
user in view only mode or silent mode or active
@ SpotResult_Success
@ SpotResult_Fail_UserNotSpotlighted
current user has no privilege to spotlight
@ SpotResult_Unknown
user is not spotlighted
@ SpotResult_Fail_NotEnoughUsers
@ SpotResult_Fail_ToMuchSpotlightedUsers
user counts less than 2
@ SpotResult_Fail_UserCannotBeSpotlighted
spotlighted user counts is more than 9
VideoStatus
The video status of the user. Here are more detailed structural descriptions.
@ Video_ON
Video is on.
@ Video_OFF
Video is off.
@ Video_Mute_ByHost
Video is muted by host.
VideoConnectionQuality
The video quality of the user. Here are more detailed structural descriptions.
@ VideoConnectionQuality_Normal
@ VideoConnectionQuality_Good
@ VideoConnectionQuality_Bad
@ VideoConnectionQuality_Unknown
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:21
#define BEGIN_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:20
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:30