Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKRawDataController.h
Go to the documentation of this file.
1
10#import <Foundation/Foundation.h>
11#import <ZoomSDK/ZoomSDKErrors.h>
12#import <ZoomSDK/ZoomSDKRenderer.h>
13
17
18NS_ASSUME_NONNULL_BEGIN
23@interface ZoomSDKAudioRawData : NSObject
28- (BOOL)canAddRef;
33- (BOOL)addRef;
38- (int)releaseData;
43- (char*_Nullable)getBuffer;
48- (unsigned int)getBufferLen;
53- (unsigned int)getSampleRate;
58- (unsigned int)getChannelNum;
63- (long long)getTimeStamp;
64@end
65
70@protocol ZoomSDKAudioRawDataDelegate <NSObject>
75- (void)onMixedAudioRawDataReceived:(ZoomSDKAudioRawData*_Nullable)data;
82- (void)onOneWayAudioRawDataReceived:(ZoomSDKAudioRawData*_Nullable)data nodeID:(unsigned int)nodeID DEPRECATED_MSG_ATTRIBUTE("Use -onOneWayAudioRawDataReceived: userID: instead");
88- (void)onOneWayAudioRawDataReceived:(ZoomSDKAudioRawData*_Nullable)data userID:(unsigned int)userID;
93- (void)onShareAudioRawDataReceived:(ZoomSDKAudioRawData*_Nullable)data DEPRECATED_MSG_ATTRIBUTE("Use -onShareAudioRawDataReceived: userID: instead");
99- (void)onShareAudioRawDataReceived:(ZoomSDKAudioRawData*_Nullable)data userID:(unsigned int)userID;
105- (void)onOneWayInterpreterAudioRawDataReceived:(ZoomSDKAudioRawData*)data strLanguageName:(NSString*)languageName;
106@end
107
108
113@interface ZoomSDKAudioRawDataHelper : NSObject
114{
115 id<ZoomSDKAudioRawDataDelegate> _delegate;
116}
120@property(nonatomic, assign, nullable)id<ZoomSDKAudioRawDataDelegate> delegate;
125@property(nonatomic, assign)BOOL audioWithInterpreters;
130- (ZoomSDKError)subscribe;
135- (ZoomSDKError)unSubscribe;
136@end
137
142@interface ZoomSDKRawDataController : NSObject
143{
148}
153- (ZoomSDKError)hasRawDataLicense;
159- (ZoomSDKError)getAudioRawDataHelper:(ZoomSDKAudioRawDataHelper*_Nullable* _Nonnull)audioRawDataHelper;
160
166- (ZoomSDKError)getRawDataVideoSourceHelper:(ZoomSDKRawDataVideoSourceController*_Nullable*_Nonnull)videoRawDataSendHelper;
167
173- (ZoomSDKError)getRawDataShareSourceHelper:(ZoomSDKRawDataShareSourceController*_Nullable*_Nonnull)shareRawDataSendHelper;
174
180- (ZoomSDKError)getRawDataAudioSourceHelper:(ZoomSDKRawDataAudioSourceController*_Nullable*_Nonnull)audioRawDataSendHelper;
181
187- (ZoomSDKError)createRender:(ZoomSDKRenderer*_Nullable*_Nonnull)render;
188
194- (ZoomSDKError)destroyRender:(ZoomSDKRenderer*_Nullable)render;
195@end
196NS_ASSUME_NONNULL_END
ZoomSDKError
Enumeration of common errors of SDK.
Helper to subscribe or unsubscribe audio raw data.
id< ZoomSDKAudioRawDataDelegate > _delegate
Represents audio raw data received from the SDK.
int releaseData()
Release the object, if you has add ref, remeber to call this api to release when you wantn't to use t...
unsigned int getChannelNum()
Get the channel number of this data.
char *_Nullable getBuffer()
Get the buffer data.
BOOL canAddRef()
Get if this object can add ref.
long long getTimeStamp()
Get the timestamp of the raw data.
unsigned int getSampleRate()
Get the sample rate of this data.
BOOL addRef()
Add reference for this object, if you doesn't add ref, this object will be released when the callback...
unsigned int getBufferLen()
Get the buffer length of this data.
Configure external audio source as virtual microphone input.
Controller for managing raw data helpers and sources.
ZoomSDKAudioRawDataHelper * _audioRawDataHelper
ZoomSDKRawDataShareSourceController * _rawDataShareSourceHelper
ZoomSDKRawDataAudioSourceController * _rawDataAudioSourceHelper
ZoomSDKRawDataVideoSourceController * _rawDataVideoSourceHelper
Manage external source for share video and share audio in meeting.
Subscribe to raw video or share data and handle rendering.