Video SDK for MacOS API Reference
|
Interface for sending raw audio data. More...
#include <ZMVideoSDKAudioSendRawdata.h>
Inherits NSObject.
Instance Methods | |
(ZMVideoSDKErrors) | - send:dataLength:sampleRate:channel: |
Send audio raw data, and sampling bits must be 16. | |
Interface for sending raw audio data.
Definition at line 18 of file ZMVideoSDKAudioSendRawdata.h.
- (ZMVideoSDKErrors) send: | (char *) | data | |
dataLength: | (unsigned int) | length | |
sampleRate: | (int) | rate | |
channel: | (ZMVideoSDKAudioChannel) | channel |
Send audio raw data, and sampling bits must be 16.
data | Data Pointer to the audio data buffer. |
length | The length of audio data in bytes (must be an even number). |
rate | Sampling rate of the audio data. Supported rates depend on the channel count:
|
channel | Identifies the audio data channel type. default is ZMVideoSDKAudioChannel_Mono. |