SrtOutputSettings.onConnectionRejected property
A consumer refused at the CRYPTO layer by this egest’s (route, user) grant table — the handshake was rejected before SrtOutputSettings.onConnection could run. Reasons: "unknown_route" | "unknown_user". A WRONG passphrase fails later in SRT’s key-material exchange and produces no event.
Signature:
onConnectionRejected?: (rejection: {
streamId: string;
route: string;
user?: string;
remoteHost: string;
reason: string;
}) => void;