SrtConnectionHealthStats interface

SRT transport stats for a connection at a health sample. Gauges are instantaneous; the packet counters are cumulative totals since the connection started (diff across samples for a per-interval rate).

Signature:

export interface SrtConnectionHealthStats

Properties

Property Type Description

bandwidthMbps

number

belated

number

Arrived too late to play

bondLinks

SrtBondLinkStats[]

The links of a bonded connection (see SrtCommonInputSettings.acceptBonded), empty otherwise. The links are merged by SRT sequence number, so the figures above describe the connection as a whole and this is the only view of each path — a link with live: false, or losing far more than its siblings, is where protection is being spent.

dropped

number

Lost and never recovered (only with too-late-packet-drop on)

errors?

TsErrorCounts

(Optional) ETR 101 290 occurrences over this sample from the connection’s TS decoder, by kind, with the TS packets seen: what retransmission did not recover. ccErrorsDuplicate + ccErrorsOutOfOrder per second is what the transport_errors health reason judges.

latencyMs

number

Configured receive (TSBPD) latency

latencyOverRtt

number

Configured latency as a multiple of RTT — the recovery headroom (aim >= 3-4)

rcvBufMs

number

Undelivered timespan in the receive buffer (ms)

received

number

receivedLost

number

Detected missing on original transmission (pre-recovery link damage)

retransmitted

number

Recovered by retransmission

rttMs

number

undecrypted

number