Original publication date: March 4, 2022
Added
-
New interfaces and callback to support invite by phone
-
New interfaces in
ZMVideoSDKPhoneHelper.h
:- (BOOL)isSupportPhoneFeature; - (NSArray<ZMVideoSDKPhoneSupportCountryInfo*>*)getSupportCountryInfo; - (ZMVideoSDKErrors)inviteByPhone:(NSString*)countryCode phoneNumber:(NSString*)phoneNumber name: (NSString*)name; - (ZMVideoSDKErrors)cancelInviteByPhone; - (ZMPhoneStatus)getInviteByPhoneStatus;
-
New interface class named
ZMVideoSDKPhoneSupportCountryInfo
:@property (nonatomic, copy, readonly) NSString* countryID; @property (nonatomic, copy, readonly) NSString* countryName; @property (nonatomic, copy, readonly) NSString* countryCode;
-
New callback in
ZMVideoSDKDelegate
:- (void)onInviteByPhoneStatus:(ZMPhoneStatus)status reason:(ZMPhoneFailedReason)reason;
-
New enum named
ZMPhoneStatus
:ZMPhoneStatus_None, ZMPhoneStatus_Calling, ZMPhoneStatus_Ringing, ZMPhoneStatus_Accepted, ZMPhoneStatus_Success, ZMPhoneStatus_Failed, ZMPhoneStatus_Canceling, ZMPhoneStatus_Canceled, ZMPhoneStatus_Cancel_Failed, ZMPhoneStatus_Timeout,
-
New enum named
ZMPhoneFailedReason
:ZMPhoneFailedReason_None, ZMPhoneFailedReason_Busy, ZMPhoneFailedReason_Not_Available, ZMPhoneFailedReason_User_Hangup, ZMPhoneFailedReason_Other_Fail, ZMPhoneFailedReason_No_Answer, ZMPhoneFailedReason_Block_No_Host, ZMPhoneFailedReason_Block_High_Rate, ZMPhoneFailedReason_Block_Too_Frequent,
-
New interface in
ZMVideoSDK
:- (ZMVideoSDKPhoneHelper*)getPhoneHelper;
-
-
New error code to help troubleshooting join session issues:
-
Add new enum values to enum named
ZMVideoSDKErrors
inZMVideoSDKDef.h
:ZMVideoSDKErrors_JoinSession_NoSessionName = 1500, ZMVideoSDKErrors_JoinSession_NoSessionToken, ZMVideoSDKErrors_JoinSession_NoUserName, ZMVideoSDKErrors_JoinSession_Invalid_SessionName, ZMVideoSDKErrors_JoinSession_Invalid_Password, ZMVideoSDKErrors_JoinSession_Invalid_SessionToken, ZMVideoSDKErrors_JoinSession_SessionName_TooLong, ZMVideoSDKErrors_JoinSession_Token_MismatchedSessionName, ZMVideoSDKErrors_JoinSession_Token_NoSessionName, ZMVideoSDKErrors_JoinSession_Token_RoleType_EmptyOrWrong, ZMVideoSDKErrors_JoinSession_Token_UserIdentity_TooLong,
-