Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCAudioSender Class Reference

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

#include <MobileRTCAudioSender.h>

Inherits NSObject.

Instance Methods

(MobileRTCRawDataError- send:dataLength:sampleRate:
 Sends audio raw data. Channel number must be mono, and sampling bits must be 16.
 

Detailed Description

Sends external raw audio data to the Zoom meeting.

Definition at line 12 of file MobileRTCAudioSender.h.

Method Documentation

◆ send:dataLength:sampleRate:

- (MobileRTCRawDataError) send: (char *) data
dataLength: (unsigned int) length
sampleRate: (int) rate 

Sends audio raw data. Channel number must be mono, and sampling bits must be 16.

Parameters
dataThe address of audio data.
lengthThe length of audio data (it must be an even number).
rateThe sample rate of audio data (8000/11025/32000/44100/48000/50000/50400/96000/192000/2822400).
Returns
If the function succeeds, it will return MobileRTCRawDataError_Success. Otherwise return an error.