MDN self-hosted library · e01.org

RTCRemoteInboundRtpStreamStats: totalRoundTripTime property

WebRTC

no runnable cells web-api-instance-property upstream source

WebRTC

The totalRoundTripTime property of the RTCRemoteInboundRtpStreamStats dictionary indicates the cumulative number sum of all round trip time (RTT) measurements since the beginning of the session, in seconds.

The individual round trip time is calculated based on the RTCP timestamps in the RTCP Receiver Report (RR), hence requires a DLSR value other than 0. The average RTT can be computed by dividing totalRoundTripTime by roundTripTimeMeasurements.

Value

A number indicating the total round trip time for the session, in seconds.

Specifications

Browser compatibility

See also

  • RR: Receiver Report RTCP Packet