i have this behavior repeated, what can be the rea...
# ask-ai
s
i have this behavior repeated, what can be the reason for that ?, the meeting should continue but it stopped with the use Event | Data | Time ----------------------------------------|-----------------|--------- Room ended | Event payload | 072629 Participant left (ROOM_CLOSED) | Event payload | 072606 Participant left (CLIENT_INITIATED) | Event payload | 072536 Participant active | Event payload | 072536 Participant joining | Event payload | 072536 Participant active | Event payload | 072535 Participant joining | Event payload | 072535 API.CreateRoom | Event payload | 072533 Room created | Event payload | 072532
t
Thanks for reaching out, Mostafa. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I looked at the events you shared. You're seeing the meeting stop because the room was closed (a
ROOM_CLOSED
participant leave followed by
Room ended
). When a room becomes empty of regular participants, LiveKit will close it by default, which disconnects any remaining actors (egress/agents). Likely causes: • The room hit an
empty_timeout
and was automatically closed. • The room was explicitly deleted via the DeleteRoom API. What I need to narrow this down: • How are you creating the room? (show the create-room request or parameters, especially
empty_timeout
if set) • Do you call DeleteRoom anywhere in your server code after participants leave? • Are there background agents/recording egress that should keep the room alive? If so, how are those clients authenticating/joining? With those details I can tell you which of the two causes fits and give exact steps to keep the meeting running (for example: increase or disable
empty_timeout
, ensure agent/egress joins as a regular participant, or stop calling DeleteRoom). Sources: Server lifecycle | LiveKit docs | Avoiding Room ID Reuse When Re-Creating Rooms With the Same Name