MoqInputListenerSettings interface

Settings for a MoQ ingest listener that accepts publisher connections.

Signature:

export interface MoqInputListenerSettings

Properties

Property Type Description

iroh?

boolean

(Optional) Also accept publishers over the shared per-instance iroh endpoint (see norsk.system.iroh): the namespace prefix routes on the endpoint’s NodeId, so remote encoders can publish to iroh://<nodeId> with no port, cert or firewall hole. Peers must be on the endpoint’s allow-list.

irohDedicated?

IrohDedicatedListenerSettings

(Optional) Or accept over a DEDICATED iroh identity for this input alone — its own key, allow-list and relay mode on its own endpoint (advanced/multi-tenant; most users want iroh: true).

namespacePrefix

string[]

Namespace prefix to accept publishers for, as a list of segments (the on-the-wire MoQT tuple). Any incoming PUBLISH_NAMESPACE whose tuple BEGINS with these segments is routed to this ingest; everything else is rejected at the listener pool. Matching is SEGMENT-AWARE: prefix ["stage", "primary"] matches publishers whose tuple begins with ["stage", "primary", ...] but does NOT match ["stage", "primaryextra"]. The MoqInputSettings.onConnection callback is invoked per accepted publisher with the full published namespace tuple.

quicServerCert?

string

(Optional) TLS certificate file path (required when a port is set)

quicServerKey?

string

(Optional) TLS private key file path (required when a port is set)

quicServerPort?

number

(Optional) QUIC listener port for publisher connections

webTransportPort?

number

(Optional) WebTransport listener port for publisher connections