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.


let sentAlert = rtcError.sentAlert;


An unsigned 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.


Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCError.sentAlert' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

BCD tables only load in the browser