SrtCommonInputSettings.onConnectionRejected property
A connection refused at the CRYPTO layer by the (route, user) passphrase table — the handshake was rejected before could run, so this is the only visibility the application gets (probe / DoS auditing). Reasons: "unknown_route" | "unknown_user". NB a WRONG passphrase fails later in SRT’s key-material exchange and produces no event; those attempts appear only in the engine’s srt logs.
Signature:
onConnectionRejected?: (rejection: {
streamId: string;
route: string;
user?: string;
remoteHost: string;
reason: string;
}) => void;