Published June 6, 2023
Added
- New interface to support screen share annotation.
- New interface
ZMVideoSDKAnnotationHelper
inZMVideoSDKAnnotationHelper.h
.- (BOOL)isSenderDisableAnnotation; - (ZMVideoSDKErrors)startAnnotation; - (ZMVideoSDKErrors)stopAnnotation; - (ZMVideoSDKErrors)setToolColor:(NSColor* _Nonnull)toolColor; - (ZMVideoSDKErrors)getToolColor:(NSColor* _Nullable * _Nonnull)toolColor; - (ZMVideoSDKErrors)setToolType:(ZMVideoSDKAnnotationToolType)toolType; - (ZMVideoSDKErrors)getToolType:(ZMVideoSDKAnnotationToolType*)toolType; - (ZMVideoSDKErrors)setToolWidth:(long)width; - (ZMVideoSDKErrors)getToolWidth:(long*)width; - (ZMVideoSDKErrors)undo; - (ZMVideoSDKErrors)redo; - (ZMVideoSDKErrors)clear:(ZMVideoSDKAnnotationClearType)type;
- New interface in
ZMVideoSDKShareHelper
.- (BOOL)isAnnotationFeatureSupport; - (ZMVideoSDKErrors)disableViewerAnnotation:(BOOL)disable; - (BOOL)isViewerAnnotationDisabled; - (ZMVideoSDKAnnotationHelper*)createAnnotationHelper:(NSView*)view; - (ZMVideoSDKErrors)destroyAnnotationHelper:(ZMVideoSDKAnnotationHelper*)helper;
- New callback in
ZMVideoSDKDelegate
.- (void)onAnnotationHelperCleanUp:(ZMVideoSDKAnnotationHelper*)helper; - (void)onAnnotationPrivilegeChange:(BOOL)enable shareOwner:(ZMVideoSDKUser*)user;
- New enum
ZMVideoSDKAnnotationToolType
.ZMVideoSDKAnnotationToolType_None, ZMVideoSDKAnnotationToolType_Pen, ZMVideoSDKAnnotationToolType_HighLighter, ZMVideoSDKAnnotationToolType_AutoLine, ZMVideoSDKAnnotationToolType_AutoRectangle, ZMVideoSDKAnnotationToolType_AutoEllipse, ZMVideoSDKAnnotationToolType_AutoArrow, ZMVideoSDKAnnotationToolType_AutoRectangleFill, ZMVideoSDKAnnotationToolType_AutoEllipseFill, ZMVideoSDKAnnotationToolType_SpotLight, ZMVideoSDKAnnotationToolType_Arrow, ZMVideoSDKAnnotationToolType_ERASER, ZMVideoSDKAnnotationToolType_Textbox, ZMVideoSDKAnnotationToolType_Picker, ZMVideoSDKAnnotationToolType_AutoRectangleSemiFill, ZMVideoSDKAnnotationToolType_AutoEllipseSemiFill, ZMVideoSDKAnnotationToolType_AutoDoubleArrow, ZMVideoSDKAnnotationToolType_AutoDiamond, ZMVideoSDKAnnotationToolType_AutoStampArrow, ZMVideoSDKAnnotationToolType_AutoStampCheck, ZMVideoSDKAnnotationToolType_AutoStampX, ZMVideoSDKAnnotationToolType_AutoStampStar, ZMVideoSDKAnnotationToolType_AutoStampHeart, ZMVideoSDKAnnotationToolType_AutoStampQm
- New enum
ZMVideoSDKAnnotationClearType
.ZMVideoSDKAnnotationClearType_All, ZMVideoSDKAnnotationClearType_Others, ZMVideoSDKAnnotationClearType_My
- Fixed
onLiveTranscriptionMsgReceived
callback as it returned the wrong value. - New callback in
ZMVideoSDKDelegate
.- (void)onOriginalLanguageMsgReceived:(ZMVideoSDKLiveTranscriptionMessageInfo*)messageInfo;
- Remove enum
ZMVideoSDKLiveTranscriptionOperationType
inZMVideoSDKDef.h
.ZMVideoSDKLiveTranscription_OperationType_NoTranslation
- New interface
- New property to support automatically adjusting the speaker volume.
- New property in
ZMVideoSDKAudioOption
.@property (nonatomic, assign, readwrite) BOOL autoAdjustSpeakerVolume;
- New property in
- New interface to allow the host or co-host to disable the chat feature.
- New interfaces in
ZMVideoSDKChatHelper
.-(ZMVideoSDKErrors)changeChatPrivilege:(ZMVideoSDKChatPrivilegeType)privilege; -(ZMVideoSDKChatPrivilegeType)getChatPrivilege;
- New callback in
ZMVideoSDKDelegate
.- (void)onChatPrivilegeChanged:(ZMVideoSDKChatHelper*)chatHelper chatPrivilegeType:(ZMVideoSDKChatPrivilegeType)privilege;
- New enum
ZMVideoSDKChatPrivilegeType
.ZMVideoSDKChatPrivilegeType_Unknown = 0, ZMVideoSDKChatPrivilegeType_Publicly_And_Privately, ZMVideoSDKChatPrivilegeType_No_One, ZMVideoSDKChatPrivilegeType_Publicly
- New interfaces in
- New interface to support the Zoom renderer for raw data.
- New interface
ZMVideoSDKVideoCanvas
inZMVideoSDKVideoCanvas.h
.@property (nonatomic, assign, readonly) ZMVideoSDKCanvasType canvasType; - (ZMVideoSDKErrors)subscribeWithView:(NSView * _Nonnull)view aspectMode:(ZMVideoSDKVideoAspect)aspect resolution:(ZMVideoSDKResolution)resolution; - (ZMVideoSDKErrors)unSubscribeWithView:(NSView * _Nonnull)view; - (ZMVideoSDKErrors)setAspectMode:(NSView* _Nonnull)view aspect:(ZMVideoSDKVideoAspect)aspect; - (ZMVideoSDKErrors)setResolution:(NSView* _Nonnull)view resolution:(ZMVideoSDKResolution)resolution;
- New interfaces in
ZMVideoSDKUser
.- (ZMVideoSDKVideoCanvas *)getVideoCanvas; - (ZMVideoSDKVideoCanvas*)getShareCanvas;
- New interfaces in
ZMVideoSDKVideoHelper
.- (ZMVideoSDKErrors)startVideoCanvasPreview:(NSView*)view deviceID:(NSString* _Nullable)cameraDeviceID; - (ZMVideoSDKErrors)stopVideoCanvasPreview:(NSView*)view;
- New callbacks in
ZMVideoSDKDelegate
.- (void)onVideoCanvasSubscribeFail:(ZMVideoSDKSubscribeFailReason)failReason user:(ZMVideoSDKUser*)user view:(NSView*)view; - (void)onShareCanvasSubscribeFail:(ZMVideoSDKSubscribeFailReason)failReason user:(ZMVideoSDKUser*)user view:(NSView*)view;
- Change enum
ZMVideoSDKResolution
inZMVideoSDKDef.h
.ZMVideoSDKResolution_NoUse = 100 => ZMVideoSDKResolution_Auto = 100
- New enum
ZMVideoSDKVideoAspect
.ZMVideoSDKVideoAspect_Original, ZMVideoSDKVideoAspect_Full_Filled, ZMVideoSDKVideoAspect_LetterBox, ZMVideoSDKVideoAspect_PanAndScan
- New enum
ZMVideoSDKCanvasType
.ZMVideoSDKCanvasType_VideoData, ZMVideoSDKCanvasType_ShareData,
- New enum
ZMVideoSDKSubscribeFailReason
.ZMVideoSDKSubscribeFailReason_None, ZMVideoSDKSubscribeFailReason_HasSubscribe1080POr720P, ZMVideoSDKSubscribeFailReason_HasSubscribeTwo720P, ZMVideoSDKSubscribeFailReason_HasSubscribeExceededLimit, ZMVideoSDKSubscribeFailReason_HasSubscribeTwoShare, ZMVideoSDKSubscribeFailReason_HasSubscribeVideo1080POr720PAndOneShare
Changed and fixed
- Added dependency for
annoter.bundle
. - Fixed virtual background and video issues when switching cameras multiple times in a meeting.
- New interface