SrtPcapInputSettings interface
Settings for an SRT pcap input node.
Experimental: passive SRT probe from a packet capture. The node replays the SRT sessions found in a classic pcap file as if they had been sent to an SRT listener: one connection per session, the same connection callbacks and health events as NorskInput.srt() in listener mode, and the node closes once the capture has been delivered. see: NorskInput.srtPcap()
Signature:
export interface SrtPcapInputSettings extends InputSettings<SrtPcapInputNode>, StreamStatisticsMixin
Extends: InputSettings<SrtPcapInputNode>, StreamStatisticsMixin
Events
| Property | Type | Description |
|---|---|---|
( streamId: string, index: number, remoteHost: string) ⇒ SrtConnectionResult |
(Optional) Called for each SRT session found in the capture, as SrtCommonInputSettings.onConnection. |
|
(health: SrtConnectionHealth) ⇒ void |
(Optional) Called periodically with per-connection health, as SrtInputSettings.onConnectionHealth. |
|
( status: SrtInputStatus, sourceName: string | undefined, index: number, health?: InputHealthStatus) ⇒ void |
(Optional) Called when a connection’s status has changed (e.g. when a session of the capture has ended) |
Properties
| Property | Type | Description |
|---|---|---|
string |
(Optional) When specified dump the raw source input for debug purposes to the given directory |
|
string |
Absolute path of a classic pcap file on the engine host |
|
(Optional) Per-connection health sampling, as SrtInputSettings.healthSampling. On by default. A session’s final statistics are reported for three health intervals after its end, before the connection is reported as disconnected. |
||
HealthThresholdsSettings | "recommended" |
(Optional) Opt-in thresholds for |
|
(sourceTimeState: SourceTimeState) ⇒ void |
(Optional) Called when either a VITC timecode is detected, or having previously detected a timestamp it stops being present |
|
(context: SrtTsContext) ⇒ void |
(Optional) |
|
(table: SrtTsTable) ⇒ void |
(Optional) Callback to be invoked on receiving a TS PSI/SI table/section |
|
number |
(Optional) Playback rate multiplier: capture time is replayed at this many times realtime. Defaults to 1 (realtime). |
|
number |
(Optional) Optionally filter a single program from MPTS at decode time |
|
number |
(Optional) Interval in milliseconds at which to sample the per-connection SRT statistics. When unspecified a default is used. |
|
(Optional) Optional time-domain configuration, as SrtCommonInputSettings.timeDomain. |