NetworkInformation: rtt property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Note: This feature is available in Web Workers.

The rtt read-only property of the NetworkInformation interface 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.

Value

A number.

Specifications

Specification
Network Information API
# dom-networkinformation-rtt

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
rtt
Chrome – Full support
Chrome 61 (Release date: 2017-09-05)
footnote
footnote The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote
footnote The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
Firefox – No support
Firefox
footnote No support
Opera – Full support
Opera 48 (Release date: 2017-09-27)
footnote
footnote The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
Safari – No support
Safari
footnote No support
Chrome Android – Full support
Chrome Android 38 (Release date: 2014-10-08)
footnote
footnote The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
Firefox for Android – No support
Firefox for Android
footnote No support
Opera Android – Full support
Opera Android 25 (Release date: 2014-10-16)
footnote
footnote The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
Safari on iOS – No support
Safari on iOS
footnote No support
Samsung Internet – Full support
Samsung Internet 3 (Release date: 2015-04-10)
footnote
footnote The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
WebView Android – Full support
WebView Android 50 (Release date: 2016-04-13)
footnote
footnote The value is never greater than 3000 ms, as a non-standard anti-fingerprinting measure.
WebView on iOS – No support
WebView on iOS
footnote No support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.

See also