Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKAudioRawDataSender Class Reference

Send external raw audio data to the Zoom meeting. More...

#include <ZoomSDKRawDataAudioSourceController.h>

Inherits NSObject.

Instance Methods

(ZoomSDKError- send:dataLength:sampleRate:channel:
 Send audio raw data, Audio sample bits must be 16-bit audio.
 

Detailed Description

Send external raw audio data to the Zoom meeting.

Definition at line 15 of file ZoomSDKRawDataAudioSourceController.h.

Method Documentation

◆ send:dataLength:sampleRate:channel:

- (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.

Parameters
dataThe audio data‘s address.
lengthThe audio data’s length. Must be an even number.
rateThe 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.
channelIdentifies the audio data channel type, default is ZoomSDKAudioChannel_Mono.
Returns
If the function succeeds, it will return ZoomSDKError_Success.