aloof-scooter-47164
05/16/2026, 9:07 PMtall-airline-16756
05/16/2026, 9:07 PMaloof-scooter-47164
05/16/2026, 9:07 PMtall-airline-16756
05/16/2026, 9:08 PMAudioInputOptions in room_options for AgentSession to reduce perceived latency.
• Enable/disable audio at runtime: use session.input.set_audio_enabled() and session.output.set_audio_enabled() to toggle audio input/output (useful for push-to-talk or hybrid text/audio flows).
• Mute input during processing: temporarily disable audio input so the agent won’t queue speech while you perform non-verbal tasks.
• Manual turn control: set turn_detection="manual" in TurnHandlingOptions and control turns with session.interrupt(), session.clear_user_turn(), and session.commit_user_turn().
Would you like code examples for any of these (pre-connect buffering, runtime toggles, or manual turn APIs)?
Sources: https://docs.livekit.io/agents/logic/sessions.md| | Text and transcriptions | LiveKit Documentation | Turns overview | LiveKit Documentation, with interactive elementstall-airline-16756
05/16/2026, 9:08 PMsession.clear_user_turn() to discard the current user input/turn. For output control, you can stop or interrupt agent speech with session.interrupt() and toggle audio in/out with session.input.set_audio_enabled() and session.output.set_audio_enabled().
If you want manual turn management (so turns only progress when you decide), set turn_detection="manual" in TurnHandlingOptions and then use commit_user_turn() to process or clear_user_turn() to discard.
, with interactive elements