Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/participant-update-full-snapshot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@livekit/protocol": patch
---

Add `full_snapshot` to `ParticipantUpdate`, set when the message lists every visible participant so clients can drop remote participants that are missing from it
20 changes: 16 additions & 4 deletions livekit/livekit_rtc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions protobufs/livekit_rtc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,10 @@ message SessionDescription {

message ParticipantUpdate {
repeated ParticipantInfo participants = 1;
// when set, `participants` holds every participant visible to the receiver (the receiver itself
// included, hidden participants excluded) at the time the server built the message: the receiver
// drops any remote participant that is not listed. Unset for incremental updates.
bool full_snapshot = 2;
}

message UpdateSubscription {
Expand Down
Loading