TsConnectionHealthStats interface

Transport-level stats for a connection-less TS input (udpTs / tcpTs). No SRT-style loss/RTT; just a packet-gap signal alongside the media health.

Signature:

export interface TsConnectionHealthStats

Properties

Property Type Description

msSinceLastPacket

number

Milliseconds since the last packet/read arrived — the transport-level gap. Distinct from a stream’s lastMediaAgeMs (time since the last decoded frame): this fires even when decoding has stopped emitting frames.

receivedPackets

number

Packets received over the sample window (UDP datagrams; TCP read chunks)