The RTCIceCandidatePairStats
property circuitBreakerTriggerCount
indicates the number of times the circuit-breaker has been triggered to indicate a connection timeout or other unexpected connection abort on this specific connection configuration.
A circuit breaker trigger is fired each time the connection times out or otherwise needs to be halted automatically.
Syntax
cbtCount = rtcIceCandidatePairStats.circuitBreakerTriggerCount;
Value
An integer value indicating the number of times the circuit-breaker has been triggered for the 5-tuple used by this connection. A 5-tuple defining a TCP connection is made up of the following data:
- The source IP address.
- The source port number.
- The destination IP address.
- The destination port number.
- Network protocol.
Specifications
Specification | Status | Comment |
---|---|---|
Identifiers for WebRTC's Statistics API The definition of 'RTCIceCandidatePairStats.circuitBreakerTriggerCount' in that specification. |
Candidate Recommendation | Initial specification. |
Browser compatibility
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.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
circuitBreakerTriggerCount | 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