Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKRawDataController.h
Go to the documentation of this file.
1//
2// ZoomSDKRawDataController.h
3// ZoomSDK
4//
5
6#import <Foundation/Foundation.h>
7#import <ZoomSDK/ZoomSDKErrors.h>
8#import <ZoomSDK/ZoomSDKRenderer.h>
9
13
14NS_ASSUME_NONNULL_BEGIN
15@interface ZoomSDKAudioRawData : NSObject
20- (BOOL)canAddRef;
25- (BOOL)addRef;
30- (int)releaseData;
35- (char*_Nullable)getBuffer;
40- (unsigned int)getBufferLen;
45- (unsigned int)getSampleRate;
50- (unsigned int)getChannelNum;
55- (long long)getTimeStamp;
56@end
57
58@protocol ZoomSDKAudioRawDataDelegate <NSObject>
63- (void)onMixedAudioRawDataReceived:(ZoomSDKAudioRawData*_Nullable)data;
70- (void)onOneWayAudioRawDataReceived:(ZoomSDKAudioRawData*_Nullable)data nodeID:(unsigned int)nodeID DEPRECATED_MSG_ATTRIBUTE("Use -onOneWayAudioRawDataReceived: userID: instead");
76- (void)onOneWayAudioRawDataReceived:(ZoomSDKAudioRawData*_Nullable)data userID:(unsigned int)userID;
81- (void)onShareAudioRawDataReceived:(ZoomSDKAudioRawData*_Nullable)data;
87- (void)onOneWayInterpreterAudioRawDataReceived:(ZoomSDKAudioRawData*)data strLanguageName:(NSString*)languageName;
88
89@end
90
91@interface ZoomSDKAudioRawDataHelper : NSObject
92{
93 id<ZoomSDKAudioRawDataDelegate> _delegate;
94}
95@property(nonatomic, assign, nullable)id<ZoomSDKAudioRawDataDelegate> delegate;
100@property(nonatomic, assign)BOOL audioWithInterpreters;
105- (ZoomSDKError)subscribe;
110- (ZoomSDKError)unSubscribe;
111@end
112
113
114@interface ZoomSDKRawDataController : NSObject
115{
120}
125- (ZoomSDKError)hasRawDataLicense;
131- (ZoomSDKError)getAudioRawDataHelper:(ZoomSDKAudioRawDataHelper*_Nullable* _Nonnull)audioRawDataHelper;
132
138- (ZoomSDKError)getRawDataVideoSourceHelper:(ZoomSDKRawDataVideoSourceController*_Nullable*_Nonnull)videoRawDataSendHelper;
139
145- (ZoomSDKError)getRawDataShareSourceHelper:(ZoomSDKRawDataShareSourceController*_Nullable*_Nonnull)shareRawDataSendHelper;
146
152- (ZoomSDKError)getRawDataAudioSourceHelper:(ZoomSDKRawDataAudioSourceController*_Nullable*_Nonnull)audioRawDataSendHelper;
153
159- (ZoomSDKError)createRender:(ZoomSDKRenderer*_Nullable*_Nonnull)render;
160
166- (ZoomSDKError)destroyRender:(ZoomSDKRenderer*_Nullable)render;
167@end
168NS_ASSUME_NONNULL_END
ZoomSDKError
Enumeration of common errors of SDK.
id< ZoomSDKAudioRawDataDelegate > _delegate
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.
ZoomSDKAudioRawDataHelper * _audioRawDataHelper
ZoomSDKRawDataShareSourceController * _rawDataShareSourceHelper
ZoomSDKRawDataAudioSourceController * _rawDataAudioSourceHelper
ZoomSDKRawDataVideoSourceController * _rawDataVideoSourceHelper