From 3babb432c6fd94a07d6d67384c694184565850ba Mon Sep 17 00:00:00 2001 From: Raja Subramanian Date: Thu, 7 Sep 2023 15:58:42 +0530 Subject: [PATCH] Missed an SN offset update in the previous round (#2044) --- pkg/sfu/rtpmunger.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/sfu/rtpmunger.go b/pkg/sfu/rtpmunger.go index 8176cfe8..1d902aaf 100644 --- a/pkg/sfu/rtpmunger.go +++ b/pkg/sfu/rtpmunger.go @@ -289,6 +289,7 @@ func (r *RTPMunger) UpdateAndGetPaddingSnTs(num int, clockRate uint32, frameRate r.extSecondLastSN = extLastSN - 1 r.extLastSN = extLastSN r.snRangeMap.DecValue(uint64(num)) + r.updateSnOffset() r.tsOffset -= extLastTS - r.extLastTS r.extLastTS = extLastTS