Promote switch logs to Infow. (#1790)

This commit is contained in:
Raja Subramanian
2023-06-12 17:30:56 +05:30
committed by GitHub
parent 9809b8bc3a
commit afa7733748
2 changed files with 28 additions and 3 deletions
+1 -1
View File
@@ -577,7 +577,7 @@ func (s *StreamTrackerManager) GetReferenceLayerRTPTimestamp(ts uint32, layer in
ntpDiff := srRef.NTPTimestamp.Time().Sub(srLayer.NTPTimestamp.Time())
rtpDiff := ntpDiff.Nanoseconds() * int64(s.clockRate) / 1e9
normalizedTS := srLayer.RTPTimestamp + uint32(rtpDiff)
s.logger.Debugw(
s.logger.Infow(
"getting reference timestamp",
"layer", layer,
"referenceLayer", referenceLayer,