Video SDK for Linux API Reference
Loading...
Searching...
No Matches
zoom_video_sdk_audio_send_rawdata_interface.h
Go to the documentation of this file.
1
6#ifndef _ZOOM_VIDEO_SDK_AUDIO_SEND_RAWDATA_INTERFACE_H_
7#define _ZOOM_VIDEO_SDK_AUDIO_SEND_RAWDATA_INTERFACE_H_
9
11
15{
16public:
18
28 virtual ZoomVideoSDKErrors Send(char* data, unsigned int data_length, int sample_rate, ZoomVideoSDKAudioChannel channel = ZoomVideoSDKAudioChannel_Mono) = 0;
29};
30
34{
35public:
37
40 virtual void onMicInitialize(IZoomVideoSDKAudioSender* rawdata_sender) = 0;
41
43 virtual void onMicStartSend() = 0;
44
46 virtual void onMicStopSend() = 0;
47
49 virtual void onMicUninitialized() = 0;
50};
51
52
75#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.