SrtMultiplexEgest class
A shared SRT listener port. It carries no media and is not a media node: nothing subscribes to it and it appears in no workflow. It owns a port, and the SRT outputs configured with portMode: "multiplexed" reach their consumers over it, each identified by its own route.
One port instead of one per output is the point: libsrt gives every bound port its own send and receive threads, so collapsing many outputs onto a few ports removes threads and the context switching that comes with them. Shard across several multiplexes rather than putting everything on one — those threads are per port and serial across the connections on it.
The port lives as long as this object: SrtMultiplexEgest.close(), or closing the Norsk instance, drops it and every consumer connected over it.
Signature:
export declare class SrtMultiplexEgest