Revert "Cache data synchronously for processing in worker." (#2425)

This commit is contained in:
Raja Subramanian
2024-01-29 12:36:27 +05:30
committed by GitHub
parent 0be241eed8
commit 846121e781
3 changed files with 37 additions and 57 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ func TestRoomJoin(t *testing.T) {
t.Run("participant state change is broadcasted to others", func(t *testing.T) {
rm := newRoomWithParticipants(t, testRoomOpts{num: numParticipants})
var changedParticipant types.Participant
rm.OnParticipantChanged(func(participant types.LocalParticipant, _pi *livekit.ParticipantInfo) {
rm.OnParticipantChanged(func(participant types.LocalParticipant) {
changedParticipant = participant
})
participants := rm.GetParticipants()