SrtOutputNode.addPassphrase() method

Adds or updates a (route, user) access grant on this listener-mode egest — the consumer-side mirror of the input’s grants: the user is claimed via u= in the consumer’s streamid and proven by the passphrase (omit user for the anonymous identity; omit passphrase for a clear-allowed grant).

Signature:

addPassphrase(grant: {
        route: string;
        user?: string;
        passphrase?: string;
    }): void;

Parameters

Parameter Type Description

grant

{ route: string; user?: string; passphrase?: string; }

Returns:

void