Display channel occupancy changes in real time #48
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
puregarlic/microclimate#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.