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