6#ifndef _ZOOM_VIDEO_SDK_AUDIO_SEND_RAWDATA_INTERFACE_H_
7#define _ZOOM_VIDEO_SDK_AUDIO_SEND_RAWDATA_INTERFACE_H_
The audio raw data handler interface.
Audio raw data sender interface.
virtual ZoomVideoSDKErrors Send(char *data, unsigned int data_length, int sample_rate, ZoomVideoSDKAudioChannel channel=ZoomVideoSDKAudioChannel_Mono)=0
Send audio raw data. Audio sample must be 16-bit audio.
virtual ~IZoomVideoSDKAudioSender()
An interface that handles a virtual audio microphone.
virtual void onMicInitialize(IZoomVideoSDKAudioSender *rawdata_sender)=0
Callback for virtual audio microphone initialization.
virtual void onMicUninitialized()=0
Callback sent when the microphone is uninitialized. For example, if the user left the session.
virtual ~IZoomVideoSDKVirtualAudioMic()
virtual void onMicStopSend()=0
Callback for microphone to stop sending raw data. For example, this could be sent if the user muted a...
virtual void onMicStartSend()=0
Callback for microphone to start sending raw data. For example, this could be sent if the user unmute...
An interface that handles the virtual audio speaker.
virtual void onVirtualSpeakerSharedAudioReceived(AudioRawData *data_)=0
Callback event for receiving the share audio raw data such as buffer, sampleRate, etc.
virtual ~IZoomVideoSDKVirtualAudioSpeaker()
virtual void onVirtualSpeakerMixedAudioReceived(AudioRawData *data_)=0
Callback event for receiving the mixed audio raw data from the virtual speaker.
virtual void onVirtualSpeakerOneWayAudioReceived(AudioRawData *data_, IZoomVideoSDKUser *pUser)=0
Callback event for receiving the one way audio raw data of a selected user from the virtual speaker.
Zoom Video SDK Common Definition File.
ZoomVideoSDKAudioChannel
Enumeration of audio channel type in Zoom Video SDK.
@ ZoomVideoSDKAudioChannel_Mono
#define BEGIN_ZOOM_VIDEO_SDK_NAMESPACE
#define END_ZOOM_VIDEO_SDK_NAMESPACE
ZoomVideoSDKErrors
Enumeration of common Zoom Video SDK errors.