Agora C++ API Reference for All Platforms
Public Member Functions | Public Attributes | List of all members
agora::rtc::LeaveChannelOptions Struct Reference

Public Member Functions

 LeaveChannelOptions ()
 

Public Attributes

bool stopAudioMixing
 
bool stopAllEffect
 
bool stopMicrophoneRecording
 

Detailed Description

The leave channel options.

Constructor & Destructor Documentation

◆ LeaveChannelOptions()

agora::rtc::LeaveChannelOptions::LeaveChannelOptions ( )
inline

Member Data Documentation

◆ stopAudioMixing

bool agora::rtc::LeaveChannelOptions::stopAudioMixing

Determines whether to stop playing and mixing the music file when leave channel.

  • true: (Default) Stop playing and mixing the music file.
  • false: Do not stop playing and mixing the music file.

◆ stopAllEffect

bool agora::rtc::LeaveChannelOptions::stopAllEffect

Determines whether to stop all music effects when leave channel.

  • true: (Default) Stop all music effects.
  • false: Do not stop the music effect.

◆ stopMicrophoneRecording

bool agora::rtc::LeaveChannelOptions::stopMicrophoneRecording

Determines whether to stop microphone recording when leave channel.

  • true: (Default) Stop microphone recording.
  • false: Do not stop microphone recording.