If I have an active agent session can I change the...
# ask-ai
a
If I have an active agent session can I change the room_output_options?
t
Thanks for reaching out, Matt. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I understand that you'd like to change
room_output_options
during an active agent session in LiveKit. Currently, these options are set when the session starts and can’t be changed while the session is ongoing. That said, you do have some flexibility to adjust certain output behaviors on the fly, like turning audio output on or off using
session.output.set_audio_enabled(True/False)
. If you need to update the
room_output_options
themselves, the best approach is to close the current session and start a new one with the settings you want. Sources: livekit-agents/livekit/agents/voice/agent_session.py | Text and transcriptions | LiveKit docs | agents/src/voice/agent_session.ts