SrtMultiplexedOutputSettings interface

An SRT egest that reaches its consumers over a port owned by an SrtMultiplexEgest shared with other outputs, instead of binding one of its own. Consumers connect to the multiplex’s host and port and select this output with r=<route> in their streamid.

mode, host, port, passphrase and streamId are deliberately absent: this output owns no socket, so none of them can mean anything here. Access is per consumer instead of per socket — grant each with SrtOutputNode.addPassphrase() on THIS output, not on the multiplex, and an unknown (route, user) is refused at the handshake.

Signature:

export interface SrtMultiplexedOutputSettings extends SrtOutputSettingsCommon

Properties

Property Type Description

multiplex

SrtMultiplexEgest

The multiplex that owns the port, as returned by NorskOutput.srtMultiplex(). Taking the object rather than an id is what makes "the multiplex exists" a compile-time fact; if it has not yet finished binding, this output waits for it.

portMode

"multiplexed"

Marks this output as sharing a multiplex’s port.

route

string

The r= value consumers present in their streamid to reach this output. Must be unique among the outputs sharing this multiplex.