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.


consentExpiration = rtcIceCandidatePairStats.consentExpiredTimestamp;


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.


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

Browser compatibility

BCD tables only load in the browser