Published July 26, 2023
Breaking change:
- Modified the interfaces for Annotation feature.
-
Modified the enum of
MobileRTCAnnoTool
inMobileRTCAnnotationService.h
.typedef NS_ENUM(NSUInteger, MobileRTCAnnoTool) { MobileRTCAnnoTool_None = 0, MobileRTCAnnoTool_Pen, MobileRTCAnnoTool_HighLighter, MobileRTCAnnoTool_AutoLine, MobileRTCAnnoTool_AutoRectangle, MobileRTCAnnoTool_AutoEllipse, MobileRTCAnnoTool_AutoArrow, MobileRTCAnnoTool_AutoRectangleFill, MobileRTCAnnoTool_AutoEllipseFill, MobileRTCAnnoTool_SpotLight, MobileRTCAnnoTool_Arrow, MobileRTCAnnoTool_ERASER, MobileRTCAnnoTool_Picker, MobileRTCAnnoTool_AutoRectangleSemiFill, MobileRTCAnnoTool_AutoEllipseSemiFill, MobileRTCAnnoTool_AutoDoubleArrow, MobileRTCAnnoTool_AutoDiamond, MobileRTCAnnoTool_AutoStampArrow, MobileRTCAnnoTool_AutoStampCheck, MobileRTCAnnoTool_AutoStampX, MobileRTCAnnoTool_AutoStampStar, MobileRTCAnnoTool_AutoStampHeart, MobileRTCAnnoTool_AutoStampQm, };
-
New added enum in
MobileRTCAnnotationService.h
.typedef NS_ENUM(NSUInteger, MobileRTCAnnoClearType) { MobileRTCAnnoClearType_All = 0, ///<Clear all annotations. Hosts, managers and shared meeting owners can use. MobileRTCAnnoClearType_My, ///<Clear only your own annotations. Everyone can use. MobileRTCAnnoClearType_Others, ///<Clear only the others' annotations. Only shared meeting owners can use. };
-
Modified the following interface in
MobileRTCAnnotationService.h
.- (nullable UIColor *)getToolColor; - (MobileRTCAnnotationError)clear:(MobileRTCAnnoClearType)type;
to be
- (nullable UIColor *)getToolColor:(MobileRTCAnnoTool)tooltype; - (MobileRTCAnnotationError)clear;
-
New added interfaces in
MobileRTCAnnotationService.h
.- (MobileRTCAnnoTool)getToolType; - (NSUInteger)getToolWidth;
-
Added
-
New added interface to send external share data with audio feature.
-
New interface to send share audio in
MobileRTCShareAudioSender.h
.- (MobileRTCRawDataError)sendShareAudio:(char *)data dataLength:(NSUInteger)length sampleRate:(NSUInteger)rate audioChannel:(MobileRTCAudioChannel)channel;
-
New interface to send share external share data with audio data in
MobileRTCShareSourceHelper.h
.- (MobileRTCRawDataError)setExternalShareSource:(id<MobileRTCShareSourceDelegate> _Nullable)shareDelegate andAudioSource:(id <MobileRTCShareAudioSourceDelegate> _Nullable)audioDelegate;
-
New enum for audio channel in
MobileRTCConstants.h
.typedef NS_ENUM(NSInteger, MobileRTCAudioChannel) { MobileRTCAudioChannel_Mono, /// mono MobileRTCAudioChannel_Stereo, /// stereo };
-
New protocol to send share audio in
MobileRTCMeetingDelegate.h
.@protocol MobileRTCShareAudioSourceDelegate <NSObject> - (void)onStartSendAudio:(MobileRTCShareAudioSender *_Nonnull)sender; - (void)onStopSendAudio;
-
-
New added interface to support getting last-used avatar and enable always-showing-avatar in future meeting.
-
New added interface in
MobileRTCMeetingService+Avatar.h
.- (BOOL)is3DAvatarEffectForAllMeetingEnabled; - (MobileRTCSDKError)enable3DAvatarEffectForAllMeeting:(BOOL)enable;
-
New added property for object
MobileRTC3DAvatarImageInfo
inMobileRTCMeetingService+Avatar.h
to indicate whether the avatar is last-used or not.@property(nonatomic,assign) BOOL isLastUsed;
-
-
New added interface to support Zoom default user interface picture-in-picture feature.
-
New added interface for check the VoIP call is running in
MobileRTCMeetingDelegate.h
.- (BOOL)onCheckIfMeetingVoIPCallRunning;
-
-
New added interface to check and set the picture-in-picture mode in
MobileRTCSeeting.h
.- (BOOL)videoCallPictureInPictureEnabled; - (void)enableVideoCallPictureInPicture:(BOOL)enable;
-
New added support AV1 video codec feature.
Fixed
- Fixed an issue where the function
is3DAvatarSupportedByDevice
returned False even if the iOS device supported 3D avatars. - Fixed an issue where the app might crash when receiving live transcription message.
Deprecated
-
Deprecated function in
MobileRTCShareSourceHelper.h
.- (MobileRTCRawDataError)setExternalShareSource:(id<MobileRTCShareSourceDelegate> _Nullable)delegate