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/ZoomVideoSDKNetworkConnectionHelper.h>
28#import <ZoomVideoSDK/ZoomVideoSDKVirtualBackgroundHelper.h>
29#import <ZoomVideoSDK/ZoomVideoSDKCRCHelper.h>
30#import <ZoomVideoSDK/ZoomVideoSDKMaskHelper.h>
31#import <ZoomVideoSDK/ZoomVideoSDKRemoteCameraControlHelper.h>
32#import <ZoomVideoSDK/ZoomVideoSDKSubSessionHelper.h>
33#import <ZoomVideoSDK/ZoomVideoSDKWhiteboardHelper.h>
34#import <ZoomVideoSDK/ZoomVideoSDKBroadcastStreamingHelper.h>
35#import <ZoomVideoSDK/ZoomVideoRealTimeMediaStreamsHelper.h>
36
41@interface ZoomVideoSDKExtendParams : NSObject
45@property (nonatomic, copy) NSString * _Nullable speakerTestFilePath;
46
50@property (nonatomic, assign) NSInteger wrapperType;
51
56
57@end
58
63@interface ZoomVideoSDKInitParams : NSObject
67@property (nonatomic, copy) NSString * _Nullable domain;
71@property (nonatomic, copy) NSString * _Nullable logFilePrefix;
75@property (nonatomic, copy) NSString * _Nullable appGroupId;
79@property (nonatomic, assign) BOOL enableLog;
95@property (nonatomic, strong) ZoomVideoSDKExtendParams * _Nullable extendParam;
96@end
97
102@interface ZoomVideoSDKVideoOptions : NSObject
103
107@property (assign, nonatomic) BOOL localVideoOn;
111@property (assign, nonatomic) BOOL multitaskingCameraAccessEnabled;
112
113@end
114
119@interface ZoomVideoSDKAudioOptions : NSObject
120
124@property (assign, nonatomic) BOOL connect;
125
129@property (assign, nonatomic) BOOL mute;
130
134@property (assign, nonatomic) BOOL isMyVoiceInMix;
135
139@property (nonatomic, assign) BOOL autoAdjustSpeakerVolume;
140@end
141
146@interface ZoomVideoSDKSessionContext : NSObject
150@property (nonatomic, copy) NSString * _Nullable sessionName;
154@property (nonatomic, copy) NSString * _Nullable sessionPassword;
158@property (nonatomic, copy) NSString * _Nullable userName;
162@property (nonatomic, copy) NSString * _Nullable token;
167@property (nonatomic, assign) NSInteger sessionIdleTimeoutMins;
171@property (nonatomic, assign) BOOL enable5GHighBandWidth;
175@property (nonatomic, strong) ZoomVideoSDKAudioOptions * _Nullable audioOption;
179@property (nonatomic, strong) ZoomVideoSDKVideoOptions * _Nullable videoOption;
180
184@property (weak, nonatomic) id<ZoomVideoSDKVideoSource> _Nullable externalVideoSourceDelegate;
185
189@property (weak, nonatomic) id<ZoomVideoSDKVideoSourcePreProcessor> _Nullable preProcessorDelegate;
190
194@property (weak, nonatomic) id<ZoomVideoSDKVirtualAudioMic> _Nullable virtualAudioMicDelegate;
195
199@property (weak, nonatomic) id<ZoomVideoSDKVirtualAudioSpeaker> _Nullable virtualAudioSpeakerDelegate;
200
205@property (nonatomic, assign) BOOL autoLoadMutliStream;
206@end
207
214@interface ZoomVideoSDK : NSObject
215
219@property (weak, nonatomic) id<ZoomVideoSDKDelegate> _Nullable delegate;
220
225
232- (ZoomVideoSDKError)initialize:(ZoomVideoSDKInitParams * _Nonnull)context;
233
240
246- (ZoomVideoSDKSession * _Nullable)joinSession:(ZoomVideoSDKSessionContext * _Nonnull)context;
247
254- (ZoomVideoSDKError)leaveSession:(BOOL)end;
255
261
267
272- (NSString * _Nullable)getSDKVersion;
273
278- (NSString * _Nullable)exportLog;
279
290
296
302
308
314
320
326
332
338
344
350
356
362
368
374
380
386
392
399
405
411
416- (ZoomVideoSDKWhiteboardHelper * _Nullable)getWhiteboardHelper API_UNAVAILABLE(visionos);
417
423
424@end
ZoomVideoSDKPreferVideoResolution
Enumeration of the preferred video resolution in Zoom Video SDK.
ZoomVideoSDKRawDataMemoryMode
Enumeration of the memory modes for raw data handling.
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...
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.
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.
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.
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.
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.
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.
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.
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.
The whiteboard helper interface.