W3cubDocs

/Web APIs

NetworkInformation: rtt property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The NetworkInformation.rtt read-only property returns the estimated effective round-trip time of the current connection, rounded to the nearest multiple of 25 milliseconds. This value is based on recently observed application-layer RTT measurements across recently active connections. It excludes connections made to a private address space. If no recent measurement data is available, the value is based on the properties of the underlying connection technology.

Note: This feature is available in Web Workers

Value

A number.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
rtt
61The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
79The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
No No
48The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
No
50The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
38The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
No
25The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
No
3.0The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/rtt