Use RTT field in analytics stats (#304)

* Update protocol to v0.11.7

* Use RTT field in analytics stats

Instead of Delay
This commit is contained in:
Artur Shellunts
2021-12-30 13:13:40 +01:00
committed by GitHub
parent 07db1ba726
commit 6f84b36ccf
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ func (t *telemetryServiceInternal) HandleRTCP(streamType livekit.StreamType, par
if streamType == livekit.StreamType_DOWNSTREAM {
rtt := GetRttMs(pkt)
if rtt >= 0 {
stats.Delay = uint64(rtt)
stats.Rtt = uint32(rtt)
}
}
}