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#import <ZMVideoSDK/ZMVideoSDKBroadcastStreamingController.h>
36#import <ZMVideoSDK/ZMVideoSDKBroadcastStreamingViewer.h>
37#import <ZMVideoSDK/ZMVideoSDKRTMSHelper.h>
38
39NS_ASSUME_NONNULL_BEGIN
41
46@interface ZMVideoSDKInitParams : NSObject
50@property (nonatomic, retain, readwrite, nullable) NSString* domain;
51
55@property (nonatomic, retain, readwrite, nullable) NSString* logFilePrefix;
56
60@property (nonatomic, assign, readwrite) BOOL enableLog;
61
65@property (nonatomic, assign, readwrite) ZMVideoSDKRawDataMemoryMode audioRawDataMemoryMode;
66
70@property (nonatomic, assign, readwrite) ZMVideoSDKRawDataMemoryMode videoRawDataMemoryMode;
71
75@property (nonatomic, assign, readwrite) ZMVideoSDKRawDataMemoryMode shareRawDataMemoryMode;
76
80@property (retain, nonatomic, nullable) ZMVideoSDKExtendParams *extendParams;
81@end
82
87@interface ZMVideoSDKExtendParams : NSObject
92@property (nonatomic, copy, nullable) NSString *speakerTestFilePath;
93
97@property (nonatomic, assign, readwrite) int wrapperType;
98
102@property (nonatomic, assign, readwrite) ZMVideoSDKPreferVideoResolution preferVideoResolution;
103
107@property (nonatomic, assign, readwrite) BOOL disableKeychainAccess;
108@end
109
110
115@interface ZMVideoSDKVideoOption : NSObject
119@property (nonatomic, assign, readwrite) BOOL localVideoOn;
120@end
121
126@interface ZMVideoSDKAudioOption : NSObject
130@property (nonatomic, assign, readwrite) BOOL connect;
131
135@property (nonatomic, assign, readwrite) BOOL mute;
136
140@property (nonatomic, assign, readwrite) BOOL isMyVoiceInMix;
141
145@property (nonatomic, assign, readwrite) BOOL autoAdjustSpeakerVolume;
146
147@end
148
153@interface ZMVideoSDKSessionContext : NSObject
154
158@property (nonatomic, retain, readwrite, nullable) NSString* sessionName;
159
163@property (nonatomic, retain, readwrite, nullable) NSString* sessionPassword;
164
168@property (nonatomic, retain, readwrite, nullable) NSString* userName;
169
173@property (nonatomic, retain, readwrite, nullable) NSString* token;
174
178@property (nonatomic, retain, readwrite, nullable) ZMVideoSDKVideoOption* videoOption;
179
183@property (nonatomic, retain, readwrite, nullable) ZMVideoSDKAudioOption* audioOption;
184
188@property (nonatomic, assign, readwrite) id<ZMVideoSDKVideoSourcePreProcessor> preProcessor;
192@property (nonatomic, assign, readwrite) id<ZMVideoSDKVideoSource> externalVideoSource;
196@property (nonatomic, assign, readwrite) id<ZMVideoSDKVirtualAudioMic> virtualAudioMic;
200@property (nonatomic, assign, readwrite) id<ZMVideoSDKVirtualAudioSpeaker> virtualAudioSpeaker;
206@property (nonatomic, assign, readwrite) unsigned int sessionIdleTimeoutMins;
210@property (nonatomic, assign, readwrite) BOOL autoLoadMutliStream;
211@end
212
213
218@interface ZMVideoSDK : NSObject
219
224+ (ZMVideoSDK*)sharedVideoSDK;
225
231- (ZMVideoSDKErrors)initialize:(ZMVideoSDKInitParams*)params;
232
236- (void)cleanUp;
237
242- (void)addListener:(id <ZMVideoSDKDelegate>)listener;
243
248- (void)removeListener:(id <ZMVideoSDKDelegate>)listener;
249
255- (ZMVideoSDKSession* _Nullable)joinSession:(ZMVideoSDKSessionContext*)params;
256
262- (ZMVideoSDKErrors)leaveSession:(BOOL)end;
263
268- (ZMVideoSDKSession*)getSessionInfo;
269
274- (BOOL)isInSession;
275
280- (NSString* _Nullable)getSDKVersion;
281
286- (NSString* _Nullable)exportLog;
287
292- (ZMVideoSDKErrors)cleanAllExportedLogs;
293
298- (ZMVideoSDKAudioHelper*)getAudioHelper;
299
304- (ZMVideoSDKVideoHelper*)getVideoHelper;
305
310- (ZMVideoSDKUserHelper*)getUserHelper;
311
316- (ZMVideoSDKShareHelper*)getShareHelper;
317
322- (ZMVideoSDKLiveStreamHelper*)getLiveStreamHelper;
323
328- (ZMVideoSDKChatHelper*)getChatHelper;
329
334- (ZMVideoSDKRecordingHelper*)getRecordingHelper;
335
340- (ZMVideoSDKCmdChannel*)getCmdChannel;
341
346- (ZMVideoSDKPhoneHelper*)getPhoneHelper;
347
352- (ZMVideoSDKAudioSettingHelper*)getAudioSettingHelper;
353
358- (ZMVideoSDKAudioDeviceTestHelper*)getAudioDeviceTestHelper;
359
364- (ZMVideoSDKNetworkConnectionHelper*)getNetworkConnectionHelper;
365
370- (ZMVideoSDKVideoSettingHelper*)getVideoSettingHelper;
371
376- (ZMVideoSDKShareSettingHelper*)getShareSettingHelper;
377
382- (ZMVideoSDKCRCHelper*)getCRCHelper;
383
388- (ZMVideoSDKLiveTranscriptionHelper*)getLiveTranscriptionHelper;
389
394- (ZMVideoSDKIncomingLiveStreamHelper*)getIncomingLiveStreamHelper;
395
401- (ZMVideoSDKSubSessionHelper* _Nullable)getSubSessionHelper;
402
407- (ZMVideoSDKBroadcastStreamingController* _Nullable)getBroadcastStreamingController;
408
413- (ZMVideoSDKBroadcastStreamingViewer* _Nullable)getBroadcastStreamingViewer;
414
419- (ZMVideoSDKRTMSHelper* _Nullable)getRealTimeMediaStreamsHelper;
420@end
421NS_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:127
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:88
Zoom Video SDK API manager. Main singleton object that controls the video session creation,...
Definition ZMVideoSDK.h:219
Interface for managing incoming live streams.
Initialization parameters for Zoom Video SDK.
Definition ZMVideoSDK.h:47
ZMVideoSDKExtendParams * extendParams
Extended parameters.
Definition ZMVideoSDK.h:80
NSString * logFilePrefix
Prefix of log file name.
Definition ZMVideoSDK.h:55
ZMVideoSDKRawDataMemoryMode shareRawDataMemoryMode
Set share raw data memory mode.
Definition ZMVideoSDK.h:75
BOOL enableLog
Set whether to enable default log of which the capacity is less than 5M.
Definition ZMVideoSDK.h:60
ZMVideoSDKRawDataMemoryMode audioRawDataMemoryMode
Set audio raw data memory mode.
Definition ZMVideoSDK.h:65
ZMVideoSDKRawDataMemoryMode videoRawDataMemoryMode
Set video raw data memory mode.
Definition ZMVideoSDK.h:70
NSString * domain
Set client domain of ZOOM Video SDK.
Definition ZMVideoSDK.h:50
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 managing real-time media streams.
Helper class for using cloud recording in the session.
Session context information for a Zoom Video SDK session.
Definition ZMVideoSDK.h:154
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.
An interface to control video and manage cameras during a video session.
Video configuration options for joining a session.
Definition ZMVideoSDK.h:116
Provides settings-related functions to configure video enhancement options.