Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDKShareAudioSender Class Reference

Interface to send share audio raw data. More...

#include <ZoomVideoSDKShareAudioSender.h>

Inherits NSObject.

Instance Methods

(ZoomVideoSDKError- sendShareAudio:dataLength:sampleRate:audioChannel:
 Sends audio raw data.
 

Detailed Description

Interface to send share audio raw data.

Definition at line 12 of file ZoomVideoSDKShareAudioSender.h.

Method Documentation

◆ sendShareAudio:dataLength:sampleRate:audioChannel:

- (ZoomVideoSDKError) sendShareAudio: (char *) data
dataLength: (NSUInteger) length
sampleRate: (NSUInteger) rate
audioChannel: (ZoomVideoSDKAudioChannel) channel 

Sends audio raw data.

Parameters
dataThe audio data address.
lengthThe audio data length. It must be even numbers.
rateThe audio data sampling rate.
channelThe channel type.
Returns
If the function succeeds, it returns Errors_Success. Otherwise, this function returns an error.
Warning
Supported audio data properties: Mono: 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.