Temporary workaround for clients not able to handle combined updates (#777)

See: https://github.com/livekit/client-sdk-js/pull/275
This commit is contained in:
David Zhao
2022-06-21 23:04:49 -07:00
committed by GitHub
parent 47b89c155f
commit 9d12147d97
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ func TestPushAndDequeueUpdates(t *testing.T) {
name: "when switching to publisher, queue is cleared",
pi: publisher1v2,
existing: subscriber1v1,
expected: []*livekit.ParticipantInfo{publisher1v2},
expected: []*livekit.ParticipantInfo{subscriber1v1, publisher1v2},
validate: func(t *testing.T, rm *Room, updates []*livekit.ParticipantInfo) {
require.Empty(t, rm.batchedUpdates)
},