MoqPathStats interface

How a MoQ connection’s QUIC path is doing, as its transport sees it from this end. Counters are cumulative since the connection opened. Reported only by a transport that measures its path (msquic, the default for raw QUIC).

Signature:

export interface MoqPathStats

Properties

Property Type Description

bytesReceived

number

bytesSent

number

congestionEvents

number

Times the congestion controller backed off.

maxRttMs

number

Greatest round-trip time seen, in ms.

minRttMs

number

Least round-trip time seen, in ms.

packetsDropped

number

Of those received, how many were dropped (undecryptable, or no buffer).

packetsDuplicate

number

Of those received, how many were duplicates.

packetsLost

number

Of those, how many were lost: declared lost and not later acknowledged. Loss on the media’s direction is seen by its sender, so read this at the egest (MoqOutputSettings.onPathStats); an ingest sends little but acknowledgements.

packetsReceived

number

QUIC packets this end received.

packetsReordered

number

Of those received, how many arrived out of order.

packetsSent

number

QUIC packets this end sent.

pathMtu

number

The path’s MTU, in bytes.

smoothedRttMs

number

Smoothed round-trip time, in ms.