Video SDK iOS v1.1.0
1623709257620
Added
Virtual audio mic to allow sending raw audio into a session. The interfaces for this are located in
ZoomVideoSDK.h
,ZoomVideoSDKDelegate.h
andZoomVideoSDKAudioSender.h
:
@property (nonatomic, assign) id<ZoomVideoSDKVirtualAudioMic> _Nullable virtualAudioMicDelegate;
@protocol ZoomVideoSDKVirtualAudioMic <NSObject>
@optional
- (void)onMicInitialize:(ZoomVideoSDKAudioSender *_Nonnull)rawDataSender;
- (void)onMicStartSend;
- (void)onMicStopSend;
- (void)onMicUninitialized;
@end
- (ZoomVideoSDKERROR)send:(char *)data dataLength:(NSUInteger)dataLength sampleRate:(NSUInteger)sampleRate;
Virtual audio speaker to allow listening to audio sent from a virtual audio mic. The interfaces for this are located in
ZoomVideoSDK.h
,ZoomVideoSDKAudioSender.h
andZoomVideoSDKDelegate.h
:
@property (nonatomic, assign) id<ZoomVideoSDKVirtualAudioSpeaker> _Nullable virtualAudioSpeakerDelegate;
@protocol ZoomVideoSDKVirtualAudioSpeaker <NSObject>
@optional
-(void)onVirtualSpeakerMixedAudioReceived:(ZoomVideoSDKAudioRawData*)rawData;
-(void)onVirtualSpeakerOneWayAudioReceived:(ZoomVideoSDKAudioRawData*)rawData user:(ZoomVideoSDKUser *)user;
-(void)onVirtualSpeakerSharedAudioReceived:(ZoomVideoSDKAudioRawData*)rawData;
@end
Ability to share device audio when sharing the screen. The interfaces for this are located in
ZoomVideoSDKScreenShareService.h
andZoomVideoSDKShareHelper.h
:
@property (nonatomic, assign) BOOL isWithDeviceAudio;
- (BOOL)isScreenSharingOut;
- (BOOL)isShareDeviceAudioEnabled;
- (BOOL)enableShareDeviceAudio:(BOOL)enable;
Callback to receive audio sent during a screenshare:
- (void)onSharedAudioRawDataReceived:(ZoomVideoSDKAudioRawData *)rawData;
A new interface to get a list of all users who are not the current local user:
- (NSArray <ZoomVideoSDKUser*>* _Nullable)getRemoteUsers;
A new delegate for listening to external video source events:
@property (nonatomic, assign) id<ZoomVideoSDKVideoSource> _Nullable externalVideoSourceDelegate;
The following errors:
Errors_Session_Audio_No_Microphone,
Errors_Preprocess_Rawdata_Error,
Errors_Rawdata_No_Device_Running,
Errors_Rawdata_Init_Device,
Errors_Rawdata_Virtual_Device,
Errors_Rawdata_Cannot_Change_Virtual_Device_In_Preview,
Errors_Rawdata_Internal_Error,
Errors_Rawdata_Send_Too_Much_Data_In_Single_Time,
Errors_Rawdata_Send_Too_Frequently,
Errors_Rawdata_Virtual_Mic_Is_Terminate,
Errors_meeting_Share_Error = 7001,
Errors_meeting_Share_Module_Not_Ready,
Errors_meeting_Share_You_Are_Not_Sharing,
Errors_meeting_Share_Type_Is_Not_Support,
Errors_meeting_Share_Internal_Error
Changed & Fixed
Fixed bug with Zoom canvas rotation error after mute/unmute video.
Fixed bugs in build errors when using Swift.
Changed frameworks from fat frameworks to XCFrameworks (
ZoomVideoSDK.xcframework
andZoomVideoSDKScreenShare.xcframework
). XCFrameworks can be run on both simulator and device.Updated
ZoomVideoSDKError
enumeration values:
Errors_Malloc_Failed = 6001
Errors_Not_In_Session
Changed SDK name from
ZoomInstantSDK
toZoomVideoSDK
.Modified
ZoomVideoSDKScreenShareService
initialize method. You only need to call the SDK interface to initialize:
- (instancetype _Nonnull)initWithParams:(ZoomVideoSDKScreenShareServiceInitParams *_Nonnull)params;)
Changed - OpenSSL upgraded to 1.1.1k.
Removed
- (NSUInteger)getUserId;
- (NSArray <ZoomVideoSDKUser
*>*
_Nullable)getAllUsers;
- (ZoomInstantSDKUser * _Nullable)getUser:(NSString *_Nonnull)userId;
Warnings
If using the virtual speaker, screen share will only share video data and will not share the audio data.
After receiving the SDK audio raw data, it is not recommended to perform heavy tasks in the callback thread.
Did you like this update?