Video SDK for iOS API Reference
All Classes Files Functions Enumerations Enumerator Properties
ZoomVideoSDKAudioSender Class Reference

A class for user to send audio raw data. More...

#include <ZoomVideoSDKAudioSender.h>

Inherits NSObject.

Instance Methods

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

Detailed Description

A class for user to send audio raw data.

Definition at line 15 of file ZoomVideoSDKAudioSender.h.

Method Documentation

◆ send:dataLength:sampleRate:

- (ZoomVideoSDKError) send: (char *) data
dataLength: (NSUInteger) dataLength
sampleRate: (NSUInteger) sampleRate 

send audio raw data, channel number must be mono, and sampling bits must be 16.

Parameters
datathe address of audio data.
dataLengththe length of audio data, it must be even numbers.
sampleRatesampling rate of audio data.
Warning
Supported audio data properties: Sample Rate: 8000/11025/32000/44100/48000/50000/50400/96000/192000/2822400 Channels: mono resolution: little-endian, 16bit