Added
-
New added interfaces to support Far End Audio Control feature in file
IMeetingAudioHelper.h.-
New added struct
AudioControlStatusin fileZRCSDKTypes.h, used in structMeetingParticipant.struct AudioControlStatus { bool canIRequestAudioControl = false; ///<TRUE indicates I can request audio control. bool canBeRequestedAudioControl = false; ///<TRUE indicates the user can be requested audio control. bool amIControllingAudio = false; ///<TRUE indicates I am controlling the user's audio. }; struct MeetingParticipant { // ... AudioControlStatus audioControlStatus; ///<User's audio control status. }; -
New added structs
FarEndAudioDeviceInfoandFarEndAudioControllingUserDeviceInfo.struct FarEndAudioDeviceInfo { std::string deviceID; ///<Device ID. std::string deviceName; ///<Device name. int32_t volume = 0; ///<The volume of the device. When isSelected == false, this field is invalid. bool volumeCanAdjust = false; ///<True indicate the volume can be adjusted, otherwise can't. When isSelected == false, this field is invalid. bool isSelected = false; ///<True indicate the device is currently in use. }; struct FarEndAudioControllingUserDeviceInfo { int32_t userID = 0; ///<User ID of the controlled user. bool muteState = false; ///<TRUE indicate microphone is muted. Otherwise not. FarEndAudioDeviceInfo selectedMicrophone; ///<The microphone that is currently in use. FarEndAudioDeviceInfo selectedSpeaker; ///<The speaker that is currently in use. std::vector<FarEndAudioDeviceInfo> microphones; ///<The all microphones of the controlled user, include the microphone that is currently in use. std::vector<FarEndAudioDeviceInfo> speakers; ///<The all speakers of the controlled user, include the speaker that is currently in use. }; -
For FEAC requester side
-
New added interfaces in class
IMeetingAudioHelperto send requests of far end audio control.virtual ZRCSDKError RequestFarEndAudioControl(int32_t farEndUserID) = 0; virtual ZRCSDKError GiveUpFarEndAudioControl(int32_t farEndUserID) = 0; virtual ZRCSDKError BeginControlFarEndAudio(int32_t farEndUserID) = 0; virtual ZRCSDKError BeginControlFarEndAudio(int32_t farEndUserID) = 0; virtual ZRCSDKError SelectFarEndAudioMicrophone(int32_t farEndUserID, const std::string& deviceID) = 0; virtual ZRCSDKError SelectFarEndAudioSpeaker(int32_t farEndUserID, const std::string& deviceID) = 0; virtual ZRCSDKError AdjustFarEndAudioSelectedMicrophoneVolume(int32_t farEndUserID, int32_t volume) = 0; virtual ZRCSDKError AdjustFarEndAudioSelectedSpeakerVolume(int32_t farEndUserID, int32_t volume) = 0; virtual ZRCSDKError MuteFarEndAudioMicrophone(int32_t farEndUserID, bool mute) = 0; virtual ZRCSDKError GetFarEndAudioControllingUserDeviceInfo(FarEndAudioControllingUserDeviceInfo& deviceInfo, int32_t userID) = 0; virtual ZRCSDKError GetAllFarEndAudioControllingUserDeviceInfo(std::vector<FarEndAudioControllingUserDeviceInfo>& deviceInfoList) = 0; -
New added callbacks in class
IMeetingAudioHelperSinkto receive response of far end audio control requests.virtual void OnFEACApproveNotification(int32_t farEndUserID, const std::string& farEndUserName) = 0; virtual void OnFEACDeclineNotification(int32_t farEndUserID, const std::string& farEndUserName) = 0; virtual void OnFEACTakeOverNotification(int32_t farEndUserID, const std::string& farEndUserName, int32_t controllingUserID, const std::string& controllingUserName) = 0; virtual void OnFEACMicListChangedNotification(int32_t farEndUserID, const std::vector<FarEndAudioDeviceInfo>& micList) = 0; virtual void OnFEACSpeakerListChangedNotification(int32_t farEndUserID, const std::vector<FarEndAudioDeviceInfo>& speakerList) = 0; virtual void OnFEACMuteStateChangedNotification(int32_t farEndUserID, bool muteState) = 0; virtual void OnFEACUnmuteDisabledByHostNotification(int32_t farEndUserID) = 0;
-
-
For FEAC been requested side
-
New added interfaces in class
IMeetingAudioHelperto approve or decline FEAC requests.virtual ZRCSDKError ApproveFarEndAudioControlRequest(int32_t requesterUserID) = 0; virtual ZRCSDKError DeclineFarEndAudioControlRequest(int32_t requesterUserID) = 0; -
New added callbacks in class
IMeetingAudioHelperSinkto notify remote user requests or give up self audio control.virtual void OnFEACRequestNotification(int32_t requesterUserID, const std::string& requesterUserName) = 0; virtual void OnFEACGiveUpNotification(int32_t requesterUserID, const std::string& requesterUserName) = 0; -
New added callbacks in class
IMeetingAudioHelperSinkto notify remote user's requests has been handled on other controllers.virtual void OnFEACApproveControlRequestNotification(int32_t requesterUserID) = 0; virtual void OnFEACDeclineControlRequestNotification(int32_t requesterUserID) = 0;
-
-
-
New added interfaces to support touch up appearance feature in file
IMeetingVideoHelper.h.-
New added enum
PreviewVideoTypeenum PreviewVideoType { PreviewVideoTypeCameraSettings = 0, ///<Preview video type camera settings. PreviewVideoTypeVirtualBackground, ///<Preview video type virtual background. PreviewVideoTypeMeetingAlert, ///<Preview video type meeting alert. }; -
New added structs
MyVideoTouchUpSettings,MyVideoLowLightSettings,MyVideoSettingsandMyMeetingVideoSettings.struct MyVideoTouchUpSettings { bool isFaceBeautyEnabled = false; ///<TRUE indicates touch up function is enabled. Otherwise not. int32_t faceBeautyStrength = 0; ///<The strength of the touch up function. Range is [0, 100]. }; struct MyVideoLowLightSettings { bool isAdjustLowLightEnabled = false; ///<TRUE indicates low light function is enabled. Otherwise not. bool isAutoAdjustLowLight = false; ///<TRUE indicates automatically adjust low light value. Otherwise manually adjust. int32_t adjustLowLightValue = 0; ///<The value of the low light function. Range is [0, 100]. }; struct MyVideoSettings { MyVideoTouchUpSettings touchUpSettings; ///<My video touch up settings. MyVideoLowLightSettings lowLightSettings; ///<My video low light settings. bool allowUserEnhanceAppearance = false; ///<TRUE indicates allow user enhance appearance. Otherwise not. bool canPresetSettingsForMeeting = false; ///<TRUE indicates can preset settings for specific meeting. Otherwise not. bool isLocked = false; ///<TRUE the setting is locked on web. }; struct MyMeetingVideoSettings { MyVideoSettings setting; ///<My video settings. MeetingItem meeting; ///<The specific meeting. }; -
New added interfaces in class
IMeetingVideoHelperto adjust video touch up and video low light settings on a setting level or for a specific meeting.virtual ZRCSDKError SetMyVideoTouchUp(const MyVideoTouchUpSettings& settings) = 0; virtual ZRCSDKError SetMyVideoLowLight(const MyVideoLowLightSettings& settings) = 0; virtual ZRCSDKError FetchMyMeetingVideoSettings(const MeetingItem& meetingItem) = 0; virtual ZRCSDKError SetMyMeetingVideoTouchUp(const MeetingItem& meetingItem, const MyVideoTouchUpSettings& settings) = 0; virtual ZRCSDKError SetMyMeetingVideoLowLight(const MeetingItem& meetingItem, const MyVideoLowLightSettings& settings) = 0; virtual ZRCSDKError ShowVideoPreview(bool show, PreviewVideoType type, const MeetingItem& meeting = MeetingItem()) = 0; -
New added callbacks in class
IMeetingVideoHelperSinkto notify video settings update.virtual void OnMyVideoSettingsNotification(const MyVideoSettings& settings) = 0; virtual void OnMyMeetingVideoSettingsNotification(const MyMeetingVideoSettings& settings) = 0;
-
-
New added interface in file
IMeetingViewLayoutHelper.hto support query if SDK enables show non-video participants.virtual ZRCSDKError IsSupportShowNonVideoParticipants(bool& support) = 0; -
New added interface in file
IMeetingViewLayoutHelper.hto support query if SDK enables set self video hidden.virtual ZRCSDKError IsSupportSetMyVideoHidden(bool& support) = 0; -
New added field in struct
LegacyRoomSystemto indicate the legacy room system if pexip CVI.struct LegacyRoomSystem { // ... bool isPexipCVI = false; ///<TRUE indicates the room system is pexip CVI. }; -
New added interfaces in file
IParticipantHelper.hto support the participants update notification by events.virtual void OnInitMeetingParticipants(const std::vector<MeetingParticipant>& participants, int32_t totalParticipantsCount, bool needCleanUpUserList, ConfSessionType session) = 0; virtual void OnUserJoin(const std::vector<MeetingParticipant>& participants, ConfSessionType session) = 0; virtual void OnUserLeave(const std::vector<MeetingParticipant>& participants, ConfSessionType session) = 0; virtual void OnUserUpdate(const std::vector<MeetingParticipant>& participants, ConfSessionType session) = 0; virtual void OnHostChangedNotification(int32_t hostUserID, bool amIHost, ConfSessionType session) = 0; -
New added interfaces in file
IProAVService.hto support render mute icons and poll result overlays on Custom AV output feature.-
New added fields in struct
ProAVVideoOverlaySettings.struct ProAVVideoOverlaySettings { // ... bool isMuteIconEnabled = false; ///<TRUE indicates mute icon is enabled. bool isPollOverlayEnabled = false; ///<TRUE indicates poll overlay is enabled. }; -
New added interfaces in class
IProAVServiceto control Pro AV video mute icon and video poll overlay.
virtual ZRCSDKError EnableProAVVideoMuteIcon(bool enable) = 0; virtual ZRCSDKError EnableProAVVideoPollOverlay(bool enable) = 0; -
-
New added interfaces in file
IProAVService.hto support show ZR wallpaper on unassigned additional outputs feature.-
New added enum
ProAVUnassignedBehaviorTypeandProAVWallpaperRoomType.enum ProAVUnassignedBehaviorType { ProAVUnassignedBehaviorTypeOff = 0, ///<Off ProAVUnassignedBehaviorTypeWallpaper = 1, ///<Wallpaper }; enum ProAVWallpaperRoomType { ProAVWallpaperRoomTypeNone = -1, ///<None. ProAVWallpaperRoomTypeMain = 0, ///<Main Zoom Rooms wallpaper. ProAVWallpaperRoomTypeCZR = 1, ///<Companion Zoom Rooms wallpaper. ProAVWallpaperRoomTypeCWB = 2, ///<Companion Whiteboard wallpaper. }; -
New added struct
ProAVUnassignedBehavior.struct ProAVUnassignedBehavior { ProAVUnassignedBehaviorType unassignedType = ProAVUnassignedBehaviorTypeOff; ///Unassigned type, see \link ProAVUnassignedBehaviorType \endlink enum. ProAVWallpaperRoomType roomType = ProAVWallpaperRoomTypeNone; ///Wallpaper room type, see \link ProAVWallpaperRoomType \endlink enum. uint32_t wallpaperIndex = 0; ///Wallpaper index. }; -
New added interfaces in class
IProAVServiceto control Pro AV unassigned behavior.virtual ZRCSDKError SetProAVUnassignedBehavior(const ProAVUnassignedBehavior& behavior) = 0; virtual ZRCSDKError GetProAVUnassignedBehavior(ProAVUnassignedBehavior& behavior) = 0; -
New added callback in class
IProAVServiceSinkto notify the update-to-dateProAVUnassignedBehavior.virtual void OnProAVUnassignedBehaviorNotification(const ProAVUnassignedBehavior& behavior) = 0;
-
Changed
- Enhance logic in callback
IZoomRoomsServiceSink::OnPairRoomResultin fileIZoomRoomsService.h.- Previously the
OnPairRoomResultwill immediately be called ifPairRoomWithActivationCoderesponse return. Now it will be called after the SDK is successfully connected to the Zoom Room. - Add new error codes support:
- [100] Fail to connect to room.
- [101] Room cannot verify connection.
- [102] Timeout waiting room's verify response.
- Previously the
