Added
-
Support for preprocess sharing.
- New enum
ZoomVideoSDKSharePreprocessType
enum ZoomVideoSDKSharePreprocessType { ZoomVideoSDKSharePreprocessType_none, ///<For initialization. ZoomVideoSDKSharePreprocessType_screen, ///<For share screen(monitor). ZoomVideoSDKSharePreprocessType_view ///<For share view(application window). };- New struct
ZoomVideoSDKSharePreprocessParam
struct ZoomVideoSDKSharePreprocessParam { ZoomVideoSDKSharePreprocessType type; ///<The share pre-process type void* handle; ///<The window handle that will to be share and pre-process. const zchar_t* monitorID; ///<The screen name that will to be share and pre-process. ZoomVideoSDKSharePreprocessParam() { type = ZoomVideoSDKSharePreprocessType_none; handle = nullptr; monitorID = nullptr; } };- New class
IZoomVideoSDKSharePreprocessSender
class IZoomVideoSDKSharePreprocessSender { public: virtual ZoomVideoSDKErrors sendPreprocessedData(YUVRawDataI420* pRawData) = 0; };- New class
IZoomVideoSDKSharePreprocessor
class IZoomVideoSDKSharePreprocessor { public: virtual void onCapturedRawDataReceived(YUVRawDataI420* pRawData, IZoomVideoSDKSharePreprocessSender* pSender) = 0; virtual void onShareStopped() = 0; };- New class
IZoomVideoSDKShareHelper
class IZoomVideoSDKShareHelper { public: ....................................................................................................................... virtual ZoomVideoSDKErrors startShareWithPreprocessing(const ZoomVideoSDKSharePreprocessParam& param, IZoomVideoSDKSharePreprocessor* preprocessor) = 0; ....................................................................................................................... }; - New enum
-
Support for breakout rooms.
- Enum
ZoomVideoSDKSubSessionStatus
enum ZoomVideoSDKSubSessionStatus { /** The Initialized status. */ ZoomVideoSDKSubSessionStatus_None = 0, /** When a SubSession is committed. */ ZoomVideoSDKSubSessionStatus_Committed, /** When a SubSession is withdrawn. */ ZoomVideoSDKSubSessionStatus_Withdrawn, /** When the SubSession is started. */ ZoomVideoSDKSubSessionStatus_Started, /** When the SubSession is stopping. */ ZoomVideoSDKSubSessionStatus_Stopping, /** When the SubSession is stopped. */ ZoomVideoSDKSubSessionStatus_Stopped, /** When commit SubSession failed. */ ZoomVideoSDKSubSessionStatus_CommitFailed, /** When withdraw SubSession failed. */ ZoomVideoSDKSubSessionStatus_WithdrawFailed, /** When start SubSession failed. */ ZoomVideoSDKSubSessionStatus_StartFailed, /** When stop SubSession failed. */ ZoomVideoSDKSubSessionStatus_StopFailed, };- New enum
ZoomVideoSDKUserHelpRequestResult
enum ZoomVideoSDKUserHelpRequestResult { /** The host has received the help request, and no one else is currently requesting help. */ ZoomVideoSDKUserHelpRequestResult_Idle = 0, /** Host is handling other's request with the request dialog. */ ZoomVideoSDKUserHelpRequestResult_Busy, /** The host is handling another user's request. */ ZoomVideoSDKUserHelpRequestResult_Ignore, /** The host is already in this SubSession. */ ZoomVideoSDKUserHelpRequestResult_HostAlreadyInSubSession };- New enum
ZoomVideoSDKSessionType
// zoom_video_sdk_def.h enum ZoomVideoSDKSessionType { ZoomVideoSDKSessionType_MainSession = 0, ZoomVideoSDKSessionType_SubSession, };- New class
ISubSessionUser
class ISubSessionUser { public: virtual const zchar_t* getUserName() = 0; virtual const zchar_t* getUserGUID() = 0; };- New class
ISubSessionKit
class ISubSessionKit { public: virtual const zchar_t* getSubSessionName() = 0; virtual const zchar_t* getSubSessionID() = 0; virtual IVideoSDKVector<ISubSessionUser*>* getSubSessionUserList() = 0; virtual ZoomVideoSDKErrors joinSubSession() = 0; };- New class
ISubSessionUserHelpRequestHandler
class ISubSessionUserHelpRequestHandler { public: virtual const zchar_t* getRequestUserName() = 0; virtual const zchar_t* getRequestSubSessionName() = 0; virtual ZoomVideoSDKErrors ignore() = 0; virtual ZoomVideoSDKErrors joinSubSessionByUserRequest() = 0; };- New class
IZoomVideoSDKSubSessionManager
class IZoomVideoSDKSubSessionManager { public: virtual ZoomVideoSDKErrors startSubSession() = 0; virtual bool isSubSessionStarted() = 0; virtual ZoomVideoSDKErrors stopSubSession() = 0; virtual ZoomVideoSDKErrors broadcastMessage(const zchar_t* sMessage) = 0; };- New class
IZoomVideoSDKSubSessionParticipant
class IZoomVideoSDKSubSessionParticipant { public: virtual ZoomVideoSDKErrors returnToMainSession() = 0; virtual ZoomVideoSDKErrors requestForHelp() = 0; };- New class
IZoomVideoSDKSubSessionHelper
class IZoomVideoSDKSubSessionHelper { public: virtual ZoomVideoSDKErrors addSubSessionToPreList(const zchar_t* sSubSessionName) = 0; virtual ZoomVideoSDKErrors removeSubSessionFromPreList(const zchar_t* sSubSessionName) = 0; virtual ZoomVideoSDKErrors clearSubSessionPreList() = 0; virtual IVideoSDKVector<const zchar_t*>* getSubSessionPreList() = 0; virtual ZoomVideoSDKErrors commitSubSessionList() = 0; virtual ZoomVideoSDKErrors withdrawSubSessionList() = 0; virtual IVideoSDKVector<ISubSessionKit*>* getCommittedSubSessionList() = 0; };- New callbacks in
IZoomVideoSDKDelegate
virtual void onSubSessionStatusChanged(ZoomVideoSDKSubSessionStatus status, IVideoSDKVector<ISubSessionKit*>* pSubSessionKitList) = 0; virtual void onSubSessionManagerHandle(IZoomVideoSDKSubSessionManager* pManager) = 0; virtual void onSubSessionParticipantHandle(IZoomVideoSDKSubSessionParticipant* pParticipant) = 0; virtual void onSubSessionUsersUpdate(ISubSessionKit* pSubSessionKit) = 0; virtual void onBroadcastMessageFromMainSession(const zchar_t* sMessage, const zchar_t* sUserName) = 0; virtual void onSubSessionUserHelpRequest(ISubSessionUserHelpRequestHandler* pHandler) = 0; virtual void onSubSessionUserHelpRequestResult(ZoomVideoSDKUserHelpRequestResult eResult) = 0;- New method in
IZoomVideoSDK
virtual IZoomVideoSDKSubSessionHelper* getSubSessionHelper() = 0;- New method in
IZoomVideoSDKSession
virtual ZoomVideoSDKSessionType getSessionType() = 0;- New method in
IZoomVideoSDKUser
virtual bool isInSubSession() = 0; - Enum
