The RTCStatsIceCandidatePairState enumerated type represents the set of string values which are possible for the RTCIceCandidatePairStats object's state property. This represents the state of this candidate pair within the ICE check list for the RTCPeerConnection.

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


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.
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.
A check has been initiated for this pair, but the check's transaction is still in progress.
A check for this pair has been completed successfully.
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.


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

Browser compatibility

No compatibility data found. Please contribute data for "api.RTCStatsIceCandidatePairState" (depth: 1) to the MDN compatibility data repository.