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

Send share audio raw data. More...

#include <MobileRTCShareAudioSender.h>

Inherits NSObject.

Instance Methods

(MobileRTCRawDataError- sendShareAudio:dataLength:sampleRate:audioChannel:
 Send share audio raw data.
 

Detailed Description

Send share audio raw data.

Definition at line 17 of file MobileRTCShareAudioSender.h.

Method Documentation

◆ sendShareAudio:dataLength:sampleRate:audioChannel:

- (MobileRTCRawDataError) sendShareAudio: (char *) data
dataLength: (NSUInteger) length
sampleRate: (NSUInteger) rate
audioChannel: (MobileRTCAudioChannel) channel 

Send share audio raw data.

Parameters
dataThe audio data’s address.
lengthThe audio data’s length, in even numbers.
rateThe audio data’s sampling rate.
channelThe channel type, default is MobileRTCAudioChannel_Mono.
Returns
The send action result.
Warning
Support sample Rate.
Note
Memo 8000/11025/16000/32000/44100/48000/50000/50400/96000/192000, Stereo: 8000/16000/32000/44100/48000/50000/50400/96000/192000, Channels: mono and stereo, resolution: little-endian, 16bit.