RTCIceCandidatePairStats.consentExpiredTimestamp

The RTCIceCandidatePairStats property consentExpiredTimestamp indicates the time at which the most recent STUN binding response expired.

This indicates when the current STUN bindings — the mapping of the IP address and port configurations for both peers on the WebRTC connection — are due to expire. If this time has arrived or passed, the bindings have expired.

Syntax

consentExpiration = rtcIceCandidatePairStats.consentExpiredTimestamp;

Value

A DOMHighResTimeStamp object that indicates the time at which the STUN binding that allows the two peers described by this RTCIceCandidatePair to communicate will expire (or the time at which the binding did expire, if the time has passed).

This property's value is undefined if there have been no STUN binding responses yet on the candidate pair. This is only possible if responsesReceived is 0.

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
consentExpiredTimestamp
No
No
No
No
?
No
No
No
No
?
No
No

© 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/RTCIceCandidatePairStats/consentExpiredTimestamp