8#ifndef ZRC_IMEETINGAUDIOHELPER_H
9#define ZRC_IMEETINGAUDIOHELPER_H
170 virtual void OnFEACTakeOverNotification(int32_t farEndUserID,
const std::string& farEndUserName, int32_t controllingUserID,
const std::string& controllingUserName) = 0;
AskUnmuteAudioByHostType
Host or co-host ask to unmute audio type Here are more detailed structural descriptions.
@ AskUnmuteAudioByHostTypeSpotlight
Zoom Room is being spotlighted, being spotlighted will be asked to unmute audio.
@ AskUnmuteAudioByHostTypeUnmuteAudio
Host or co-host request Zoom Room to unmute audio.
@ AskUnmuteAudioByHostTypeViewOnlyTalk
In webinar, host allow attendee to talk.
ZRCSDKError
SDK error types. Here are more detailed structural descriptions.
Meeting Audio helper interface.
virtual ZRCSDKError BeginControlFarEndAudio(int32_t farEndUserID)=0
Begin control far end audio. Only when you begin control the controlled user's audio can you receive ...
virtual ~IMeetingAudioHelper()
virtual ZRCSDKError GetAllFarEndAudioControllingUserDeviceInfo(std::vector< FarEndAudioControllingUserDeviceInfo > &deviceInfoList)=0
Get all controlling user's device infos.
virtual ZRCSDKError GetFarEndAudioControllingUserDeviceInfo(FarEndAudioControllingUserDeviceInfo &deviceInfo, int32_t userID)=0
Get the controlling user's device info by user ID.
virtual ZRCSDKError AdjustFarEndAudioSelectedSpeakerVolume(int32_t farEndUserID, int32_t volume)=0
Adjust the controlled user's speaker volume.
virtual ZRCSDKError MuteFarEndAudioMicrophone(int32_t farEndUserID, bool mute)=0
Mute the controlled user's microphone.
virtual ZRCSDKError MuteAllAudios(bool mute)=0
Mute or unmute all meeting users' audio.
virtual ZRCSDKError SelectFarEndAudioMicrophone(int32_t farEndUserID, const std::string &deviceID)=0
Select the controlled user's microphone.
virtual ZRCSDKError EnableMeetingAudioTroubleShooting(bool enable)=0
Enable meeting audio troubleshooting.
virtual ZRCSDKError DeregisterSink(IMeetingAudioHelperSink *pSink)=0
Deregister meeting audio helper callback sink.
virtual ZRCSDKError ApproveFarEndAudioControlRequest(int32_t requesterUserID)=0
Approve far end audio control request.
virtual ZRCSDKError DeclineFarEndAudioControlRequest(int32_t requesterUserID)=0
Decline far end audio control request.
virtual ZRCSDKError RequestFarEndAudioControl(int32_t farEndUserID)=0
Request far end audio control.
virtual ZRCSDKError AnswerUnmuteAudioByHostRequest(bool accepted)=0
Answer incoming unmute audio request.
virtual ZRCSDKError MuteUserAudio(int32_t userID, bool mute)=0
Mute or unmute the assigned user audio.
virtual ZRCSDKError EndControlFarEndAudio(int32_t farEndUserID)=0
End control far end audio. You will not receive relevant control information after end control the co...
virtual ZRCSDKError AdjustFarEndAudioSelectedMicrophoneVolume(int32_t farEndUserID, int32_t volume)=0
Adjust the controlled user's microphone volume.
virtual ZRCSDKError UpdateMyAudioStatus(bool mute)=0
Mute or unmute self audio.
virtual ZRCSDKError IsMeetingAudioTroubleShootingAvailable(bool &isAvailable)=0
Query if meeting audio troubleshooting available.
virtual ZRCSDKError GiveUpFarEndAudioControl(int32_t farEndUserID)=0
Give up far end audio control.
virtual ZRCSDKError AllowAttendeesUnmuteThemselves(bool allow)=0
Allow attendee unmute themselves.
virtual ZRCSDKError SelectFarEndAudioSpeaker(int32_t farEndUserID, const std::string &deviceID)=0
Select the controlled user's speaker.
virtual ZRCSDKError MuteOnEntry(bool mute)=0
Mute or unmute the user after joining the meeting.
virtual ZRCSDKError RegisterSink(IMeetingAudioHelperSink *pSink)=0
Register meeting audio helper callback sink.
virtual ZRCSDKError EnablePlayJoinOrLeaveChime(bool enable)=0
Enable play chime when join or leave meeting.
Meeting Audio helper event callback.
virtual void OnFEACRequestNotification(int32_t requesterUserID, const std::string &requesterUserName)=0
FEAC request your audio control notification.
virtual void OnFEACApproveNotification(int32_t farEndUserID, const std::string &farEndUserName)=0
FEAC approve your request notification.
virtual ~IMeetingAudioHelperSink()
virtual void OnUpdateAudioTroubleShootingStatus(const AudioTroubleShootingStatus &status)=0
Audio troubleshooting status update notification.
virtual void OnFEACApproveControlRequestNotification(int32_t requesterUserID)=0
FEAC approve audio control request notification. You will receive this notification when other ZRC ap...
virtual void OnFEACMuteStateChangedNotification(int32_t farEndUserID, bool muteState)=0
FEAC mute state changed notification.
virtual void OnFEACMicListChangedNotification(int32_t farEndUserID, const std::vector< FarEndAudioDeviceInfo > &micList)=0
FEAC microphone list changed notification.
virtual void OnMuteUserAudioNotification(int32_t userID, const AudioStatus &audioStatus)=0
After mute user audio, user audio status changed callback.
virtual void OnEnablePlayJoinOrLeaveChimeNotification(bool enable)=0
Enable play join or leave chime status notification.
virtual void OnMuteOnEntryNotification(bool isMuteOnEntry)=0
Mute on entry status notification.
virtual void OnFEACDeclineControlRequestNotification(int32_t requesterUserID)=0
FEAC decline audio control request notification. You will receive this notification when other ZRC de...
virtual void OnFEACSpeakerListChangedNotification(int32_t farEndUserID, const std::vector< FarEndAudioDeviceInfo > &speakerList)=0
FEAC speaker list changed notification.
virtual void OnFEACDeclineNotification(int32_t farEndUserID, const std::string &farEndUserName)=0
FEAC decline your request notification.
virtual void OnAskUnmuteAudioByHostNotification(bool show, AskUnmuteAudioByHostType type)=0
Notification from host ask to unmute audio.
virtual void OnAllowAttendeesUnmuteThemselvesNotification(bool canAttendeesUnmuteThemselves)=0
Allow attendees unmute themselves notification.
virtual void OnUpdateMyAudioStatus(const AudioStatus &audioStatus)=0
Zoom Room's audio status changed callback.
virtual void OnFEACTakeOverNotification(int32_t farEndUserID, const std::string &farEndUserName, int32_t controllingUserID, const std::string &controllingUserName)=0
FEAC take over notification.
virtual void OnFEACGiveUpNotification(int32_t requesterUserID, const std::string &requesterUserName)=0
FEAC give up your audio control notification.
virtual void OnFEACUnmuteDisabledByHostNotification(int32_t farEndUserID)=0
FEAC unmute disabled by host notification. You will receive this notification when you unmute the con...
Audio troubleshooting status.
Far end audio controlling user device info. This device info includes all control info of the control...
FarEndAudioDeviceInfo selectedSpeaker
The speaker that is currently in use.
FarEndAudioDeviceInfo selectedMicrophone
The microphone that is currently in use.
int32_t userID
User ID of the controlled user.
std::vector< FarEndAudioDeviceInfo > microphones
The all microphones of the controlled user, include the microphone that is currently in use.
bool muteState
TRUE indicate microphone is muted. Otherwise not.
std::vector< FarEndAudioDeviceInfo > speakers
The all speakers of the controlled user, include the speaker that is currently in use.
Far end audio device info.
int32_t volume
The volume of the device. When isSelected == false, this field is invalid.
bool isSelected
True indicate the device is currently in use.
std::string deviceName
Device name.
bool volumeCanAdjust
True indicate the volume can be adjusted, otherwise can't. When isSelected == false,...
std::string deviceID
Device ID.