RTCError: receivedAlert property

Baseline 2026
Newly available

Since April 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

Note: This feature is available in Dedicated Web Workers.

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

Value

A positive integer value.

Note: This property is null if the RTCError doesn't represent a DTLS error. DTLS errors are indicated by the errorDetail property being set to dtls-failure.

Specifications

Specification
WebRTC: Real-Time Communication in Browsers
# dom-rtcerror-receivedalert

Browser compatibility