Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKShareAudioSender Class Reference

#include <ZoomSDKRawDataShareSourceController.h>

Inherits NSObject.

Instance Methods

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

Detailed Description

Definition at line 36 of file ZoomSDKRawDataShareSourceController.h.

Method Documentation

◆ sendShareAudio:dataLength:sampleRate:audioChannel:

- (ZoomSDKError) sendShareAudio: (char *_Nonnull) data
dataLength: (unsigned int) length
sampleRate: (int) rate
audioChannel: (ZoomSDKAudioChannel) channel 

Send 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 ZoomSDKAudioChannel_Mono.
Returns
If the function succeeds, it will return ZoomSDKError_Success.
Note
Support sample rate: 44100 / 48000 / 50000 / 50400.