Back to Content

RTCError: receivedAlert property

files/en-us/web/api/rtcerror/receivedalert/index.md

latest601 B
Original Source

{{APIRef("WebRTC")}}

The {{domxref("RTCError")}} read-only property receivedAlert specifies the fatal {{Glossary("DTLS")}} error which resulted in an alert being received from the remote peer.

Value

An unsigned long integer value specifying the fatal {{Glossary("DTLS")}} error which resulted in an alert being received from the remote peer.

[!NOTE] This property is null if the RTCError doesn't represent a DTLS error (with {{domxref("RTCError.errorDetail", "errorDetail")}} set to dtls-failure).

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}