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
@@ -1634,7 +1634,7 @@ func (f *Forwarder) AdjustTimestamp(tsAdjust float64) {
f.lock.Lock()
defer f.lock.Unlock()
f.rtpMunger.UpdateTsOffset(uint32(tsAdjust))
f.rtpMunger.UpdateTsOffset(uint32(tsAdjust + 0.5))
}
// -----------------------------------------------------------------------------