Added
-
Support for preprocess sharing.
- New enum in
ZMVideoSDKDef.h
typedef enum { ZMVideoSDKSharePreprocessType_None = 0, ZMVideoSDKSharePreprocessType_Screen, ZMVideoSDKSharePreprocessType_View }ZMVideoSDKSharePreprocessType;- New class in
ZMVideoSDKShareHelper.h
@interface ZMVideoSDKSharePreprocessParam : NSObject @property(nonatomic,assign)ZMVideoSDKSharePreprocessType type; @property(nonatomic,assign)CGDirectDisplayID monitorID; @property(nonatomic,assign)CGWindowID windowID; @end- New class in
ZMVideoSDKShareHelper.h
@interface ZMVideoSDKSharePreprocessSender : NSObject -(ZMVideoSDKErrors)sendPreprocessedData:(ZMVideoSDKYUVRawDataI420*)rawdata; @end- New
protocolinZMVideoSDKShareHelper.h
@protocol ZMVideoSDKSharePreprocessor <NSObject> -(void)onCapturedRawDataReceived:(ZMVideoSDKYUVRawDataI420*)rawdata sharePreprocessSender:(ZMVideoSDKSharePreprocessSender * _Nonnull)sender; -(void)onShareStopped; @end- New interface in
ZMVideoSDKShareHelper
- (ZMVideoSDKErrors)startShareWithPreprocessing:(ZMVideoSDKSharePreprocessParam* _Nonnull)param sharePreprocessor:(id<ZMVideoSDKSharePreprocessor> _Nonnull)preprocessor; - New enum in
-
Support for breakout rooms.
- New enum in
ZMVideoSDKDef.h
typedef enum { ZMVideoSDKSubSessionStatus_None, ZMVideoSDKSubSessionStatus_Committed, ZMVideoSDKSubSessionStatus_Withdrawn, ZMVideoSDKSubSessionStatus_Started, ZMVideoSDKSubSessionStatus_Stopping, ZMVideoSDKSubSessionStatus_Stopped, ZMVideoSDKSubSessionStatus_CommitFailed, ZMVideoSDKSubSessionStatus_WithdrawFailed, ZMVideoSDKSubSessionStatus_StartFailed, ZMVideoSDKSubSessionStatus_StopFailed }ZMVideoSDKSubSessionStatus; typedef enum { ZMVideoSDKSessionType_MainSession = 0, ZMVideoSDKSessionType_SubSession }ZMVideoSDKSessionType; typedef enum { ZMVideoSDKUserHelpRequestResult_Idle, ZMVideoSDKUserHelpRequestResult_Busy, ZMVideoSDKUserHelpRequestResult_Ignore, ZMVideoSDKUserHelpRequestResult_HostAlreadyInSubSession }ZMVideoSDKUserHelpRequestResult;- New interface in
ZMVideoSDK.h
- (ZMVideoSDKSubSessionHelper*)getSubSessionHelper;- New interface in
ZMVideoSDKSession
- (ZMVideoSDKSessionType)getSessionType;- New interface in
ZMVideoSDKUser
- (BOOL)isInSubSession;- New interface in
ZMVideoSDKSubSessionHelper.h
@interface ZMVideoSDKSubSessionUser : NSObject @property(nonatomic, copy, readonly)NSString* userName; @property(nonatomic, copy, readonly)NSString* userGUID; @end @interface ZMVideoSDKSubSessionKit : NSObject @property(nonatomic, copy, readonly)NSString* subSessionName; @property(nonatomic, copy, readonly)NSString* subSessionID; - (NSArray<ZMVideoSDKSubSessionUser*>*)getSubSessionUserList; - (ZMVideoSDKErrors)joinSubSession; @end @interface ZMVideoSDKSubSessionUserHelpRequestHandler : NSObject @property(nonatomic, copy, readonly)NSString* requestUserName; @property(nonatomic, copy, readonly)NSString* requestSubSessionName; - (ZMVideoSDKErrors)ignore; - (ZMVideoSDKErrors)joinSubSessionByUserRequest; @end @interface ZMVideoSDKSubSessionManager : NSObject - (ZMVideoSDKErrors)startSubSession; - (BOOL)isSubSessionStarted; - (ZMVideoSDKErrors)stopSubSession; - (ZMVideoSDKErrors)broadcastMessage:(NSString*)message; @end @interface ZMVideoSDKSubSessionParticipant : NSObject - (ZMVideoSDKErrors)returnToMainSession; - (ZMVideoSDKErrors)requestForHelp; @end @interface ZMVideoSDKSubSessionHelper : NSObject - (ZMVideoSDKErrors)commitSubSessionList:(NSArray<NSString*>*)subSessionList; - (ZMVideoSDKErrors)withdrawSubSessionList; - (NSArray<ZMVideoSDKSubSessionKit*>*)getCommittedSubSessionList; @end - New enum in
Fixed
- Issue where if the video aspect mode is set to
ZMVideoSDKVideoAspect_Full_Filled, calling thecreateAnnotationHelperfunction returned nil.
