RTCError: sentAlert 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.

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

Value

A positive integer value providing the DTLS alert number corresponding to the DTLS error which was sent to the remote peer, as represented by this RTCError object. This property is null if errorDetail isn't dtls-failure.

Specifications

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

Browser compatibility