TcpTsInputSettings interface

Settings for a TCP Transport Stream input. Norsk acts as the TCP client, connecting out to the configured host/port and reconnecting on failure. see: NorskInput.tcpTs()

Signature:

export interface TcpTsInputSettings extends RemoteInputSettings<TcpTsInputNode>, TsCommonInputSettings, StreamStatisticsMixin

Properties

Property Type Description

chaosDropPackets?

DropRandom

(Optional) Drop raw input data ala NorskTransform.streamChaosMonkey(). Leaving this undefined means don’t drop anything 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.

lingerMs?

number

(Optional) Flush any gathered bytes after this many milliseconds of quiet rather than waiting for minReadBytes (default: 50)

minReadBytes?

number

(Optional) Minimum number of bytes to gather before passing data downstream (default: 1316, seven TS packets)

startupThreshold?

InputThresholdSettings

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

timeout?

number

(Optional) Idle timeout in milliseconds - a connection that delivers no data for this long is dropped and reconnected (default: 1000)