little-magician-85414
06/24/2025, 3:54 PMdepartureTimeout
to 0. but we use the Automatically create rooms on participant join
so we don’t specifically create the room ourselves. Is there a way to configure this session globally across all rooms in the project?tall-airline-16756
06/24/2025, 3:55 PMtall-airline-16756
06/24/2025, 3:55 PMdepartureTimeout
globally for all rooms in your LiveKit project by modifying the configuration file. Specifically, you can set the departure_timeout
parameter under the room configuration section. For example:
# number of seconds to keep the room open after everyone leaves
departure_timeout: 0
Setting this value to 0
will apply it globally across all rooms in your project. Let me know if you need further assistance!
Sources: GitHub:: LiveKit Composite Repo | livekit/livekit-cli/cmd/lk/room.golittle-magician-85414
06/24/2025, 3:57 PMtall-airline-16756
06/24/2025, 3:57 PMdepartureTimeout
in LiveKit Cloud. It's not as straightforward as you might hope. Right now, this setting is something you'd typically set when you're creating a room programmatically through the CreateOptions
. But I know that might not be super helpful if you're using the "Automatically create rooms on participant join" feature.
Unfortunately, LiveKit Cloud doesn't have a one-click global setting for departureTimeout
at the moment. I know that can be frustrating! If this is really important for your project, I'd be happy to brainstorm some potential workarounds or connect you with someone who might have more specific solutions. Want to chat more about it? I'm here to help!
Sources: CreateOptions | LiveKit JS Server SDK - v2.9.7