dom / latest / networkinformation / rtt.html /

NetworkInformation.rtt

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
61
The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
79
The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
No
No
48
The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
No
50
The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
38
The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
No
25
The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
No
3.0
The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.

See also

© 2005–2021 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