Zoom Rooms Controller SDK Reference 6.5.0
Loading...
Searching...
No Matches
IMeetingVideoHelper.h
Go to the documentation of this file.
1
6#ifndef ZRC_IMEETINGVIDEOHELPER_H
7#define ZRC_IMEETINGVIDEOHELPER_H
8
9#include "ZRCSDKTypes.h"
10
12
18{
24};
25
31{
34};
35
41{
45};
46
50{
51 int32_t screenIndex = 0;
52 bool canPinVideo = false;
53 std::vector<int32_t> pinnedUserIDs;
55 int32_t pinnedShareSourceID = 0;
57 std::vector<ShareSourceType> pinnableShareTypes;
58 bool canPinShare = false;
60 bool isZRWScreen = false;
61 bool isThumbnailScreen = false;
62 int32_t pinnedShareUserID = 0;
63};
64
68{
69 bool present = false;
70 std::vector<int32_t> userIDs;
71};
72
76{
77 bool isFaceBeautyEnabled = false;
78 int32_t faceBeautyStrength = 0;
79};
80
84{
86 bool isAutoAdjustLowLight = false;
87 int32_t adjustLowLightValue = 0;
88};
89
93{
96
99 bool isLocked = false;
100};
101
105{
108};
109
113{
114public:
116
125 virtual void OnUpdateMyVideoNotification(const VideoStatus& videoStatus) = 0;
126
136 virtual void OnMuteUserVideoNotification(int32_t userID, const VideoStatus& videoStatus) = 0;
137
146 virtual void OnAskStartVideoByHostNotification(int32_t userID) = 0;
147
157 virtual void OnUpdateScreenStatusForPinNotification(const std::vector<ScreenStatusForPin>& pinStatusList, PinShareWarningType warningType) = 0;
158
167 virtual void OnSpotlightStatusNotification(const SpotlightStatus& spotlightStatus) = 0;
168
177 virtual void OnUpdateAllowAttendeesStartVideo(bool allow) = 0;
178
187 virtual void OnMyVideoSettingsNotification(const MyVideoSettings& settings) = 0;
188
198};
199
203{
204public:
206
218
230
241 virtual ZRCSDKError UpdateMyVideo(bool stop) = 0;
242
254 virtual ZRCSDKError MuteUserVideo(int32_t userID, bool mute) = 0;
255
266 virtual ZRCSDKError AnswerHostRequestUnmuteVideo(bool accepted) = 0;
267
278 virtual ZRCSDKError AllowAttendeesStartVideo(bool allow) = 0;
279
290 virtual ZRCSDKError ShowPinUserInstruction(bool show) = 0;
291
303 virtual ZRCSDKError AllowUserMultiPin(int32_t userID, bool allow) = 0;
304
316 virtual ZRCSDKError PinUserOnScreen(int32_t userID, int32_t screenIndex) = 0;
317
329 virtual ZRCSDKError AddPinUserOnScreen(int32_t userID, int32_t screenIndex) = 0;
330
342 virtual ZRCSDKError UnpinUserFromScreen(int32_t userID, int32_t screenIndex) = 0;
343
354 virtual ZRCSDKError UnpinUserFromAllScreens(int32_t userID) = 0;
355
366
377 virtual ZRCSDKError SpotlightUser(int32_t userID) = 0;
378
389 virtual ZRCSDKError AddSpotlightUser(int32_t userID) = 0;
390
401 virtual ZRCSDKError CancelSpotlightUser(int32_t userID) = 0;
402
413
424 virtual ZRCSDKError IsSupportSetMyVideoHidden(bool& support) = 0;
425
436 virtual ZRCSDKError SetMyVideoHidden(bool hidden) = 0;
437
460
471 virtual ZRCSDKError FetchMyMeetingVideoSettings(const MeetingItem& meetingItem) = 0;
483 virtual ZRCSDKError SetMyMeetingVideoTouchUp(const MeetingItem& meetingItem, const MyVideoTouchUpSettings& settings) = 0;
495 virtual ZRCSDKError SetMyMeetingVideoLowLight(const MeetingItem& meetingItem, const MyVideoLowLightSettings& settings) = 0;
496
509 virtual ZRCSDKError ShowVideoPreview(bool show, PreviewVideoType type, const MeetingItem& meeting = MeetingItem()) = 0;
510};
511
513
514#endif //ZRC_IMEETINGVIDEOHELPER_H
CanNotPinShareReason
Screen cannot pin share reason. Here are more detailed structural descriptions.
@ CanNotPinShareReasonUnknown
Unclassified reason.
@ CanNotPinShareReasonContentOnly
Content only not enabled, current ScreenLayoutSourceType is not ScreenLayoutSourceTypeSharedContent.
PreviewVideoType
Preview video type. Here are more detailed structural descriptions.
@ PreviewVideoTypeVirtualBackground
Preview video type virtual background.
@ PreviewVideoTypeMeetingAlert
Preview video type meeting alert.
@ PreviewVideoTypeCameraSettings
Preview video type camera settings.
PinShareWarningType
Screen pin share warning type. Here are more detailed structural descriptions.
@ PinShareWarningTypeNoAnnotationForSelf
Warning that the annotation will be lost if pin share on the screen.
@ PinShareWarningTypeStopWhiteboard
Warning that the classic whiteboard share will be stopped if pin share on the screen.
@ PinShareWarningTypeStopSelfShare
Warning that the user's share will be stopped if pin share on the screen.
@ PinShareWarningTypeStopCameraShare
Warning that the camera share will be stopped if pin share on the screen.
@ PinShareWarningTypeNone
None.
#define NS_ZRCSDK_END
#define NS_ZRCSDK_BEG
ZRC SDK Types.
ShareSourceType
Share source type. Here are more detailed structural descriptions.
@ ShareSourceTypeUnknown
Unknown.
ZRCSDKError
SDK error types. Here are more detailed structural descriptions.
Definition ZRCSDKTypes.h:22
ScreenLayoutSourceType
Zoom Room Screen layout source type. Here are more detailed structural descriptions.
@ ScreenLayoutSourceTypeActiveVideo
Active video.
Meeting Video helper interface.
virtual ZRCSDKError AllowUserMultiPin(int32_t userID, bool allow)=0
Allow user multi pin.
virtual ZRCSDKError AddSpotlightUser(int32_t userID)=0
Add spotlight user.
virtual ZRCSDKError SetMyMeetingVideoLowLight(const MeetingItem &meetingItem, const MyVideoLowLightSettings &settings)=0
Set my video low light settings for the specific meeting.
virtual ZRCSDKError AnswerHostRequestUnmuteVideo(bool accepted)=0
Answer incoming unmute video request.
virtual ZRCSDKError UnpinUserFromAllScreens(int32_t userID)=0
Unpin use video from all screens.
virtual ZRCSDKError FetchMyMeetingVideoSettings(const MeetingItem &meetingItem)=0
Fetch my video settings of the specific meeting. If you want to see the effect of the settings,...
virtual ZRCSDKError AllowAttendeesStartVideo(bool allow)=0
Allow attendees start video.
virtual ZRCSDKError SetMyVideoTouchUp(const MyVideoTouchUpSettings &settings)=0
Set my video touch up settings. The meeting will use the specified settings, if you preset the settin...
virtual ZRCSDKError ShowPinUserInstruction(bool show)=0
Show the screen index of each display for pin video.
virtual ZRCSDKError ShowVideoPreview(bool show, PreviewVideoType type, const MeetingItem &meeting=MeetingItem())=0
Show video preview.
virtual ZRCSDKError CancelSpotlightUser(int32_t userID)=0
Cancel spotlight user.
virtual ZRCSDKError MuteUserVideo(int32_t userID, bool mute)=0
Mute or unmute the assigned user video.
virtual ZRCSDKError SetMyMeetingVideoTouchUp(const MeetingItem &meetingItem, const MyVideoTouchUpSettings &settings)=0
Set my video touch up settings for the specific meeting.
virtual ZRCSDKError SpotlightUser(int32_t userID)=0
Spotlight user.
virtual ZRCSDKError PinUserOnScreen(int32_t userID, int32_t screenIndex)=0
Pin user video on Zoom Room's screen.
virtual ZRCSDKError IsSupportSetMyVideoHidden(bool &support)=0
Query if support set my video hidden.
virtual ZRCSDKError UnpinUserFromScreen(int32_t userID, int32_t screenIndex)=0
Unpin user video from screen.
virtual ZRCSDKError AddPinUserOnScreen(int32_t userID, int32_t screenIndex)=0
Add pin user on Zoom Room's screen.
virtual ZRCSDKError DeregisterSink(IMeetingVideoHelperSink *pSink)=0
Deregister meeting video helper callback sink.
virtual ZRCSDKError UpdateMyVideo(bool stop)=0
Mute or unmute self video.
virtual ZRCSDKError RegisterSink(IMeetingVideoHelperSink *pSink)=0
Register meeting video helper callback sink.
virtual ZRCSDKError SetMyVideoLowLight(const MyVideoLowLightSettings &settings)=0
Set my video low light settings. The meeting will use the specified settings, if you preset the setti...
virtual ZRCSDKError RemoveAllPinUsers()=0
Remove all users' pinned video.
virtual ZRCSDKError SetMyVideoHidden(bool hidden)=0
Set my video hidden.
virtual ZRCSDKError RemoveAllSpotlightUsers()=0
Remove all spotlight users.
Meeting Video helper event callback.
virtual void OnUpdateScreenStatusForPinNotification(const std::vector< ScreenStatusForPin > &pinStatusList, PinShareWarningType warningType)=0
Meeting screen status for pin update notification.
virtual void OnUpdateAllowAttendeesStartVideo(bool allow)=0
Allow attendees start video update notification.
virtual void OnMyVideoSettingsNotification(const MyVideoSettings &settings)=0
My video settings notification.
virtual void OnUpdateMyVideoNotification(const VideoStatus &videoStatus)=0
Zoom Room's video status changed callback.
virtual void OnSpotlightStatusNotification(const SpotlightStatus &spotlightStatus)=0
Meeting spotlight status changed notification.
virtual void OnMyMeetingVideoSettingsNotification(const MyMeetingVideoSettings &settings)=0
My video settings of the specific meeting notification.
virtual void OnAskStartVideoByHostNotification(int32_t userID)=0
Notification from host ask to start video.
virtual void OnMuteUserVideoNotification(int32_t userID, const VideoStatus &videoStatus)=0
After mute user video, user video status changed callback.
Meeting item MeetingItem extends CalendarEvent function with more Zoom meeting information.
My meeting video settings of the specific meeting, which includes my video settings and the specific ...
MyVideoSettings setting
My video settings. The fields allowUserEnhanceAppearance, canPresetSettingsForMeeting,...
MeetingItem meeting
The specific meeting.
My video low light settings.
int32_t adjustLowLightValue
The value of the low light function. Range is [0, 100].
bool isAutoAdjustLowLight
TRUE indicates automatically adjust low light value. Otherwise manually adjust.
bool isAdjustLowLightEnabled
TRUE indicates low light function is enabled. Otherwise not.
My video settings.
MyVideoLowLightSettings lowLightSettings
My video low light settings.
MyVideoTouchUpSettings touchUpSettings
My video touch up settings.
bool canPresetSettingsForMeeting
TRUE indicates can preset settings for specific meeting. Otherwise not.
bool isLocked
TRUE the setting is locked on web, and you can't change the settings, but you can preset settings for...
bool allowUserEnhanceAppearance
TRUE indicates allow user enhance appearance. Otherwise not.
My video touch up settings.
bool isFaceBeautyEnabled
TRUE indicates touch up function is enabled. Otherwise not.
int32_t faceBeautyStrength
The strength of the touch up function. Range is [0, 100].
Screen status for pin video or pin share.
bool canPinVideo
TRUE indicates screen can be pinned video.
CanNotPinShareReason canNotPinShareReason
Can not pin share reason, see CanNotPinShareReason enum.
int32_t screenIndex
Screen index, see MeetingScreen enum.
ShareSourceType pinnedShareSourceType
Share source type, see ShareSourceType enum.
std::vector< ShareSourceType > pinnableShareTypes
Screen pinnable share types.
bool isThumbnailScreen
TRUE indicates screen is a Thumbnail screen.
std::vector< int32_t > pinnedUserIDs
Pinned user id list.
ScreenLayoutSourceType screenLayout
Screen layout source type, see ScreenLayoutSourceType enum.
int32_t pinnedShareSourceID
Screen pinned share source ID.
bool canPinShare
TRUE indicates screen can be pinned share content.
bool isZRWScreen
TRUE indicates screen is a Zoom Room Whiteboard screen.
int32_t pinnedShareUserID
Screen pinned share user ID.
Spotlight status.
std::vector< int32_t > userIDs
List of spotlighted users' ID.
bool present
TRUE indicates current meeting presents spotlighted user.
Video status.