SrtInputSettings.connectionOwnership property

Who owns an accepted connection’s media path (listener mode only).

"shared" (default): every connection is decomposed inside this one node — its outbound context is the union of all connected sources and subscribers use a sourceName selector. Static graphs rely on this shape.

"perConnection" (opt-in): an accepted connection is held for you to take over by creating an NorskInput.srtConnection() node for it — { listener: this, connectionId: index }, where index is the one gave you — within ; unclaimed, it is closed. That node then owns the connection: subscribe to IT for the media, and its own callbacks carry the connection’s TS context, tables, statistics, health and disconnect. This listener node carries no media (subscribing to it yields nothing) and emits no per-connection events beyond onConnection / onConnectionRejected — it is control-plane only. Each connection node’s context holds a single source, so a connect/disconnect no longer re-contexts every other stream — the shape to use for dynamic many-stream systems.

Signature:

connectionOwnership?: "shared" | "perConnection";