SrtInputSettings.onConnectionHealth property

Called periodically with per-connection health. Measurements only — you decide the policy (e.g. close the stream and deny with backoff).

Signature:

onConnectionHealth?: (health: SrtConnectionHealth) => void;