We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cdfa42 commit 84e4b7cCopy full SHA for 84e4b7c
pkg/synchronizer/track.go
@@ -315,7 +315,7 @@ func (t *TrackSynchronizer) getPTSWithRebase(pkt jitter.ExtPacket) (time.Duratio
315
}
316
317
// packets are expected in order, just a safety net
318
- if (ts - t.lastTS) > (1 << 31) {
+ if t.lastTS != 0 && (ts-t.lastTS) > (1<<31) {
319
t.numDroppedOutOfOrder++
320
t.logger.Infow(
321
"dropping out-of-order packet",
0 commit comments