11.2 RTCErrorDetailType Enum

  1. WebIDLenum RTCErrorDetailType {
  2. "data-channel-failure",
  3. "dtls-failure",
  4. "fingerprint-failure",
  5. "sctp-failure",
  6. "sdp-syntax-error",
  7. "hardware-encoder-not-available",
  8. "hardware-encoder-error"
  9. };
Enumeration description
data-channel-failureThe data channel has failed.
dtls-failureThe 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-failureThe 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-failureThe 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-errorThe 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-availableThe hardware encoder resources required for the requested operation are not available.
hardware-encoder-errorThe hardware encoder does not support the provided parameters.