This feature is not Baseline because it does not work in some of the most widely-used browsers.
The totalRoundTripTime property of the RTCRemoteInboundRtpStreamStats dictionary indicates the cumulative number sum of all round trip time (RTT) measurements since the beginning of the session, in seconds.
The individual round trip time is calculated based on the RTCP timestamps in the RTCP Receiver Report (RR), hence requires a DLSR value other than 0. The average RTT can be computed by dividing totalRoundTripTime by roundTripTimeMeasurements.
A number indicating the total round trip time for the session, in seconds.
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcremoteinboundrtpstreamstats-totalroundtriptime> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
totalRoundTripTime |
91 | 91 | 106 | 77 | No | 91 | 106 | 64 | No | 16.0 | 91 | No |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCRemoteInboundRtpStreamStats/totalRoundTripTime