Audio helper interface.
More...
#include <zoom_video_sdk_audio_helper_interface.h>
Audio helper interface.
Definition at line 38 of file zoom_video_sdk_audio_helper_interface.h.
◆ allowAudioUnmutedBySelf()
virtual ZoomVideoSDKErrors IZoomVideoSDKAudioHelper::allowAudioUnmutedBySelf |
( |
bool | allowUnmute | ) |
|
|
pure virtual |
Allow the others unmute themselves or not.
- Parameters
-
allowUnmute | True means allow the user to unmute themself, otherwise false. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.
◆ getMicList()
Get mic device list.
- Returns
- If the function succeeds, the return value is mic device list, Otherwise nullptr.
◆ getSpeakerList()
Get speaker device list.
- Returns
- If the function succeeds, the return value is speaker device list, Otherwise nullptr.
◆ muteAllAudio()
Mute all user's VOIP audio except my self.
- Parameters
-
allowUnmute | True means allow the user to unmute themself, otherwise false. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.
◆ muteAudio()
Mute user's voip audio. 0 means current user (myself).
- Parameters
-
pUser | The user which you want to mute. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.
◆ selectMic()
Select some mic device as default device.
- Parameters
-
deviceId | Device id. |
deviceName | Device name. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.
◆ selectSpeaker()
Select some speaker device as default device.
- Parameters
-
deviceId | Device id. |
deviceName | Device name. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.
◆ startAudio()
Start audio with voip.
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.
◆ stopAudio()
Stop voip.
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.
◆ subscribe()
Subscribe audio raw data.
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.
◆ unMuteAllAudio()
Ask unmute all user's VOIP audio.
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum. This function will trigger the callback onHostAskUnmute().
◆ unMuteAudio()
Unmute user's voip audio.
- Parameters
-
pUser | The user which you want to unMute. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum. This function will trigger the callback onHostAskUnmute().
◆ unSubscribe()
UnSubscribe audio raw data.
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.