mirror of
https://github.com/livekit/livekit.git
synced 2026-05-22 21:25:45 +00:00
Fix extended TS calculated during retransmit. (#2164)
May have caused the large time stamp jump in sender reports.
This commit is contained in:
@@ -286,7 +286,7 @@ func (s *sequencer) getExtPacketMetas(seqNo []uint16) []extPacketMeta {
|
||||
meta.nacked++
|
||||
meta.lastNack = refTime
|
||||
|
||||
extTS := uint64(meta.timestamp) + (s.extHighestTS & 0xFFFF_FFFF_FFFF_0000)
|
||||
extTS := uint64(meta.timestamp) + (s.extHighestTS & 0xFFFF_FFFF_0000_0000)
|
||||
if meta.timestamp > highestTS {
|
||||
extTS -= (1 << 32)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user