Share via


onerror event

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

This event fires on reception of a DTLS alert.

Syntax

Event Property object.onerror = handler;

 

Event handler parameters

  • eventHandler
    Type: error

    MUST be supported by all objects implementing the RTCDtlsTransport interface.

Standards information

Example

      videoRtpDtlsTransport.onerror = errorHandler;
 
       

See also

RTCDtlsTransport