|
Meeting SDK for macOS API Reference
|
Sends external raw audio data to the Zoom meeting. More...
#include <ZoomSDKRawDataAudioSourceController.h>
Inherits NSObject.
Instance Methods | |
| (ZoomSDKError) | - send:dataLength:sampleRate:channel: |
| Sends audio raw data, Audio sample bits must be 16-bit audio. | |
Sends external raw audio data to the Zoom meeting.
Definition at line 15 of file ZoomSDKRawDataAudioSourceController.h.
| - (ZoomSDKError) send: | (char *) | data | |
| dataLength: | (unsigned int) | length | |
| sampleRate: | (int) | rate | |
| channel: | (ZoomSDKAudioChannel) | channel |
Sends 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 are 8000, 11025, 16000, 32000, 44100, 48000, 50000, 50400, 96000, 192000, or 2822400. When the channel is stereo, supported sample rates are 8000, 16000, 32000, 44100, 48000, 50000, 50400, 96000, or 192000. |
| channel | Identifies the audio data channel type, default is ZoomSDKAudioChannel_Mono. |