Hey <@U084APK40NS> what's the difference between a...
# ask-ai
a
Hey @millions-hair-24956 what's the difference between active rooms and active sessions ?
g
In LiveKit, a "room" is a logical grouping of participants, acting as a container for them, while a "session" represents an individual instance of an active room. A room can exist conceptually even when empty and can be reactivated multiple times, whereas a session starts when a room becomes active (i.e., when the first participant joins) and ends when it closes (i.e., when the last participant leaves) source. Would you like more detail on how these concepts are used in practice? Sources: - https://livekit-users.slack.com/archives/C07FVFM5NA1/p1728145169.942489 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
a
So if i'm seeing active sesssion in livekit cloud console with 0 participants and duration 3d 5h 7m(ongoing) what's the meaning of it ?
@millions-hair-24956 So if i'm seeing active sesssion in livekit cloud console with 0 participants and duration 3d 5h 7m(ongoing) what's the meaning of it ?
g
The presence of an active session in the LiveKit Cloud console with 0 participants and a long duration, such as 3 days, is likely due to a known issue with the dashboard not accurately reflecting the status of ended sessions. This is a display issue where the session appears active even though it has ended, and it does not impact billing or actual session activity source. Would you like more information on how to verify session status using other methods? Sources: - https://livekit-users.slack.com/archives/C048FRL1N2C/p1727980327.894939 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
a
@millions-hair-24956 ya i thought of so too. as when i tried to get room list with command
lk room list
i got none .
g
If the
lk room list
command returns no active rooms, it indicates that there are no currently active sessions in the backend, despite what the dashboard might display. This discrepancy is due to a known issue with the LiveKit Cloud dashboard, which sometimes fails to update the status of sessions accurately source. The CLI and API provide real-time data and are more reliable for checking the actual status of rooms and sessions. Would you like more details on how to manage or verify room statuses? Sources: - https://livekit-users.slack.com/archives/C048FRL1N2C/p1727980327.894939 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
a
@millions-hair-24956 in livekit cloud console, billing section i'm seeing this data. will it affect any session / room in any way ? February Usage DescriptionAmountCostBuild: Incl. 50GB of bandwidth 1GB$0.00Build: Incl. 5000 minutes of connection time 5000m$0.00Build: Additional bandwidth ($0.00 per GB) 0GB$0.00
g
The billing section in the LiveKit Cloud console showing usage data, such as bandwidth and connection time, is for informational purposes and does not directly affect the operation of sessions or rooms. It simply tracks the resources consumed by your project. As long as your usage remains within the included limits of your plan (e.g., 50GB of bandwidth and 5000 minutes of connection time), there will be no additional costs or impact on your sessions or rooms source. Would you like more information on how billing works or how to manage your usage? Sources: - https://docs.livekit.io/home/cloud/billing/ 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
a
so how do i check how much bandwidth and minutes of connection i have left @millions-hair-24956
g
To check your remaining bandwidth and connection minutes in LiveKit, you can view the usage details in the LiveKit Cloud console under the billing section. This section provides a breakdown of your current usage against the limits of your plan source. If you need more detailed or real-time data, you might consider using the Analytics API to track session details, including bandwidth usage and participant connection times source. Would you like more detailed instructions on using the Analytics API for this purpose? Sources: - https://docs.livekit.io/home/cloud/analytics-api/ - https://docs.livekit.io/home/cloud/billing/ 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.