Files
hope-voice-api/livekit.yaml
T
Shane d08a4e1fcb fix: keep LiveKit rooms alive so agent survives reconnects
Set room.empty_timeout to 86400 (24h) in livekit.yaml. Previously the
default 300s timeout destroyed the room when all participants left,
which killed the agent job and left no worker registered for the next
join — causing 'assistant not ready retry' on tab reopen.
2026-08-22 18:54:22 -04:00

16 lines
392 B
YAML

port: 7880
rtc:
tcp_port: 7881
udp_port: 7882
keys:
devkey: devsecret
# Keep rooms alive for 24h — the agent stays resident so reconnections
# don't require a fresh dispatch. Without this, LiveKit destroys the room
# after empty_timeout (default 300s), kills the agent job, and the next
# join finds no worker registered ("assistant not ready retry").
room:
empty_timeout: 86400