Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
ZMVideoSDK.h
Go to the documentation of this file.
1
9#import <Foundation/Foundation.h>
10#import <ZMVideoSDK/ZMVideoSDKDelegate.h>
11#import <ZMVideoSDK/ZMVideoSDKAudioHelper.h>
12#import <ZMVideoSDK/ZMVideoSDKVideoHelper.h>
13#import <ZMVideoSDK/ZMVideoSDKUserHelper.h>
14#import <ZMVideoSDK/ZMVideoSDKShareHelper.h>
15#import <ZMVideoSDK/ZMVideoSDKLiveStreamHelper.h>
16#import <ZMVideoSDK/ZMVideoSDKChatHelper.h>
17#import <ZMVideoSDK/ZMVideoSDKSession.h>
18#import <ZMVideoSDK/ZMVideoSDKVideoSourceHelper.h>
19#import <ZMVideoSDK/ZMVideoSDKAudioSendRawdata.h>
20#import <ZMVideoSDK/ZMVideoSDKChatMessage.h>
21#import <ZMVideoSDK/ZMVideoSDKPasswordHandler.h>
22#import <ZMVideoSDK/ZMVideoSDKRecordingHelper.h>
23#import <ZMVideoSDK/ZMVideoSDKPhoneHelper.h>
24#import <ZMVideoSDK/ZMVideoSDKCmdChannel.h>
25#import <ZMVideoSDK/ZMVideoSDKAudioSettingHelper.h>
26#import <ZMVideoSDK/ZMVideoSDKNetworkConnectionHelper.h>
27#import <ZMVideoSDK/ZMVideoSDKRecordingConsentHandler.h>
28#import <ZMVideoSDK/ZMVideoSDKVideoSettingHelper.h>
29#import <ZMVideoSDK/ZMVideoSDKShareSettingHelper.h>
30#import <ZMVideoSDK/ZMVideoSDKVideoCanvas.h>
31#import <ZMVideoSDK/ZMVideoSDKCRCHelper.h>
32#import <ZMVideoSDK/ZMVideoSDKAnnotationHelper.h>
33#import <ZMVideoSDK/ZMVideoSDKLiveTranscriptionHelper.h>
34#import <ZMVideoSDK/ZMVideoSDKSubSessionHelper.h>
35
36NS_ASSUME_NONNULL_BEGIN
38
43@interface ZMVideoSDKInitParams : NSObject
47@property (nonatomic, retain, readwrite, nullable) NSString* domain;
48
52@property (nonatomic, retain, readwrite, nullable) NSString* logFilePrefix;
53
57@property (nonatomic, assign, readwrite) BOOL enableLog;
58
62@property (nonatomic, assign, readwrite) ZMVideoSDKRawDataMemoryMode audioRawDataMemoryMode;
63
67@property (nonatomic, assign, readwrite) ZMVideoSDKRawDataMemoryMode videoRawDataMemoryMode;
68
72@property (nonatomic, assign, readwrite) ZMVideoSDKRawDataMemoryMode shareRawDataMemoryMode;
73
77@property (retain, nonatomic, nullable) ZMVideoSDKExtendParams *extendParams;
78@end
79
84@interface ZMVideoSDKExtendParams : NSObject
89@property (nonatomic, copy, nullable) NSString *speakerTestFilePath;
90
94@property (nonatomic, assign, readwrite) int wrapperType;
95
99@property (nonatomic, assign, readwrite) ZMVideoSDKPreferVideoResolution preferVideoResolution;
100
104@property (nonatomic, assign, readwrite) BOOL disableKeychainAccess;
105@end
106
107
112@interface ZMVideoSDKVideoOption : NSObject
116@property (nonatomic, assign, readwrite) BOOL localVideoOn;
117@end
118
123@interface ZMVideoSDKAudioOption : NSObject
127@property (nonatomic, assign, readwrite) BOOL connect;
128
132@property (nonatomic, assign, readwrite) BOOL mute;
133
137@property (nonatomic, assign, readwrite) BOOL isMyVoiceInMix;
138
142@property (nonatomic, assign, readwrite) BOOL autoAdjustSpeakerVolume;
143
144@end
145
150@interface ZMVideoSDKSessionContext : NSObject
151
155@property (nonatomic, retain, readwrite, nullable) NSString* sessionName;
156
160@property (nonatomic, retain, readwrite, nullable) NSString* sessionPassword;
161
165@property (nonatomic, retain, readwrite, nullable) NSString* userName;
166
170@property (nonatomic, retain, readwrite, nullable) NSString* token;
171
175@property (nonatomic, retain, readwrite, nullable) ZMVideoSDKVideoOption* videoOption;
176
180@property (nonatomic, retain, readwrite, nullable) ZMVideoSDKAudioOption* audioOption;
181
185@property (nonatomic, assign, readwrite) id<ZMVideoSDKVideoSourcePreProcessor> preProcessor;
189@property (nonatomic, assign, readwrite) id<ZMVideoSDKVideoSource> externalVideoSource;
193@property (nonatomic, assign, readwrite) id<ZMVideoSDKVirtualAudioMic> virtualAudioMic;
197@property (nonatomic, assign, readwrite) id<ZMVideoSDKVirtualAudioSpeaker> virtualAudioSpeaker;
203@property (nonatomic, assign, readwrite) unsigned int sessionIdleTimeoutMins;
207@property (nonatomic, assign, readwrite) BOOL autoLoadMutliStream;
208@end
209
210
215@interface ZMVideoSDK : NSObject
216
221+ (ZMVideoSDK*)sharedVideoSDK;
222
228- (ZMVideoSDKErrors)initialize:(ZMVideoSDKInitParams*)params;
229
233- (void)cleanUp;
234
239- (void)addListener:(id <ZMVideoSDKDelegate>)listener;
240
245- (void)removeListener:(id <ZMVideoSDKDelegate>)listener;
246
252- (ZMVideoSDKSession* _Nullable)joinSession:(ZMVideoSDKSessionContext*)params;
253
259- (ZMVideoSDKErrors)leaveSession:(BOOL)end;
260
265- (ZMVideoSDKSession*)getSessionInfo;
266
271- (BOOL)isInSession;
272
277- (NSString* _Nullable)getSDKVersion;
278
283- (NSString* _Nullable)exportLog;
284
289- (ZMVideoSDKErrors)cleanAllExportedLogs;
290
295- (ZMVideoSDKAudioHelper*)getAudioHelper;
296
301- (ZMVideoSDKVideoHelper*)getVideoHelper;
302
307- (ZMVideoSDKUserHelper*)getUserHelper;
308
313- (ZMVideoSDKShareHelper*)getShareHelper;
314
319- (ZMVideoSDKLiveStreamHelper*)getLiveStreamHelper;
320
325- (ZMVideoSDKChatHelper*)getChatHelper;
326
331- (ZMVideoSDKRecordingHelper*)getRecordingHelper;
332
337- (ZMVideoSDKCmdChannel*)getCmdChannel;
338
343- (ZMVideoSDKPhoneHelper*)getPhoneHelper;
344
349- (ZMVideoSDKAudioSettingHelper*)getAudioSettingHelper;
350
355- (ZMVideoSDKAudioDeviceTestHelper*)getAudioDeviceTestHelper;
356
361- (ZMVideoSDKNetworkConnectionHelper*)getNetworkConnectionHelper;
362
367- (ZMVideoSDKVideoSettingHelper*)getVideoSettingHelper;
368
373- (ZMVideoSDKShareSettingHelper*)getShareSettingHelper;
374
379- (ZMVideoSDKCRCHelper*)getCRCHelper;
380
385- (ZMVideoSDKLiveTranscriptionHelper*)getLiveTranscriptionHelper;
386
391- (ZMVideoSDKIncomingLiveStreamHelper*)getIncomingLiveStreamHelper;
392
398- (ZMVideoSDKSubSessionHelper* _Nullable)getSubSessionHelper;
399@end
400NS_ASSUME_NONNULL_END
ZMVideoSDKRawDataMemoryMode
Enumeration of memory modes for raw data handling.
ZMVideoSDKErrors
Enumerates all errors in the VideoSDK.
ZMVideoSDKPreferVideoResolution
Enumeration of preferred video resolution in Zoom Video SDK.
Interface for testing audio input and output devices.
Provides methods for managing audio in Zoom Video SDK sessions.
Audio configuration options for joining a session.
Definition ZMVideoSDK.h:124
Interface for managing audio settings in Zoom Video SDK.
Helper interface for Cloud Room Connector (CRC) features.
Chat helper interface.
The command channel allows users to send commands or data (such as plain text or a binary encoded int...
Extended configuration parameters for Zoom Video SDK.
Definition ZMVideoSDK.h:85
Zoom Video SDK API manager. Main singleton object that controls the video session creation,...
Definition ZMVideoSDK.h:216
Initialization parameters for Zoom Video SDK.
Definition ZMVideoSDK.h:44
ZMVideoSDKExtendParams * extendParams
Extended parameters.
Definition ZMVideoSDK.h:77
NSString * logFilePrefix
Prefix of log file name.
Definition ZMVideoSDK.h:52
ZMVideoSDKRawDataMemoryMode shareRawDataMemoryMode
Set share raw data memory mode.
Definition ZMVideoSDK.h:72
BOOL enableLog
Set whether to enable default log of which the capacity is less than 5M.
Definition ZMVideoSDK.h:57
ZMVideoSDKRawDataMemoryMode audioRawDataMemoryMode
Set audio raw data memory mode.
Definition ZMVideoSDK.h:62
ZMVideoSDKRawDataMemoryMode videoRawDataMemoryMode
Set video raw data memory mode.
Definition ZMVideoSDK.h:67
NSString * domain
Set client domain of ZOOM Video SDK.
Definition ZMVideoSDK.h:47
Helper class for managing outgoing live stream.
Provides methods for controlling and interacting with live transcription.
A helper class used to configure proxy settings for SDK network connections.
Provides methods for managing phone-related session features such as dial-in and phone invites.
Helper class for using cloud recording in the session.
Session context information for a Zoom Video SDK session.
Definition ZMVideoSDK.h:151
Provides access to session-level information and operations.
Main helper class managing sharing.
Helper class to manage share-related settings.
Helper class for managing subsessions.
User control interface.
Provides functions to control virtual background.
Video configuration options for joining a session.
Definition ZMVideoSDK.h:113
Provides settings-related functions to configure video enhancement options.