LeaveChannelOptions

Options for leaving the channel.

export class LeaveChannelOptions {
  
  stopAudioMixing?: boolean;
  
  stopAllEffect?: boolean;
  
  stopMicrophoneRecording?: boolean;
}

Properties

stopAudioMixing
Whether to stop playing music files and audio mixing when leaving the channel:
  • true: (Default) Stop playing music files and audio mixing.
  • false: Do not stop playing music files and audio mixing.
stopAllEffect
Whether to stop playing sound effects when leaving the channel:
  • true: (Default) Stop playing sound effects.
  • false: Do not stop playing sound effects.
stopMicrophoneRecording
Whether to stop microphone recording when leaving the channel:
  • true: (Default) Stop microphone recording.
  • false: Do not stop microphone recording.