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

#import <ZoomSDKRawDataAudioSourceController.h>

Inherits NSObject.

Instance Methods

(ZoomSDKError- send:dataLength:sampleRate:
 Send audio raw data, channel number must be mono, and sampling bits must be 16.
 

Detailed Description

Definition at line 8 of file ZoomSDKRawDataAudioSourceController.h.

Method Documentation

◆ send:dataLength:sampleRate:

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

Send 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 even numbers.
rateThe sampling rate of audio data(8000/11025/32000/44100/48000/50000/50400/96000/192000/2822400).
Returns
If the function succeeds, it will return ZoomSDKError_Success.