RTCIceCandidatePairStats: currentRoundTripTime property

Limited availability

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

The currentRoundTripTime property of the RTCIceCandidatePairStats dictionary indicates the number of seconds it takes for data to be sent by this peer to the remote peer and back over the connection described by this pair of ICE candidates.

Value

A number indicating the round-trip time, in seconds, for the connection described by the pair of candidates for which this RTCIceCandidatePairStats object offers statistics.

This value is computed by observing the time that elapsed between the most recent STUN request being sent to the remote peer and the response to that request arriving. This information may come from ongoing STUN connectivity checks as well as from consent requests made when the connection was initially being opened.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcicecandidatepairstats-currentroundtriptime

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
currentRoundTripTime in 'candidate-pair' stats
Chrome – Full support
Chrome 58 (Release date: 2017-04-19)
altname
altname Alternate name: currentRtt
Chrome – Full support
Chrome 71 (Release date: 2018-12-04)
footnote Full support
Edge – Full support
Edge 79 (Release date: 2020-01-15)
altname
altname Alternate name: currentRtt
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote Full support
Firefox – Full support
Firefox 142 (Release date: 2025-08-19)
footnote Full support
Opera – Full support
Opera 45 (Release date: 2017-05-10)
altname
altname Alternate name: currentRtt
Opera – Full support
Opera 58 (Release date: 2019-01-23)
footnote Full support
Safari – No support
Safari 11 – 16.1 (Release date: 2017-09-19)
footnote Removed in 16.2 and later
Chrome Android – Full support
Chrome Android 58 (Release date: 2017-04-25)
altname
altname Alternate name: currentRtt
Chrome Android – Full support
Chrome Android 71 (Release date: 2018-12-04)
footnote Full support
Firefox for Android – Full support
Firefox for Android 142 (Release date: 2025-08-19)
footnote Full support
Opera Android – Full support
Opera Android 43 (Release date: 2017-09-27)
altname
altname Alternate name: currentRtt
Opera Android – Full support
Opera Android 50 (Release date: 2019-02-18)
footnote Full support
Safari on iOS – No support
Safari on iOS 11 – 16.1 (Release date: 2017-09-19)
footnote Removed in 16.2 and later
Samsung Internet – Full support
Samsung Internet 7 (Release date: 2018-03-16)
altname
altname Alternate name: currentRtt
Samsung Internet – Full support
Samsung Internet 10 (Release date: 2019-08-22)
footnote Full support
WebView Android – Full support
WebView Android 58 (Release date: 2017-04-25)
altname
altname Alternate name: currentRtt
WebView Android – Full support
WebView Android 71 (Release date: 2018-12-04)
footnote Full support
WebView on iOS – No support
WebView on iOS 11 – 16.1 (Release date: 2017-09-19)
footnote Removed in 16.2 and later

Legend

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

Full support
Full support
Uses a non-standard name
Has more compatibility info.