From aaba402adab084a935adc852786bb4f6a1772760 Mon Sep 17 00:00:00 2001 From: Raja Subramanian Date: Mon, 6 Feb 2023 10:55:42 +0530 Subject: [PATCH] Log messages processed by signal de-duper. (#1384) This will get noisy. Will revert once we have some data to analyse. --- pkg/rtc/signaldeduper/subscriptiondeduper.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/rtc/signaldeduper/subscriptiondeduper.go b/pkg/rtc/signaldeduper/subscriptiondeduper.go index d1569b86..64007b0f 100644 --- a/pkg/rtc/signaldeduper/subscriptiondeduper.go +++ b/pkg/rtc/signaldeduper/subscriptiondeduper.go @@ -83,7 +83,10 @@ func (s *SubscriptionDeduper) Dedupe(participantKey livekit.ParticipantKey, req isDupe = s.updateSubscriptionsFromUpdateSubscription(participantKey, msg.Subscription) case *livekit.SignalRequest_TrackSetting: isDupe = s.updateSubscriptionsFromUpdateTrackSettings(participantKey, msg.TrackSetting) + default: + return false } + s.logger.Infow("subscription deduper received message", "participantKey", participantKey, "update", req.String(), "isDupe", isDupe) return isDupe }