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@end
101
102
107@interface ZMVideoSDKVideoOption : NSObject
111@property (nonatomic, assign, readwrite) BOOL localVideoOn;
112@end
113
118@interface ZMVideoSDKAudioOption : NSObject
122@property (nonatomic, assign, readwrite) BOOL connect;
123
127@property (nonatomic, assign, readwrite) BOOL mute;
128
132@property (nonatomic, assign, readwrite) BOOL isMyVoiceInMix;
133
137@property (nonatomic, assign, readwrite) BOOL autoAdjustSpeakerVolume;
138
139@end
140
145@interface ZMVideoSDKSessionContext : NSObject
146
150@property (nonatomic, retain, readwrite, nullable) NSString* sessionName;
151
155@property (nonatomic, retain, readwrite, nullable) NSString* sessionPassword;
156
160@property (nonatomic, retain, readwrite, nullable) NSString* userName;
161
165@property (nonatomic, retain, readwrite, nullable) NSString* token;
166
170@property (nonatomic, retain, readwrite, nullable) ZMVideoSDKVideoOption* videoOption;
171
175@property (nonatomic, retain, readwrite, nullable) ZMVideoSDKAudioOption* audioOption;
176
180@property (nonatomic, assign, readwrite) id<ZMVideoSDKVideoSourcePreProcessor> preProcessor;
184@property (nonatomic, assign, readwrite) id<ZMVideoSDKVideoSource> externalVideoSource;
188@property (nonatomic, assign, readwrite) id<ZMVideoSDKVirtualAudioMic> virtualAudioMic;
192@property (nonatomic, assign, readwrite) id<ZMVideoSDKVirtualAudioSpeaker> virtualAudioSpeaker;
198@property (nonatomic, assign, readwrite) unsigned int sessionIdleTimeoutMins;
202@property (nonatomic, assign, readwrite) BOOL autoLoadMutliStream;
203@end
204
205
210@interface ZMVideoSDK : NSObject
211
216+ (ZMVideoSDK*)sharedVideoSDK;
217
223- (ZMVideoSDKErrors)initialize:(ZMVideoSDKInitParams*)params;
224
228- (void)cleanUp;
229
234- (void)addListener:(id <ZMVideoSDKDelegate>)listener;
235
240- (void)removeListener:(id <ZMVideoSDKDelegate>)listener;
241
247- (ZMVideoSDKSession* _Nullable)joinSession:(ZMVideoSDKSessionContext*)params;
248
254- (ZMVideoSDKErrors)leaveSession:(BOOL)end;
255
260- (ZMVideoSDKSession*)getSessionInfo;
261
266- (BOOL)isInSession;
267
272- (NSString* _Nullable)getSDKVersion;
273
278- (NSString* _Nullable)exportLog;
279
284- (ZMVideoSDKErrors)cleanAllExportedLogs;
285
290- (ZMVideoSDKAudioHelper*)getAudioHelper;
291
296- (ZMVideoSDKVideoHelper*)getVideoHelper;
297
302- (ZMVideoSDKUserHelper*)getUserHelper;
303
308- (ZMVideoSDKShareHelper*)getShareHelper;
309
314- (ZMVideoSDKLiveStreamHelper*)getLiveStreamHelper;
315
320- (ZMVideoSDKChatHelper*)getChatHelper;
321
326- (ZMVideoSDKRecordingHelper*)getRecordingHelper;
327
332- (ZMVideoSDKCmdChannel*)getCmdChannel;
333
338- (ZMVideoSDKPhoneHelper*)getPhoneHelper;
339
344- (ZMVideoSDKAudioSettingHelper*)getAudioSettingHelper;
345
350- (ZMVideoSDKAudioDeviceTestHelper*)getAudioDeviceTestHelper;
351
356- (ZMVideoSDKNetworkConnectionHelper*)getNetworkConnectionHelper;
357
362- (ZMVideoSDKVideoSettingHelper*)getVideoSettingHelper;
363
368- (ZMVideoSDKShareSettingHelper*)getShareSettingHelper;
369
374- (ZMVideoSDKCRCHelper*)getCRCHelper;
375
380- (ZMVideoSDKLiveTranscriptionHelper*)getLiveTranscriptionHelper;
381
386- (ZMVideoSDKIncomingLiveStreamHelper*)getIncomingLiveStreamHelper;
387
393- (ZMVideoSDKSubSessionHelper* _Nullable)getSubSessionHelper;
394@end
395NS_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:119
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:211
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:146
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:108
Provides settings-related functions to configure video enhancement options.