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
| Specification | Status | Comment |
|---|---|---|
| Identifiers for WebRTC's Statistics API The definition of 'RTCIceCandidatePairStats.consentExpiredTimestamp' in that specification. |
Candidate Recommendation | Initial specification. |
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
consentExpiredTimestamp | Chrome No support No | Edge No support No | Firefox No support No | IE No support No | Opera ? | Safari ? | WebView Android No support No | Chrome Android No support No | Firefox Android No support No | Opera Android ? | Safari iOS ? | Samsung Internet Android No support No |
Legend
- No support
- No support
- Compatibility unknown
- Compatibility unknown
