InputConnectionHealth type
Per-connection health for an input connection, as a discriminated union over the transport (transport). Each variant carries only the identity and transport stats that apply to it; new input transports add a variant here. A given input’s onConnectionHealth receives the concrete variant for its transport, so callers rarely need to switch on transport themselves.
Signature:
export type InputConnectionHealth = SrtConnectionHealth | RtmpConnectionHealth | TsConnectionHealth;
References: SrtConnectionHealth, RtmpConnectionHealth, TsConnectionHealth