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 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 An unsigned integer value indicating the line within the SDP at which the syntax error described by the RTCError object occurred.

Link copied to clipboard

The read-only sentAlert property in an while sending data to the remote peer, if the error represents an outbound DTLS error.