RtpInputSettings.onConnectionHealth property
Called with each health sample when is enabled. RTP is connection-less, so the sample carries per-stream media health plus a packet-gap stat, with no per-connection identity.
Signature:
onConnectionHealth?: (health: TsConnectionHealth) => void;