Video SDK for Windows API Reference
Loading...
Searching...
No Matches
zoom_video_sdk_audio_send_rawdata_interface.h
Go to the documentation of this file.
1
5#ifndef _ZOOM_VIDEO_SDK_AUDIO_SEND_RAWDATA_INTERFACE_H_
6#define _ZOOM_VIDEO_SDK_AUDIO_SEND_RAWDATA_INTERFACE_H_
8
10
16{
17public:
19
31 virtual ZoomVideoSDKErrors Send(char* data, unsigned int data_length, int sample_rate, ZoomVideoSDKAudioChannel channel = ZoomVideoSDKAudioChannel_Mono) = 0;
32};
33
39{
40public:
42
47 virtual void onMicInitialize(IZoomVideoSDKAudioSender* rawdata_sender) = 0;
48
52 virtual void onMicStartSend() = 0;
53
57 virtual void onMicStopSend() = 0;
58
62 virtual void onMicUninitialized() = 0;
63};
64
65
67
97#endif
The audio raw data handler 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.
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 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 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.