UdpTsInputSettings interface

Settings for a UDP Transport Stream input see: NorskInput.udpTs()

Signature:

export interface UdpTsInputSettings extends RemoteInputSettings<UdpTsInputNode>, TsCommonInputSettings, StreamStatisticsMixin

Properties

Property Type Description

allowedSourceAddresses?

string[]

(Optional) Only accept datagrams from these source IP addresses (exact match, v4 or v6). Empty/undefined = accept from anywhere. The only admission control a connection-less input can have: datagrams from other sources are dropped before demux (logged engine-side once per source), never delivered.

chaosDropPackets?

DropRandom

(Optional) Drop raw input packets ala NorskTransform.streamChaosMonkey(). Leaving this undefined means don’t drop any packets For testing, you really don’t want this in a live system.

debugDumpSource?

string

(Optional) When specified dump the raw source input for debug purposes to the given directory

healthSampling?

HealthSamplingSettings

(Optional) Per-input health sampling. Emits periodic TsConnectionHealth events via TsCommonInputSettings.onConnectionHealth. On by default; set enabled: false to disable or intervalSeconds to tune the cadence.

interface?

string

(Optional) Optional interface to bind to

rtpDecapsulate?

boolean

(Optional) Whether to expect the input TS to be encapsulated in RTP via RFC 2250 (default: false)

startupThreshold?

InputThresholdSettings

(Optional) when specified, drop data until the input is ticking at realtime

timeout?

number

(Optional) Timeout in milliseconds before determining the input is closed