11.1.1 Constructors
Run the following steps:
Let message be the constructor’s second argument.
Let e be a new object.
Set all
RTCError
attributes of e to the value of the corresponding attribute in init if it is present, otherwise set it to .Return e.
11.1.2 Attributes
errorDetail
of type RTCErrorDetailType, readonly
The WebRTC-specific error code for the type of error that occurred.
sdpLineNumber
of type long, readonly, nullable
If is “sdp-syntax-error
“ this is the line number where the error was detected (the first line has line number 1).
If is “sctp-failure
“ this is the SCTP cause code of the failed SCTP negotiation.
receivedAlert
of type unsigned long, readonly, nullable
If is ““ and a fatal DTLS alert was received, this is the value of the DTLS alert received.
sentAlert
of type unsigned long, readonly, nullable
If is “dtls-failure
“ and a fatal DTLS alert was sent, this is the value of the DTLS alert sent.
(Feature at Risk) Issue 1