RTCStatsIceCandidatePairState

RTCStatsIceCandidatePairState enumerated type represents the set of string values which are possible for the RTCIceCandidatePairStats object's 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.

Values

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 state.
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 state.

规范

规范 状态 Comment
Identifiers for WebRTC's Statistics API
The definition of 'RTCStatsIceCandidatePairState' in that specification.
候选推荐 Initial specification.

浏览器兼容性

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