Display channel occupancy changes in real time #48

Open
opened 2026-02-26 10:46:56 -08:00 by puregarlic · 0 comments
Owner

Currently, the list of channels in the sidebar is only updated when 1) the page loads, and 2) when the user joins a channel. This means that any channel occupancy changes between those two periods are not indicated; the most glaring of which is when a user is in a channel currently and occupancy changes, the sidebar number does not change.

To fix this, we'll need some changes across the stack. Since the user is not present in every channel at all times, we can't rely on LiveKit events to the client. We'll have to configure the microclimate server to handle webhooks, and then stream occupancy changes to clients via RPC.

Currently, the list of channels in the sidebar is only updated when 1) the page loads, and 2) when the user joins a channel. This means that any channel occupancy changes between those two periods are not indicated; the most glaring of which is when a user is in a channel currently and occupancy changes, the sidebar number does not change. To fix this, we'll need some changes across the stack. Since the user is not present in _every_ channel at all times, we can't rely on LiveKit events to the client. We'll have to configure the microclimate server to handle webhooks, and then stream occupancy changes to clients via RPC.
puregarlic added this to the Ludwig (MVP) milestone 2026-02-26 10:46:56 -08:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
puregarlic/microclimate#48
No description provided.