WebRTC Metrics

A comprehensive overview of WebRTC statistics, derived calculations, extracted features, and observable signals, to better understand call quality, connectivity, and user experience in rtcStats

Back
connectivitynetworkslowDtlsEstablishmenttype

Slow DTLS establishment

DTLS is taking a long time to connect.

Description

Setting up a DTLS connection is necessary prior to sending or receiving any media on the connection.

It is assumed that the establishment of DTLS should take two roundtrips or a bit longer. If that isn't the case, then in all likelihood there is a network issue or a media server that doesn't implement DTLS properly.

What do we do here?

We check if the DTLS establishment time is higher than twice the round trip + 10% and with a minimum of 100ms on the peer connection's active candidate pair. If this is the case, then we mark this Observation.