Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCAudioRawData.h
Go to the documentation of this file.
1
6#import <Foundation/Foundation.h>
7
12@interface MobileRTCAudioRawData : NSObject
13
17@property (nonatomic, assign) char * _Nullable buffer;
18
22@property (nonatomic, assign) NSInteger bufferLen;
23
27@property (nonatomic, assign) NSInteger sampleRate;
28
32@property (nonatomic, assign) NSInteger channelNum;
33
37@property(nonatomic, strong, nullable) NSDate *timeStamp;
38
43- (BOOL)canAddRef;
44
49- (BOOL)addRef;
50
55- (NSInteger)releaseRef;
56
57@end
58
Represents audio raw data received from the SDK.
NSInteger bufferLen
The length of the audio buffer data.
NSDate * timeStamp
The timestamp of the audio data.
NSInteger releaseRef()
Decreases the reference count by 1.
BOOL canAddRef()
Determines if the reference count can be increased.
NSInteger sampleRate
The audio sampling rate.
NSInteger channelNum
The number of audio channels.
char *_Nullable buffer
A pointer to the audio buffer data.
BOOL addRef()
Increases the reference count by 1.