brief-dress-9950
04/29/2026, 3:42 PMtall-airline-16756
04/29/2026, 3:42 PMtall-airline-16756
04/29/2026, 3:42 PMsession.input.set_audio_enabled(False)
or
session.input.setAudioEnabled(false)
1. Run/await your function:
await trigger_my_function()
1. Re-enable audio processing so the agent resumes responding:
session.input.set_audio_enabled(True)
or
session.input.setAudioEnabled(true)
If you also need to stop any in-progress agent speech before disabling input, call session.interrupt() first. Do you want a complete code snippet for your language (Python or TypeScript) or help wiring this into your trigger logic?
Sources: Text and transcriptions | LiveKit Documentation | Turns overview | LiveKit Documentation, with interactive elements