Hi Guys Stupid question. Is it possible to set a l...
# self-hosting
m
Hi Guys Stupid question. Is it possible to set a lifetime of a livekit room ? E.g. the room is always closed after 5 hours, even if there are still any participants in the room ?
f
there is a config for it I think called empty_room_timeout
m
Nop, in this case nobody is in the room. But I want to close the room, even if there is a participant in the room
f
ah I misread
m
No problem, thank for your answer
f
we had similar usecase, doing it by manually closing the room from BE
f
use asyncio timer and after 5 hours invoke the ctx.room.delete_room()
✅ 1
basically set a global variable when the participant is connected