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 为 0。

规范

规范 状态 注释
Identifiers for WebRTC's Statistics API
The definition of 'RTCIceCandidatePairStats.consentExpiredTimestamp' in that specification.
候选推荐 最初的规范。

浏览器兼容性

The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
consentExpiredTimestamp Chrome No Edge No Firefox No IE No Opera ? Safari ? WebView Android No Chrome Android No Firefox Android No Opera Android ? Safari iOS ? Samsung Internet Android No

图例

不支持

不支持

兼容性未知 ?

兼容性未知

元数据

  • 最后修改: