MoqInputSettings interface
Signature:
export interface MoqInputSettings extends SourceNodeSettings<MoqInputNode>, StreamStatisticsMixin
Extends: SourceNodeSettings<MoqInputNode>, StreamStatisticsMixin
Properties
| Property | Type | Description |
|---|---|---|
string |
(Optional) Client mode: a MoQ auth token presented to the peer (the SETUP AUTHORIZATION TOKEN). Replace it for the next reconnect with MoqInputNode.updateAuthToken(). |
|
(Optional) When set, each incoming init and media segment is validated against the C2PA Live Video continuity chain (spec ยง19.3). Per-segment outcomes are delivered to |
||
number |
(Optional) Ask the publisher to drop objects it could not send within this many milliseconds (a MOQT delivery timeout) rather than deliver them late. Unset means none. Client mode. |
|
boolean |
(Optional) Disable verification of remote server’s TLS certificate (for development use ONLY, not for production) |
|
"ascending" | "descending" |
(Optional) The order the media subscriptions ask for groups when the publisher has more than one to send: |
|
(Optional) Optional: start a listener for direct publisher connections. When set, the ingest accepts incoming MoQT publisher connections instead of (or in addition to) connecting to a relay as a subscriber. |
||
"auto" | "draft14" | "draft16" | "draft18" |
(Optional) Pin the MoQT transport draft this ingest uses when it connects out (client and |
|
string[] |
The namespace to subscribe to (client mode only), as a list of segments (the on-the-wire MoQT tuple). For listener mode, set |
|
(info: { representationId: string; isInit: boolean; outcome: C2paValidationOutcome; }) ⇒ void |
(Optional) Called once per init segment and once per media segment when MoqInputSettings.c2paVerification is configured. For MoQ inputs, |
|
(connectionIndex: number, remoteHost: string, publishedNamespace: string[], auth?: MoqConnectionAuth) ⇒ MoqConnectionResult |
(Optional) Called when a new publisher connects via QUIC or WebTransport (listener mode), or is announced at the relay (relay-listener mode). |
|
(connectionIndex: number, state: string) ⇒ void |
(Optional) Called when a publisher connection status changes (listener and relay-listener modes). |
|
(stats: MoqIngestStats) ⇒ void |
(Optional) Called about once a second with ingest-side counters for this input — chiefly how the reorder buffer is behaving. See MoqIngestStats. |
|
(ntpTimestamp: number, mediaTime: number) ⇒ void |
(Optional) Called when a PRFT (Producer Reference Time) box is detected in an incoming CMAF segment. Carries the NTP wall-clock timestamp and the media decode time from the PRFT box. |
|
(track: MoqTrack) ⇒ MoqTrackResult |
(Optional) Called as each track arrives, before any of it comes out: the stream key it gets and its language, or refuse it. The track waits for the answer; one not given within 2 seconds leaves it the input’s own key. A key another track of this input already has is refused. Without it, every track takes the input’s own key (see MoqTrackKey). |
|
(Optional) Optional: relay-listener mode — dial the relay at |
||
number |
(Optional) How long, in milliseconds, to hold each arriving object so that a late-arriving earlier one can overtake it, before emitting in MoQ carries each group on its own QUIC stream, and QUIC orders objects only within a stream — so a group’s tail objects can arrive after the next group has already started. Emitting those in arrival order steps the media timeline backwards, and a downstream sync will eventually drop the offending stream entirely rather than emit out of order. Measured lateness against a public relay was 0-61ms. This is added latency on this input, and any object arriving later than it is dropped. Raise it for a lossy or heavily-relayed path; lower it only where the delay matters more than the occasional dropped object. Set |
|
string |
(Optional) The source name to give the ingested media (client mode). Omit to derive it from the namespace. Set a distinct name when two MoQ inputs in the same instance subscribe to the SAME namespace — otherwise they produce identical stream keys and collide. |
|
(Optional) When specified, drop data until the input is ticking at realtime. As with the other live inputs, a publisher that goes away and comes back is held back again until stable. |
||
"nextGroupStart" | "latestObject" | "fromStart" |
(Optional) Where in the publication media-track subscriptions start (client mode). - |
|
number |
(Optional) MOQT subscriber priority (0-255, lower first) of this input’s media subscriptions, relative to the publisher’s other subscriptions on the same connection. Unset means 128. Client mode. |
|
(Optional) Optional time-domain configuration. When set, the input is placed into a named coordinator and is timestamp-aligned with all other inputs sharing the same domain id within this Norsk instance. Omit for the default (uncoordinated) behaviour. |
||
string |
(Optional) A PEM file, on the Norsk host, of the CA certificates the remote server’s certificate must chain to, in place of the system bundle (client mode, verification on). A self-signed server certificate may be named directly. |
|
string |
(Optional) The URL of the MoQT relay to connect to (e.g. 'moqt://relay.example.com:4443'). Omit when using listener mode. |