Breaking Changes
- New interfaces to support multi sharing sessions which can easily and smoothly switch the sharing content without stopping any sharing.
-
New class in
zoom_video_sdk_share_helper_interface.h.class IZoomVideoSDKShareAction { virtual unsigned int getShareSourceId() = 0; #if !defined __linux && !defined ANDROID virtual IZoomVideoSDKCanvas* getShareCanvas() = 0; #endif virtual IZoomVideoSDKRawDataPipe* getSharePipe() = 0; virtual ZoomVideoSDKShareStatus getShareStatus() = 0; virtual ZoomVideoSDKSubscribeFailReason getSubscribeFailReason() = 0; virtual bool isAnnotationPrivilegeEnabled() = 0; virtual ZoomVideoSDKShareType getShareType() = 0; }; -
New interface in class
IZoomVideoSDKUser.virtual IVideoSDKVector<IZoomVideoSDKShareAction*>* getShareActionList() = 0; -
Deleted interfaces in
IZoomVideoSDKUser.virtual IZoomVideoSDKCanvas* GetShareCanvas() = 0; virtual IZoomVideoSDKRawDataPipe* GetSharePipe() = 0; -
New interface in class
IZoomVideoSDKDelegate.virtual void onFailedToStartShare(IZoomVideoSDKShareHelper* pShareHelper, IZoomVideoSDKUser* pUser) = 0; -
New parameters in the callbacks in class
IZoomVideoSDKDelegate.virtual void onUserShareStatusChanged(IZoomVideoSDKShareHelper* pShareHelper, IZoomVideoSDKUser* pUser, IZoomVideoSDKShareAction* pShareAction) = 0; virtual void onAnnotationPrivilegeChange(IZoomVideoSDKUser* pUser, IZoomVideoSDKShareAction* pShareAction) = 0; virtual void onShareCanvasSubscribeFail(IZoomVideoSDKUser* pUser, void* handle,IZoomVideoSDKShareAction* pShareAction) = 0; virtual void onRemoteControlStatus(IZoomVideoSDKUser* pUser, IZoomVideoSDKShareAction* pShareAction, ZoomVideoSDKRemoteControlStatus status) = 0; virtual void onRemoteControlRequestReceived(IZoomVideoSDKUser* pUser, IZoomVideoSDKShareAction* pShareAction,IZoomVideoSDKRemoteControlRequestHandler* pRemoteControlRequestHandler) = 0;
-
Added
- New interfaces to support RTMP streaming.
-
New interface in
IZoomVideoSDKinzoom_video_sdk_interface.h.virtual IZoomVideoSDKIncomingLiveStreamHelper* getIncomingLiveStreamHelper() = 0; -
New struct
IncomingLiveStreamStatusinzoom_video_sdk_livestream_helper_interface.h.struct IncomingLiveStreamStatus { const zchar_t* strStreamKeyID; ///<The incoming live stream id bool isRTMPConnected; ///<Is the streaming software(such as OBS) connected to the zoom platform? false: no, true: yes bool isStreamPushed; ///Has the video stream been pushed to the session? false: no, true: yes IncomingLiveStreamStatus() { strStreamKeyID = NULL; isRTMPConnected = false; isStreamPushed = false; } }; -
New class
IZoomVideoSDKIncomingLiveStreamHelperinzoom_video_sdk_livestream_helper_interface.h.class IZoomVideoSDKIncomingLiveStreamHelper { public: virtual ZoomVideoSDKErrors bindIncomingLiveStream(const zchar_t* strStreamKeyID) = 0; virtual ZoomVideoSDKErrors unbindIncomingLiveStream(const zchar_t* strStreamKeyID) = 0; virtual ZoomVideoSDKErrors getIncomingLiveStreamStatus() = 0; virtual ZoomVideoSDKErrors startIncomingLiveStream(const zchar_t* strStreamKeyID) = 0; virtual ZoomVideoSDKErrors stopIncomingLiveStream(const zchar_t* strStreamKeyID) = 0; }; -
New callbacks in
IZoomVideoSDKDelegateinzoom_video_sdk_delegate_interface.h.class IZoomVideoSDKDelegate { public: ................................................................................................ virtual void onBindIncomingLiveStreamResponse(bool bSuccess, const zchar_t* strStreamKeyID) = 0; virtual void onUnbindIncomingLiveStreamResponse(bool bSuccess, const zchar_t* strStreamKeyID) = 0; virtual void onIncomingLiveStreamStatusResponse(bool bSuccess, IVideoSDKVector<IncomingLiveStreamStatus>* pStreamsStatusList) = 0; virtual void onStartIncomingLiveStreamResponse(bool bSuccess, const zchar_t* strStreamKeyID) = 0; virtual void onStopIncomingLiveStreamResponse(bool bSuccess, const zchar_t* strStreamKeyID) = 0; ................................................................................................ }; -
New interface in
IZoomVideoSDKUserinzoom_video_sdk_user_helper_interface.h.class IZoomVideoSDKUser { .............................................................................................................................. virtual bool IsIncomingLiveStreamUser() = 0; .............................................................................................................................. }
-
