CmafIngestInputSettings interface

Settings for a CMAF ingest input. Receives fMP4 init and media segments via HTTP PUT/POST.

Signature:

export interface CmafIngestInputSettings extends SourceNodeSettings<CmafIngestInputNode>, StreamStatisticsMixin

Properties

Property Type Description

c2paVerification?

C2paVerificationSettings

(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 onC2paSegmentVerified. Reporting-only: media flows regardless of validation result.

name

string

The name of this CMAF ingest endpoint (used in the URL path)

onC2paSegmentVerified?

(info: { representationId: string; isInit: boolean; outcome: C2paValidationOutcome; }) ⇒ void

(Optional) Called once per init segment and once per media segment when CmafIngestInputSettings.c2paVerification is configured. representationId matches the URL path component pushed by the publisher. isInit distinguishes the init from media segments.

onTrackConnected?

(representationId: string) ⇒ void

(Optional) Called when a new track (representation) connects

onTrackDisconnected?

(representationId: string) ⇒ void

(Optional) Called when a track (representation) disconnects

timeDomain?

TimeDomain

(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.