SrtInputSettings.requireGrants property

Listener mode only: fail closed on the access grants (SrtInputNode.addPassphrase()). By default a listener with NO grants accepts every caller, so removing the last grant reopens it to anyone. With requireGrants: true a listener with no grants refuses every caller instead — reported to with reason "no_grants" — until the first grant is added, and again once the last one is removed. Callers are matched against the grants as usual while any exist. Default false (an empty grant table accepts everyone).

Signature:

requireGrants?: boolean;