The read-only sctpCauseCode property in an RTCError object provides the SCTP cause code explaining why the SCTP negotiation failed, if the RTCError represents an SCTP error.
The read-only sctpCauseCode property in an RTCError object provides the SCTP cause code explaining why the SCTP negotiation failed, if the RTCError represents an SCTP error.
An unsigned long integer value specifying SCTP cause code explaining why the error occurred. This property is null if the error isn't an SCTP error, with its errorDetail property set to sctp-failure.
The standard SCTP error cause codes, numbered 1-13, are defined in the SCTP specification: RFC 4960, section 3.3.10.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
sctpCauseCode |
74 | 79 | No | No | 60 | 15.4 | 74 | 74 | No | 53 | 15.4 | 11.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCError/sctpCauseCode