RTCStatsIceCandidatePairState enumerated type represents the set of string values which are possible for the RTCIceCandidatePairStats 对象的 state 特性。 This represents the state of this candidate pair within the ICE check list for the RTCPeerConnection .

ICE check lists in RTCIceCandidatePairStats.state for further information about how ICE check lsits work.

failed

A check for this pair has been performed but failed. A failure can occur either because no response was received or because the response indicated that an unrecoverable error occurred.

frozen
No check has been performed yet for this candidate pair, and performing the check is blocked until another check is successful. Once that check has succeeded, this pair will unfreeze and move into the waiting 状态。
in-progress

A check has been initiated for this pair, but the check's transaction is still in progress.

succeeded

A check for this pair has been completed successfully.

waiting
This pair has not yet been checked, but the check can be performed as soon as this pair is the highest priority pair remaining in the waiting 状态。

规范

规范 状态 注释
Identifiers for WebRTC's Statistics API
The definition of 'RTCStatsIceCandidatePairState' 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.

No compatibility data found. Please contribute data for "api.RTCStatsIceCandidatePairState" (depth: 1) to the MDN 兼容性数据存储库 .

元数据

  • 最后修改: