More debugging of DD jump (#3934)
This commit is contained in:
@@ -113,6 +113,7 @@ func (r *DependencyDescriptorParser) Parse(pkt *rtp.Packet) (*ExtDependencyDescr
|
|||||||
"generation", r.restartGeneration,
|
"generation", r.restartGeneration,
|
||||||
"lastPacketAt", r.lastPacketAt,
|
"lastPacketAt", r.lastPacketAt,
|
||||||
"sinceLast", time.Since(r.lastPacketAt),
|
"sinceLast", time.Since(r.lastPacketAt),
|
||||||
|
"frameWrapAround", r.frameWrapAround,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
r.lastPacketAt = time.Now()
|
r.lastPacketAt = time.Now()
|
||||||
@@ -140,6 +141,14 @@ func (r *DependencyDescriptorParser) Parse(pkt *rtp.Packet) (*ExtDependencyDescr
|
|||||||
// assume the packet is in-order when stream restarting
|
// assume the packet is in-order when stream restarting
|
||||||
unwrapped := r.frameWrapAround.UpdateWithOrderKnown(ddVal.FrameNumber, restart)
|
unwrapped := r.frameWrapAround.UpdateWithOrderKnown(ddVal.FrameNumber, restart)
|
||||||
extFN := unwrapped.ExtendedVal
|
extFN := unwrapped.ExtendedVal
|
||||||
|
if restart {
|
||||||
|
r.logger.Debugw(
|
||||||
|
"restarted stream",
|
||||||
|
"fn", ddVal.FrameNumber,
|
||||||
|
"unwrappedFN", unwrapped,
|
||||||
|
"frameWrapAround", r.frameWrapAround,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
if extFN < r.structureExtFrameNum {
|
if extFN < r.structureExtFrameNum {
|
||||||
r.logger.Debugw(
|
r.logger.Debugw(
|
||||||
|
|||||||
Reference in New Issue
Block a user