Meeting SDK for macOS API Reference
|
#include <ZoomSDKRawDataAudioSourceController.h>
Inherits NSObject.
Instance Methods | |
(ZoomSDKError) | - send:dataLength:sampleRate:channel: |
Send audio raw data, Audio sample bits must be 16-bit audio. | |
Definition at line 9 of file ZoomSDKRawDataAudioSourceController.h.
- (ZoomSDKError) send: | (char *) | data | |
dataLength: | (unsigned int) | length | |
sampleRate: | (int) | rate | |
channel: | (ZoomSDKAudioChannel) | channel |
Send audio raw data, Audio sample bits must be 16-bit audio.
data | The audio data‘s address. |
length | The audio data’s length. Must be an even number. |
rate | The audio data's sampling rate. When the channel is mono, supported sample rates is 8000/11025/16000/32000/44100/48000/50000/50400/96000/192000/2822400. When the channel is stereo, supported sample rates: is 8000/16000/32000/44100/48000/50000/50400/96000/192000. |
channel | Identifies the audio data channel type, default is ZoomSDKAudioChannel_Mono. |