Future<void> mute(bool value) async { if (value) { await room?.localParticipant?.setMicrophoneEnabled(true); } else { await room?.localParticipant?.setMicrophoneEnabled(false); } }