SrtPcapCaptureInputSettings.onConnectionStatusChange property
Called when a connection’s status has changed (e.g. when a session of the capture has ended)
Signature:
onConnectionStatusChange?: (
status: SrtInputStatus,
sourceName: string | undefined,
index: number,
health?: InputHealthStatus) => void;