HealthSampling

Per-connection health sampling for an input (RTMP / SRT). Emits a periodic InputConnectionHealth event per connection carrying measurements only — no verdict; the SDK client owns thresholds and policy. Default on at a conservative interval. See docs/srt-input-metrics.md.

Field

Type

Repeated

Description

enabled

OptionalBool

Default true. Set false to disable the per-connection health event.

interval_seconds

OptionalFloat

Sampling interval in seconds. Default 5.

Member of

Message

Description

RtmpServerInputConfiguration

Configure an RTMP Input Media Node. Should be sent once, after the node has been created.

SrtConnectionInputConfiguration

Takes over one accepted connection of an SRT listener running CONNECTION_OWNERSHIP_PER_CONNECTION. Create it after accepting the connection (SrtConnectionAccept on the listener’s stream); the two are unordered on the wire, so a claim arriving first waits for its accept. The node then owns that connection: the data path, its outbound context, TS context/tables, timecode, stream statistics, GOP structure, SRT stats and connection health all arrive on THIS stream, and closing the node closes the connection. The node lives exactly as long as the connection: on disconnect it emits status DISCONNECTED, flushes, EOS-es its subscribers and stops. A second claim on the same connection is refused (ALREADY_EXISTS); a claim on an unknown connection is NOT_FOUND; one whose connection went away, or was not accepted within the listener’s claim_timeout_ms, is ABORTED.

SrtInputConfiguration

SrtPcapCaptureInputConfiguration

SrtPcapInputConfiguration

TcpTsInputConfiguration

UdpTsInputConfiguration

UdpTsPcapCaptureInputConfiguration