Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDK.h
Go to the documentation of this file.
1
5
6#import <UIKit/UIKit.h>
7#import <Foundation/Foundation.h>
8#import <ZoomVideoSDK/ZoomVideoSDKSession.h>
9#import <ZoomVideoSDK/ZoomVideoSDKUser.h>
10#import <ZoomVideoSDK/ZoomVideoSDKDelegate.h>
11#import <ZoomVideoSDK/ZoomVideoSDKConstants.h>
12#import <ZoomVideoSDK/ZoomVideoSDKAudioHelper.h>
13#import <ZoomVideoSDK/ZoomVideoSDKVideoHelper.h>
14#import <ZoomVideoSDK/ZoomVideoSDKUserHelper.h>
15#import <ZoomVideoSDK/ZoomVideoSDKVideoCanvas.h>
16#import <ZoomVideoSDK/ZoomVideoSDKRawDataPipe.h>
17#import <ZoomVideoSDK/ZoomVideoSDKShareHelper.h>
18#import <ZoomVideoSDK/ZoomVideoSDKLiveStreamHelper.h>
19#import <ZoomVideoSDK/ZoomVideoSDKChatHelper.h>
20#import <ZoomVideoSDK/ZoomVideoSDKPhoneHelper.h>
21#import <ZoomVideoSDK/ZoomVideoSDKCmdChannel.h>
22#import <ZoomVideoSDK/ZoomVideoSDKRecordingHelper.h>
23#import <ZoomVideoSDK/ZoomVideoSDKAudioSettingHelper.h>
24#import <ZoomVideoSDK/ZoomVideoSDKVideoSettingHelper.h>
25#import <ZoomVideoSDK/ZoomVideoSDKTestAudioDeviceHelper.h>
26#import <ZoomVideoSDK/ZoomVideoSDKLiveTranscriptionHelper.h>
27#import <ZoomVideoSDK/ZoomVideoSDKVoiceInterpretationHelper.h>
28#import <ZoomVideoSDK/ZoomVideoSDKNetworkConnectionHelper.h>
29#import <ZoomVideoSDK/ZoomVideoSDKVirtualBackgroundHelper.h>
30#import <ZoomVideoSDK/ZoomVideoSDKCRCHelper.h>
31#import <ZoomVideoSDK/ZoomVideoSDKMaskHelper.h>
32#import <ZoomVideoSDK/ZoomVideoSDKRemoteCameraControlHelper.h>
33#import <ZoomVideoSDK/ZoomVideoSDKSubSessionHelper.h>
34#import <ZoomVideoSDK/ZoomVideoSDKWhiteboardHelper.h>
35#import <ZoomVideoSDK/ZoomVideoSDKBroadcastStreamingHelper.h>
36#import <ZoomVideoSDK/ZoomVideoSDKEmojiReactionHelper.h>
37#import <ZoomVideoSDK/ZoomVideoRealTimeMediaStreamsHelper.h>
38
43@interface ZoomVideoSDKExtendParams : NSObject
47@property (nonatomic, copy) NSString * _Nullable speakerTestFilePath;
48
52@property (nonatomic, assign) NSInteger wrapperType;
53
58
59@end
60
65@interface ZoomVideoSDKInitParams : NSObject
69@property (nonatomic, copy) NSString * _Nullable domain;
73@property (nonatomic, copy) NSString * _Nullable logFilePrefix;
77@property (nonatomic, copy) NSString * _Nullable appGroupId;
81@property (nonatomic, assign) BOOL enableLog;
97@property (nonatomic, strong) ZoomVideoSDKExtendParams * _Nullable extendParam;
98@end
99
104@interface ZoomVideoSDKVideoOptions : NSObject
105
109@property (assign, nonatomic) BOOL localVideoOn;
113@property (assign, nonatomic) BOOL multitaskingCameraAccessEnabled;
114
115@end
116
121@interface ZoomVideoSDKAudioOptions : NSObject
122
126@property (assign, nonatomic) BOOL connect;
127
131@property (assign, nonatomic) BOOL mute;
132
136@property (assign, nonatomic) BOOL isMyVoiceInMix;
137
141@property (nonatomic, assign) BOOL autoAdjustSpeakerVolume;
142@end
143
148@interface ZoomVideoSDKSessionContext : NSObject
152@property (nonatomic, copy) NSString * _Nullable sessionName;
156@property (nonatomic, copy) NSString * _Nullable sessionPassword;
160@property (nonatomic, copy) NSString * _Nullable userName;
164@property (nonatomic, copy) NSString * _Nullable token;
169@property (nonatomic, assign) NSInteger sessionIdleTimeoutMins;
173@property (nonatomic, assign) BOOL enable5GHighBandWidth;
177@property (nonatomic, strong) ZoomVideoSDKAudioOptions * _Nullable audioOption;
181@property (nonatomic, strong) ZoomVideoSDKVideoOptions * _Nullable videoOption;
182
186@property (weak, nonatomic) id<ZoomVideoSDKVideoSource> _Nullable externalVideoSourceDelegate;
187
191@property (weak, nonatomic) id<ZoomVideoSDKVideoSourcePreProcessor> _Nullable preProcessorDelegate;
192
196@property (weak, nonatomic) id<ZoomVideoSDKVirtualAudioMic> _Nullable virtualAudioMicDelegate;
197
201@property (weak, nonatomic) id<ZoomVideoSDKVirtualAudioSpeaker> _Nullable virtualAudioSpeakerDelegate;
202
207@property (nonatomic, assign) BOOL autoLoadMutliStream;
213@end
214
220@interface ZoomVideoSDKPreJoinParam : NSObject
224@property (nonatomic, assign) NSUInteger timeoutInterval;
225@end
226
233@interface ZoomVideoSDK : NSObject
234
238@property (weak, nonatomic) id<ZoomVideoSDKDelegate> _Nullable delegate;
239
243+ (ZoomVideoSDK * _Nullable)shareInstance DEPRECATED_MSG_ATTRIBUTE("Use sharedInstance instead");
244
249
256- (ZoomVideoSDKError)initialize:(ZoomVideoSDKInitParams * _Nonnull)context;
257
264
270- (ZoomVideoSDKSession * _Nullable)joinSession:(ZoomVideoSDKSessionContext * _Nonnull)context;
271
279- (ZoomVideoSDKSession * _Nullable)prepareJoin:(ZoomVideoSDKSessionContext * _Nonnull)context preJoinParam:(ZoomVideoSDKPreJoinParam * _Nonnull)preJoinParam;
280
287
293
300- (ZoomVideoSDKError)leaveSession:(BOOL)end;
301
307
313
318- (NSString * _Nullable)getSDKVersion;
319
324- (NSString * _Nullable)exportLog;
325
336
342
348
354
360
366
372
378
384
390
396
402
408
414
420
426
432
438
444
451
457
463
469
474- (ZoomVideoSDKWhiteboardHelper * _Nullable)getWhiteboardHelper API_UNAVAILABLE(visionos);
475
481
482@end
ZoomVideoSDKPreferVideoResolution
Enumeration of the preferred video resolution in Zoom Video SDK.
ZoomVideoSDKRawDataMemoryMode
Enumeration of the memory modes for raw data handling.
ZoomVideoSDKFrameDataFormat
Enumeration of the raw data formats. Defines the color space format and color range for video frames.
ZoomVideoSDKSessionType
Enumeration of the session type.
ZoomVideoSDKError
Enumeration of all the errors in the VideoSDK.
A class to operate audio actions.
The audio option of join session.
BOOL connect
Determines whether local audio is connected.
BOOL isMyVoiceInMix
Determines whether my voice is in the mixed audio raw data. Default is YES.
BOOL autoAdjustSpeakerVolume
Determines whether to automatically adjust the volume of speaker if the volume is muted or the volume...
BOOL mute
Determines whether local audio is muted.
Helper interface for Cloud Room Connector (CRC) features.
A class to operate the instant message in session.
The command channel, allows users to send commands or data (such as plain text or a binary encoded in...
Emoji reaction helper interface for sending emoji reactions in a session.
ZoomVideoSDK extend params.
ZoomVideoSDKPreferVideoResolution preferVideoResolution
Gets the preferred video resolution.
NSInteger wrapperType
Gets the wrapper type.
NSString *_Nullable speakerTestFilePath
Gets the audio speaker test file path. Only supports mp3 format. The size cannot exceed 1M.
Zoom Video SDK API manager. Main singleton object that controls the video session creation,...
ZoomVideoSDKError cleanAllExportedLogs()
Cleans all exported logs.
ZoomVideoSDKSubSessionHelper *_Nullable getsubSessionHelper()
Gets the SubSession stream helper object. Only host and manager can call this interface.
ZoomVideoSDKError cancelPrepareJoin()
Cancels the prepare join. Valid in the two-step join flow.
ZoomVideoSDKAudioHelper *_Nullable getAudioHelper()
Gets an instance to manage audio controls related to the current video SDK session.
ZoomVideoSDK *_Nullable shareInstance()
Returns ZoomVideoSDK instance.
ZoomVideoSDKAudioSettingHelper *_Nullable getAudioSettingHelper()
Gets the audio setting helper.
ZoomVideoSDKVoiceInterpretationHelper *_Nullable getVoiceInterpretationHelper()
Gets the voice interpretation helper object.
ZoomVideoSDKLiveTranscriptionHelper *_Nullable getLiveTranscriptionHelper()
Gets the live transcription helper object.
ZoomVideoSDKBroadcastStreamingViewerHelper *_Nullable getBroadcastStreamingViewerHelper()
Gets the broadcast streaming viewer object.
ZoomVideoSDKWhiteboardHelper *_Nullable getWhiteboardHelper()
Gets the whiteboard helper object.
ZoomVideoSDKVirtualBackgroundHelper *_Nullable getVirtualBackgroundHelper()
Gets the virtual background helper object.
ZoomVideoSDKUserHelper *_Nullable getUserHelper()
Gets an instance to manage users present in a video SDK session.
BOOL isInSession()
Determines whether there is an active session between participants.
ZoomVideoSDKCRCHelper *_Nullable getCRCHelper()
Gets the CRC helper object.
ZoomVideoSDKVideoSettingHelper *_Nullable getVideoSettingHelper()
Gets the video setting helper.
ZoomVideoSDKTestAudioDeviceHelper *_Nullable getTestAudioDeviceHelper()
Gets the test audio device helper.
NSString *_Nullable getSDKVersion()
Gets the Zoom SDK internal version.
ZoomVideoSDKBroadcastStreamingHelper *_Nullable getBroadcastStreamingHelper()
Gets the broadcast streaming controller object.
ZoomVideoSDKShareHelper *_Nullable getShareHelper()
Gets an instance to manage screen sharing during a video SDK session.
ZoomVideoSDK *_Nullable sharedInstance()
Returns ZoomVideoSDK instance.
ZoomVideoSDKLiveStreamHelper *_Nullable getLiveStreamHelper()
Gets an instance to manage live streaming during a video SDK session.
ZoomVideoSDKChatHelper *_Nullable getChatHelper()
Gets an instance to send and receive chat messages within video SDK session participants.
ZoomVideoSDKIncomingLiveStreamHelper *_Nullable getIncomingLiveStreamHelper()
Gets the incoming live stream helper object.
ZoomVideoSDKError cleanup()
Uninitializes the Zoom SDK.
ZoomVideoSDKSessionType getSessionType()
Gets the session type of this session.
ZoomVideoSDKSession *_Nullable getSession()
Gets the current session information.
ZoomVideoSDKVideoHelper *_Nullable getVideoHelper()
Gets an instance to manage cameras and video during a video SDK session.
ZoomVideoSDKCmdChannel *_Nullable getCmdChannel()
Gets an instance to use command channel features during a video SDK session.
ZoomVideoSDKError commitJoin()
Confirms the join after prepareJoin:preJoinParam:. Valid in the two-step join flow.
ZoomVideoSDKRecordingHelper *_Nullable getRecordingHelper()
Gets an instance to manage cloud recordings during a video SDK session.
ZoomVideoSDKMaskHelper *_Nullable getMaskHelper()
Gets the mask helper object.
id< ZoomVideoSDKDelegate > _Nullable delegate
The delegate of ZoomVideoSDK, a listener object that groups together all the callbacks related to a s...
NSString *_Nullable exportLog()
Exports a log file to local disk.
ZoomVideoRealTimeMediaStreamsHelper *_Nullable getRealTimeMediaStreamsHelper()
Gets an instance to manage RTMS (Real-Time Media Streams) during a video SDK session.
ZoomVideoSDKPhoneHelper *_Nullable getPhoneHelper()
Gets an instance to manage phone invitations during a video SDK session.
ZoomVideoSDKEmojiReactionHelper *_Nullable getEmojiReactionHelper()
Gets the emoji reaction helper object.
Incoming live stream helper interface.
Parameter class use to initialize the ZoomVideoSDK.
ZoomVideoSDKRawDataMemoryMode shareRawdataMemoryMode
[Optional] The share rawdata memory mode. Default is ZoomVideoSDKRawDataMemoryModeStack.
NSString *_Nullable domain
[Required] The domain of ZoomVideoSDK.
NSString *_Nullable logFilePrefix
[Optional] The Prefix of Log file name.
ZoomVideoSDKRawDataMemoryMode audioRawdataMemoryMode
[Optional] The audio rawdata memory mode. Default is ZoomVideoSDKRawDataMemoryModeStack.
NSString *_Nullable appGroupId
[Optional] If you use screen share, you need create group id in your apple developer account,...
ZoomVideoSDKExtendParams *_Nullable extendParam
[Optional] The SDK extend params.
ZoomVideoSDKRawDataMemoryMode videoRawdataMemoryMode
[Optional] The video rawdata memory mode. Default is ZoomVideoSDKRawDataMemoryModeStack.
BOOL enableLog
[Optional] enable/disable log of SDK. log path AppData/tmp.
A class to operate the live stream.
Provides methods for controlling and interacting with live transcription.
The helper to set the video mask.
Provides methods for managing phone-related session features such as dial-in and phone invites.
Pre-join parameters for the two-step join flow.
NSUInteger timeoutInterval
The prepare join wait time in seconds. 0 uses the SDK default.
Class for using cloud recording in the session.
A Class contains the session information.
id< ZoomVideoSDKVideoSource > _Nullable externalVideoSourceDelegate
[Optional] Session external video source delegate.
id< ZoomVideoSDKVirtualAudioMic > _Nullable virtualAudioMicDelegate
[Optional] Session external audio source delegate.
BOOL enable5GHighBandWidth
[Optional] Whether to cancel the bandwidth limit, If YES is set, the network bandwidth is no longer l...
NSString *_Nullable token
[Required] JWT token to join session.
ZoomVideoSDKFrameDataFormat externalVideoSourceDataFormat
[Optional] The frame data format used for external video source initialization.
id< ZoomVideoSDKVirtualAudioSpeaker > _Nullable virtualAudioSpeakerDelegate
[Optional] Session virtual speaker.
ZoomVideoSDKVideoOptions *_Nullable videoOption
[Optional] Video Option.
NSInteger sessionIdleTimeoutMins
[Optional] The amount of time in minutes after which an idle session will end.
NSString *_Nullable userName
[Required] User Name.
NSString *_Nullable sessionPassword
[Optional] Session Password.
BOOL autoLoadMutliStream
[Optional] Whether to automatically load multiple video streams when joining the session.
ZoomVideoSDKAudioOptions *_Nullable audioOption
[Optional] Audio Option.
NSString *_Nullable sessionName
[Required] Session Name.
id< ZoomVideoSDKVideoSourcePreProcessor > _Nullable preProcessorDelegate
[Optional] Session pre-processer delegate.
Zoom Video SDK session.
Share control interface.
User control interface.
An interface to control video and manage cameras during a video session.
The video option of join session.
BOOL multitaskingCameraAccessEnabled
Sets the multitaskingCameraAccessEnabled for AVCaptureSession of local camera. For more information,...
BOOL localVideoOn
Determines whether local video is on.
Provides methods for controlling and interacting with voice interpretation.
The whiteboard helper interface.