Fix extended TS calculated during retransmit. (#2164)

May have caused the large time stamp jump in sender reports.
This commit is contained in:
Raja Subramanian
2023-10-21 02:25:03 +05:30
committed by GitHub
parent 4f8bbdbaab
commit 39edfab2b5
+1 -1
View File
@@ -286,7 +286,7 @@ func (s *sequencer) getExtPacketMetas(seqNo []uint16) []extPacketMeta {
meta.nacked++ meta.nacked++
meta.lastNack = refTime 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 { if meta.timestamp > highestTS {
extTS -= (1 << 32) extTS -= (1 << 32)
} }