NorskOutput.srtMultiplex() method
Opens a shared SRT listener port that many NorskOutput.srt() outputs can reach their consumers over, instead of each binding a port of its own. Carries no media and is not a media node: nothing subscribes to it.
Pass the returned object as the multiplex of an SRT output configured with portMode: "multiplexed". Consumers then connect to this host and port and select an output with r=<route> in their streamid.
Signature:
srtMultiplex(settings: SrtMultiplexEgestSettings): Promise<SrtMultiplexEgest>;
Parameters
| Parameter | Type | Description |
|---|---|---|
settings |
Configuration for the shared port |
Returns:
Promise<SrtMultiplexEgest>
Find Examples
Search for examples using srtMultiplex in our examples repo.