Video SDK for MacOS API Reference
|
Interface to send share audio raw data. More...
#include <ZMVideoSDKShareHelper.h>
Inherits NSObject.
Instance Methods | |
(ZMVideoSDKErrors) | - sendShareAudio:dataLength:sampleRate:audioChannel: |
Sends audio raw data. | |
Interface to send share audio raw data.
Definition at line 178 of file ZMVideoSDKShareHelper.h.
- (ZMVideoSDKErrors) sendShareAudio: | (char *_Nullable) | data | |
dataLength: | (unsigned int) | length | |
sampleRate: | (int) | rate | |
audioChannel: | (ZMVideoSDKAudioChannel) | channel |
Sends audio raw data.
data | The audio data address. |
length | The audio data length. It must be even numbers. |
rate | The audio data sampling rate. |
channel | The channel type. Default type is ZoomVideoSDKAudioChannel_Mono. |
ZMVideoSDKErrors_Success
, otherwise failed.