RTCIceCandidatePairStats.circuitBreakerTriggerCount
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 |
---|
Identifiers for WebRTC's Statistics API (WebRTC Statistics) # dom-rtcicecandidatepairstats-circuitbreakertriggercount |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
circuitBreakerTriggerCount |
No |
No |
No |
No |
? |
No |
No |
No |
No |
? |
No |
No |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidatePairStats/circuitBreakerTriggerCount