Use measurement in window instead of since start. (#1695)

This captues chnages within a measurement window.
This commit is contained in:
Raja Subramanian
2023-05-08 19:51:23 +05:30
committed by GitHub
parent ddcb8342ef
commit 153f02091c
3 changed files with 68 additions and 39 deletions
+1 -1
View File
@@ -524,7 +524,7 @@ func (s *StreamTrackerManager) GetReferenceLayerRTPTimestamp(ts uint32, layer in
rtpDiff := ntpDiff.Nanoseconds() * int64(s.clockRate) / 1e9
normalizedTS := srLayer.RTPTimestamp + uint32(rtpDiff)
s.logger.Debugw(
"getting reference timestaml",
"getting reference timestamp",
"layer", layer,
"referenceLayer", referenceLayer,
"incomingTS", ts,