The RTCIceCandidatePairStats property lastRequestTimestamp indicates the time at which the most recent STUN request was sent on the described candidate pair.


lastRequestTimestamp = rtcIceCandidatePairStats.lastRequestTimestamp;


A DOMHighResTimeStamp object indicating the timestamp at which the last (most recent) STUN request was sent on the connection indicated by the described pair of candidates.

You can use this value in combination with firstRequestTimestamp and requestsSent to compute the average interval between consecutive connectivity checks:

avgCheckInterval = (candidatePairStats.lastRequestTimestamp -
                    candidatePairStats.firstRequestTimestamp) /


Specification Status Comment
Identifiers for WebRTC's Statistics API
The definition of 'RTCIceCandidatePairStats.lastRequestTimestamp' in that specification.
Candidate Recommendation Initial specification.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
lastRequestTimestampChrome No support NoEdge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android No support No


No support  
No support
Compatibility unknown  
Compatibility unknown