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
38NS_ASSUME_NONNULL_BEGIN
40
45@interface ZMVideoSDKInitParams : NSObject
49@property (nonatomic, retain, readwrite, nullable) NSString* domain;
50
54@property (nonatomic, retain, readwrite, nullable) NSString* logFilePrefix;
55
59@property (nonatomic, assign, readwrite) BOOL enableLog;
60
64@property (nonatomic, assign, readwrite) ZMVideoSDKRawDataMemoryMode audioRawDataMemoryMode;
65
69@property (nonatomic, assign, readwrite) ZMVideoSDKRawDataMemoryMode videoRawDataMemoryMode;
70
74@property (nonatomic, assign, readwrite) ZMVideoSDKRawDataMemoryMode shareRawDataMemoryMode;
75
79@property (retain, nonatomic, nullable) ZMVideoSDKExtendParams *extendParams;
80@end
81
86@interface ZMVideoSDKExtendParams : NSObject
91@property (nonatomic, copy, nullable) NSString *speakerTestFilePath;
92
96@property (nonatomic, assign, readwrite) int wrapperType;
97
101@property (nonatomic, assign, readwrite) ZMVideoSDKPreferVideoResolution preferVideoResolution;
102
106@property (nonatomic, assign, readwrite) BOOL disableKeychainAccess;
107@end
108
109
114@interface ZMVideoSDKVideoOption : NSObject
118@property (nonatomic, assign, readwrite) BOOL localVideoOn;
119@end
120
125@interface ZMVideoSDKAudioOption : NSObject
129@property (nonatomic, assign, readwrite) BOOL connect;
130
134@property (nonatomic, assign, readwrite) BOOL mute;
135
139@property (nonatomic, assign, readwrite) BOOL isMyVoiceInMix;
140
144@property (nonatomic, assign, readwrite) BOOL autoAdjustSpeakerVolume;
145
146@end
147
152@interface ZMVideoSDKSessionContext : NSObject
153
157@property (nonatomic, retain, readwrite, nullable) NSString* sessionName;
158
162@property (nonatomic, retain, readwrite, nullable) NSString* sessionPassword;
163
167@property (nonatomic, retain, readwrite, nullable) NSString* userName;
168
172@property (nonatomic, retain, readwrite, nullable) NSString* token;
173
177@property (nonatomic, retain, readwrite, nullable) ZMVideoSDKVideoOption* videoOption;
178
182@property (nonatomic, retain, readwrite, nullable) ZMVideoSDKAudioOption* audioOption;
183
187@property (nonatomic, assign, readwrite) id<ZMVideoSDKVideoSourcePreProcessor> preProcessor;
191@property (nonatomic, assign, readwrite) id<ZMVideoSDKVideoSource> externalVideoSource;
195@property (nonatomic, assign, readwrite) id<ZMVideoSDKVirtualAudioMic> virtualAudioMic;
199@property (nonatomic, assign, readwrite) id<ZMVideoSDKVirtualAudioSpeaker> virtualAudioSpeaker;
205@property (nonatomic, assign, readwrite) unsigned int sessionIdleTimeoutMins;
209@property (nonatomic, assign, readwrite) BOOL autoLoadMutliStream;
210@end
211
212
217@interface ZMVideoSDK : NSObject
218
223+ (ZMVideoSDK*)sharedVideoSDK;
224
230- (ZMVideoSDKErrors)initialize:(ZMVideoSDKInitParams*)params;
231
235- (void)cleanUp;
236
241- (void)addListener:(id <ZMVideoSDKDelegate>)listener;
242
247- (void)removeListener:(id <ZMVideoSDKDelegate>)listener;
248
254- (ZMVideoSDKSession* _Nullable)joinSession:(ZMVideoSDKSessionContext*)params;
255
261- (ZMVideoSDKErrors)leaveSession:(BOOL)end;
262
267- (ZMVideoSDKSession*)getSessionInfo;
268
273- (BOOL)isInSession;
274
279- (NSString* _Nullable)getSDKVersion;
280
285- (NSString* _Nullable)exportLog;
286
291- (ZMVideoSDKErrors)cleanAllExportedLogs;
292
297- (ZMVideoSDKAudioHelper*)getAudioHelper;
298
303- (ZMVideoSDKVideoHelper*)getVideoHelper;
304
309- (ZMVideoSDKUserHelper*)getUserHelper;
310
315- (ZMVideoSDKShareHelper*)getShareHelper;
316
321- (ZMVideoSDKLiveStreamHelper*)getLiveStreamHelper;
322
327- (ZMVideoSDKChatHelper*)getChatHelper;
328
333- (ZMVideoSDKRecordingHelper*)getRecordingHelper;
334
339- (ZMVideoSDKCmdChannel*)getCmdChannel;
340
345- (ZMVideoSDKPhoneHelper*)getPhoneHelper;
346
351- (ZMVideoSDKAudioSettingHelper*)getAudioSettingHelper;
352
357- (ZMVideoSDKAudioDeviceTestHelper*)getAudioDeviceTestHelper;
358
363- (ZMVideoSDKNetworkConnectionHelper*)getNetworkConnectionHelper;
364
369- (ZMVideoSDKVideoSettingHelper*)getVideoSettingHelper;
370
375- (ZMVideoSDKShareSettingHelper*)getShareSettingHelper;
376
381- (ZMVideoSDKCRCHelper*)getCRCHelper;
382
387- (ZMVideoSDKLiveTranscriptionHelper*)getLiveTranscriptionHelper;
388
393- (ZMVideoSDKIncomingLiveStreamHelper*)getIncomingLiveStreamHelper;
394
400- (ZMVideoSDKSubSessionHelper* _Nullable)getSubSessionHelper;
401
406- (ZMVideoSDKBroadcastStreamingController* _Nullable)getBroadcastStreamingController;
407
412- (ZMVideoSDKBroadcastStreamingViewer* _Nullable)getBroadcastStreamingViewer;
413@end
414NS_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:126
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:87
Zoom Video SDK API manager. Main singleton object that controls the video session creation,...
Definition ZMVideoSDK.h:218
Interface for managing incoming live streams.
Initialization parameters for Zoom Video SDK.
Definition ZMVideoSDK.h:46
ZMVideoSDKExtendParams * extendParams
Extended parameters.
Definition ZMVideoSDK.h:79
NSString * logFilePrefix
Prefix of log file name.
Definition ZMVideoSDK.h:54
ZMVideoSDKRawDataMemoryMode shareRawDataMemoryMode
Set share raw data memory mode.
Definition ZMVideoSDK.h:74
BOOL enableLog
Set whether to enable default log of which the capacity is less than 5M.
Definition ZMVideoSDK.h:59
ZMVideoSDKRawDataMemoryMode audioRawDataMemoryMode
Set audio raw data memory mode.
Definition ZMVideoSDK.h:64
ZMVideoSDKRawDataMemoryMode videoRawDataMemoryMode
Set video raw data memory mode.
Definition ZMVideoSDK.h:69
NSString * domain
Set client domain of ZOOM Video SDK.
Definition ZMVideoSDK.h:49
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:153
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:115
Provides settings-related functions to configure video enhancement options.