TsCommonInputSettings interface

Signature:

export interface TsCommonInputSettings

Events

Property Type Description

onConnectionHealth?

(health: TsConnectionHealth) ⇒ void

(Optional) Called periodically with the input’s health (per-stream media health plus a transport-level packet-gap stat). These inputs are connection-less, so the health carries no per-connection identity (transport: "ts"). Fires for the live TS inputs — NorskInput.udpTs() / NorskInput.tcpTs() — that enable UdpTsInputSettings.healthSampling; measurements only, you decide the policy.

Properties

Property Type Description

cta708Charset?

Cta708CharsetSetting

(Optional) Character set used to interpret CTA-708 P16 (16-bit) captions — for East-Asian services whose P16 code set is a legacy DBCS rather than Unicode. The code set is signalled out of band, so it must be chosen per input; it does not affect Latin/ASCII text. Defaults to 'unicode'.

onSourceTimeStateChange?

(sourceTimeState: SourceTimeState) ⇒ void

(Optional) Called when either a VITC timecode is detected, or having previously detected a timestamp it stops being present

onTsContext?

(context: TsContext) ⇒ void

(Optional) Callback to be invoked on receiving the raw TS context. This may contain additional streams which are unsupported by Norsk and would not appear in the node output, pids which have no data and thus will not appear in the node output (yet).

onTsTable?

(table: TsTable) ⇒ void

(Optional) Callback to be invoked on receiving a TS PSI/SI table/section

programFilter?

number

(Optional) Optionally filter a single program from MPTS at decode time

reportTsErrors?

boolean

(Optional) Whether decoded frames carry per-frame TR 101 290 (TS error) metrics. Only NorskInspect.qualityMonitoring() reads them; carrying them makes every frame’s quality-metrics map a per-frame allocation that is copied on each processing hop, so many-stream deployments that do no quality monitoring should set false. Default true.

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.