MoqTrackIngestStats interface

Per-track ingest counters for a MoQ input. Cumulative since the input started, except objectsBuffered, which is instantaneous.

Signature:

export interface MoqTrackIngestStats

Properties

Property Type Description

maxLatenessMs

number

Worst lateness seen, in ms: how far behind the newest object a late one arrived. Size MoqInputSettings.reorderBufferMs comfortably above this.

objectsBuffered

number

Objects currently held in the reorder buffer (instantaneous).

objectsDroppedLate

number

Objects that arrived after their slot had already been emitted and so had to be discarded. A sustained non-zero count means MoqInputSettings.reorderBufferMs is too small for this path — compare it against maxLatenessMs.

objectsEmitted

number

Objects handed on to the workflow.

objectsOutOfOrder

number

Objects that arrived out of {group, object} order. MoQ carries each group on its own QUIC stream and QUIC orders only within a stream, so a non-zero count is normal on a relayed path — these were absorbed by the reorder buffer and emitted in the right order.

trackName

string

The MoQ data track these counters describe.