WebRTCwindow_and_dedicated
The sctpCauseCode read-only property of the RTCError interface provides the SCTP cause code explaining why the SCTP negotiation failed, if the RTCError represents an SCTP error.
Value
A positive integer specifying the SCTP cause code explaining why the error occurred.
This property must only be set if RTCError.errorDetail is sctp-failure, and is otherwise null.
The standard SCTP error cause codes, numbered 1-13, are defined in the SCTP specification: .
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
