SrtOutputSettingsCommon.onConnectionStats property
Each consumer’s SRT transport stats from the sending side — RTT, what was sent, lost and retransmitted — every SrtOutputSettingsCommon.statsPollIntervalMs (default 1 s). For a bonded consumer, each link’s figures are in bondLinks. Only requested from the engine when this is set.
Signature:
onConnectionStats?: (stats: SrtOutputConnectionStats) => void;