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:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user