RTCError

open class RTCError(init: RTCErrorInit, message: String = definedExternally) : DOMException(source)

The RTCError interface describes an error which has occurred while handling WebRTC operations.

MDN Reference

Constructors

Link copied to clipboard
constructor(init: RTCErrorInit, message: String = definedExternally)

Properties

Link copied to clipboard

The RTCError interface's read-only errorDetail property is a string indicating the WebRTC-specific error code that occurred.

Link copied to clipboard
open override val message: String
Link copied to clipboard
Link copied to clipboard

The RTCError read-only property receivedAlert specifies the fatal DTLS error which resulted in an alert being received from the remote peer.

Link copied to clipboard

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.

Link copied to clipboard

The RTCError interface's read-only property sdpLineNumber specifies the line number within the SDP at which a syntax error occurred while parsing it.

Link copied to clipboard

The read-only sentAlert property in an RTCError object specifies the DTLS alert number occurred while sending data to the remote peer, if the error represents an outbound DTLS error.