TsCommonInputSettings.onConnectionHealth property
Called periodically with the input’s health (per-stream media health plus a transport-level packet-gap stat). These inputs are connection-less, so the health carries no per-connection identity (transport: "ts"). Fires for the live TS inputs — NorskInput.udpTs() / NorskInput.tcpTs() — that enable UdpTsInputSettings.healthSampling; measurements only, you decide the policy.
Signature:
onConnectionHealth?: (health: TsConnectionHealth) => void;