Skip to content
Return to Editorial Series 01

Technical Atlas

Monitoring / SRT monitoring

Passive SRT Monitoring

Place a probe on a live contribution path and identify which measurements that observation point can support.

Editorial Series 01 · Editorial review ·

Operating principle

A programme can play cleanly on a confidence receiver while the on-air receiver runs out of recovery time. The two receivers have different SRT sessions. Passive monitoring observes packets from the existing production session at a stated point. An active receiver or terminating proxy participates in the transport and can report its own socket state. Read-only telemetry from the actual production endpoint is a third valuable source, even when the probe itself receives only a copy of the traffic.

Start by naming the question. To investigate an encoder’s output, inspect the media after authorised termination. To investigate retransmissions on the actual contribution leg, observe that session. To establish missed delivery deadlines, use the production receiver’s statistics. To establish audience impact, continue past the receiver to a decoder or player. A single observation point rarely covers all four.

Four places to observe a feed

Separate receiver
The source or distribution service feeds the production receiver and a second SRT receiver over distinct sessions. The second receiver generates feedback and can measure its own RTT, loss recovery and drops. With access to the clear media, it can validate the service and decode a confidence picture. Budget for the additional stream on any shared uplink. Its clean output establishes the condition of that branch only.
Terminating relay or proxy
The source sends to the relay. The relay originates a second SRT session to the production receiver. It can expose ingress receiver and egress sender statistics. Each leg negotiates recovery independently. A new output timestamp or repacketisation can break direct packet-number correlation. The relay adds a failure boundary and can add buffering. A device forwarding UDP without terminating SRT is a different topology.
Network TAP
A TAP supplies a copy of traffic on a production link to an out-of-band probe. Depending on the hardware, each direction may arrive on a separate interface or an aggregated output. Observe the correct path and maintain a common capture timebase for both directions. The probe sends no SRT control traffic. Its capture interface or aggregator can still drop packets.
Port mirroring
A switch replicates selected ingress or egress traffic to a monitoring port. This can be practical in an IP headend without a physical TAP. Direction, VLAN and port selection determine what reaches the probe. An oversubscribed mirror destination can discard copies while production forwarding succeeds. Mirroring both sides of a forwarding path can present the same packet twice.

Compare observation points

Choose two architectures for the same programme. The copy-direction setting applies to the TAP and mirror. The encryption setting represents ordinary SRT payload encryption. Assume a passive observer has no keys and sits outside any additional tunnel. Participating endpoints have authorised keys when encryption is enabled.

Read each metric at its measurement point

Packet loss, recovery and late drops

Track the data sequence space per session and direction, allowing for the 31-bit wrap and connection restarts. A gap at the probe can represent network loss, reordering or a missing capture copy. Opening a gap, later filling it, and missing the receiver’s delivery deadline are different events. A NAK identifies sequences the receiver considered missing when it sent the report. The same sequence can be requested more than once. Use the retransmission flag where supported and check repeated sequence numbers against reordering, mirror duplicates and session boundaries.

Always specify the denominator. Suppose a validated 10-second capture contains 10,000 original data transmissions and 200 flagged retransmissions. Retransmissions are 200 / 10,200 ≈ 1.96% of observed data transmissions. Expressed per original transmission, 200 / 10,000 = 2.00%. Neither figure tells how many packets missed playout. Correlate a receiver’s late-drop statistic with downstream continuity and decoder evidence.

RTT and jitter

Where a full ACK carries a receiver RTT estimate, a probe on the feedback path can read the value the receiver reported. A light ACK does not carry that field. With both directions visible, pairing a numbered full ACK with its ACKACK at a midpoint measures the trip from that probe towards the sender and back, including sender handling. It does not time the receiver-to-probe legs. The production endpoint’s own RTT estimate is the appropriate trend for its recovery loop.

Arrival spacing at one capture interface includes source pacing, queue variation and capture timestamp error. Report interarrival spread in milliseconds along with the chosen statistic and clock. For two in-order original packets, sender timestamps 5 ms apart and arrivals 8 ms apart give a spacing change of +3 ms. This illustrative two-packet difference assumes comparable clock rates, no wrap within the interval and a stable capture clock. It is neither absolute one-way delay nor a full jitter distribution. SRT RTT variation describes round-trip samples and must be labelled separately.

Encrypted traffic and media visibility

Under ordinary SRT payload encryption, exposed SRT headers and observable control messages still support sequence and timing analysis. Outer encryption such as IPsec can also hide those headers at this measurement point. Without authorised decryption the passive probe cannot inspect transport-stream PIDs, PCR, video frames, captions or audio carried inside an encrypted payload. With clear MPEG-TS, a probe can analyse reconstructed media at its own point, subject to capture completeness. Reconstructed payload alone cannot reveal the receiver’s actual buffer occupancy or display output.

A contribution fault in three observations

An operator sees a new burst of gaps on a distribution-switch mirror. First compare switch mirror capacity, capture interface drops, input direction and timestamp quality during that same interval. A gap present only on an overloaded mirror is insufficient evidence to blame the carrier.

Next compare the production receiver’s detected loss, retransmissions and late drops over the same window. A rise in retransmissions alongside stable delivery and clean decoded output indicates that repair was working for the observed interval. If late drops and output discontinuities rise together, inspect busy-hour RTT excursions, sender repair headroom and burst duration. Confirm that the source media was continuous before treating a downstream continuity error as a transport fault.

A broadcaster may use a physical TAP on a permanent handoff. An operator may start with a temporary switch mirror and both endpoint logs. An OTT provider can instrument an existing ingest relay on each side and add a post-transcode monitor to distinguish input repair from packaging or player faults.

Procurement checks

  1. Draw the demarcation. Record the observed session, direction, capture location, failover route and whether traffic is copied or an SRT session terminates there. Confirm that a production route change remains visible.
  2. Ask for counter definitions. Require raw counts, denominator, sampling interval, units, reset behaviour and whether a value is local, peer-reported or inferred. Overlay sender and receiver series on the same labelled timebase.
  3. Test the observer. On a representative test route, distinguish a reordered packet, a repaired gap, a receiver late drop and a deliberately overloaded mirror. Confirm that the probe can flag its own capture loss or report that capture integrity is unknown.
  4. Demonstrate protected media handling. Compare clear and encrypted trials with the actual endpoint versions. List which transport metrics survive and where authorised media decoding occurs. Include probe restart, direction loss and failover in acceptance.

Primary sources