mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 06:32:27 +00:00
Filter another expected error. (#1738)
Actually, was not filtering the not last sender report error before. Previous PR did that. This PR restores the old no last sender report filter. Both are filterable errors.
This commit is contained in:
1 parent
07252b7ce3
commit
11c5737e04
1 file changed
+1
-1
@@ -518,7 +518,7 @@ func (r *RTPStats) UpdateFromReceiverReport(rr rtcp.ReceptionReport) (rtt uint32
|
||||
if err == nil {
|
||||
isRttChanged = rtt != r.rtt
|
||||
} else {
|
||||
if !errors.Is(err, mediatransportutil.ErrRttNotLastSenderReport) {
|
||||
if !errors.Is(err, mediatransportutil.ErrRttNotLastSenderReport) && !errors.Is(err, mediatransportutil.ErrRttNoLastSenderReport) {
|
||||
r.logger.Warnw("error getting rtt", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user