11.2 RTCErrorDetailType
Enum
- WebIDLenum
RTCErrorDetailType
{ - "
data-channel-failure
", - "
dtls-failure
", - "
fingerprint-failure
", - "
sctp-failure
", - "
sdp-syntax-error
", - "
hardware-encoder-not-available
", - "
hardware-encoder-error
" - };
Enumeration description |
---|
data-channel-failure | The data channel has failed. |
dtls-failure | The DTLS negotiation has failed or the connection has been terminated with a fatal error. The message contains information relating to the nature of error. If a fatal DTLS alert was received, the receivedAlert attribute is set to the value of the DTLS alert received. If a fatal DTLS alert was sent, the sentAlert attribute is set to the value of the DTLS alert sent. |
fingerprint-failure | The RTCDtlsTransport ‘s remote certificate did not match any of the fingerprints provided in the SDP. If the remote peer cannot match the local certificate against the provided fingerprints, this error is not generated. Instead a “bad_certificate” (42) DTLS alert might be received from the remote peer, resulting in a “dtls-failure “. |
sctp-failure | The SCTP negotiation has failed or the connection has been terminated with a fatal error. The sctpCauseCode attribute is set to the SCTP cause code. |
sdp-syntax-error | The SDP syntax is not valid. The sdpLineNumber attribute is set to the line number in the SDP where the syntax error was detected. |
hardware-encoder-not-available | The hardware encoder resources required for the requested operation are not available. |
hardware-encoder-error | The hardware encoder does not support the provided parameters. |