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.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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user