MoqInputSettings interface
Signature:
export interface MoqInputSettings extends SourceNodeSettings<MoqInputNode>, StreamStatisticsMixin
Extends: SourceNodeSettings<MoqInputNode>, StreamStatisticsMixin
Properties
| Property | Type | Description |
|---|---|---|
(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 |
||
boolean |
(Optional) Disable verification of remote server’s TLS certificate (for development use ONLY, not for production) |
|
(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 negotiates (client mode), instead of auto-negotiating. Auto lands on the newest draft both ends prefer (draft-16 for Norsk↔Norsk). Set |
|
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[]) ⇒ MoqConnectionResult |
(Optional) Called when a new publisher connects via QUIC or WebTransport (listener mode only). |
|
(connectionIndex: number, state: string) ⇒ void |
(Optional) Called when a publisher connection status changes (listener mode only) |
|
(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. |
|
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. |
|
"nextGroupStart" | "latestObject" | "fromStart" |
(Optional) Where in the publication media-track subscriptions start (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) The URL of the MoQT relay to connect to (e.g. 'moqt://relay.example.com:4443'). Omit when using listener mode. |