#include <zoom_video_sdk_share_helper_interface.h>
◆ ~IZoomVideoSDKShareAudioSender()
| virtual IZoomVideoSDKShareAudioSender::~IZoomVideoSDKShareAudioSender |
( |
| ) |
|
|
inlinevirtual |
◆ sendShareAudio()
Sends audio raw data.
- Parameters
-
| data | The audio data address. |
| data_length | The audio data length. It must be even numbers. |
| sample_rate | The audio data sampling rate. |
| channel | The channel type. Supported audio data properties: When the channel is mono, supported sample rates: 8000/11025/16000/32000/44100/48000/50000/50400/96000/192000 When the channel is stereo, supported sample rates: 8000/16000/32000/44100/48000/50000/50400/96000 Channels: mono and stereo Resolution: little-endian, 16bit |
- Note
- The size of a single input must not exceed the number of bytes corresponding to 100 ms of audio. Exceeding this limit returns ZoomVideoSDKErrors_RAWDATA_SEND_TOO_MUCH_DATA_IN_SINGLE_TIME.
- Variable-length input is supported; it is recommended to send audio data in 10 ms, 20 ms, or 30 ms chunks (not exceeding 100 ms).
- If ZoomVideoSDKErrors_RAWDATA_SEND_TOO_FREQUENTLY is returned, this is not a genuine error; please wait briefly before retrying—for example, sleep for 10 ms before attempting to send the data again.