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 capture when leaving the channel:
  • true: (default) Stop microphone capture.
  • false: Do not stop microphone capture.