Skip to main content

SRT faults

Use an SRT transport fault to see how a connection handles missing packets, late feedback, or a temporary disconnect. Choose the input to exercise reception before the channel processes the stream. Choose a destination to exercise delivery over that one SRT connection. Caller and listener describe who establishes the connection. Either peer can send the media.

A UAV ground station beside a fixed-wing survey drone sends SRT video through STANAG NetSim to a cloud data center. A gap on the simulator’s output marks a dropped packet. A dashed arrow carries feedback from the cloud receiver back to the simulator.

The shaded intervals show two example fault windows. Dropping a media packet produces the spike on the left. Delaying return-path ACK/NAK packets makes feedback arrive later, as shown on the right.

Connect the peers​

  1. In Channel setup, select SRT on the input or destination and give it an Endpoint name. For an input that listens on port 22345, configure that port on the listener and have the sender call its reachable address, for example srt://192.168.1.72:22345. For a destination in caller mode, enter the receiver’s address.
  2. Pair a caller with a listener and configure compatible latency, encryption and, when used, FEC settings. Under Forward error correction (FEC) select Custom to specify the matrix and retransmission policy, or Negotiate with peer to accept compatible settings. SRT connection and FEC options
  3. Save the configuration, start the channel and establish media flow. Open Diagnostics → SRT metrics to check the endpoint status and baseline throughput before enabling a recurring rule.

Channel setup for an SRT input in listener mode using port 22345 and a 120 ms latency setting.

Configure a fault window​

In Live simulation, find the Transport faults panel labeled with the endpoint name and direction. Select Add fault, then choose the fault and its packet class.

FaultWhat to configure and observe
DisconnectCloses the session for the active window. Compare the time the window ended with the time the peer reconnected and media resumed.
Drop packetsChoose Original media to exercise recovery. Choose FEC repair packets or Retransmitted packets to exercise delivery of those packets.
Delay packetsSet Added delay (ms). Return-path ACK/NAK selects feedback traveling back to the sender.
Reorder packetsSet Maximum hold (ms). A later eligible packet can pass the held packet before the hold expires.
Corrupt payloadChanges a payload bit on selected packets. Compare received content with the original to detect damage.

Packet selection accepts a percentage or K out of every N eligible packets. Enable Recurring for scheduled windows. Start after (s) counts from first media flow, Active for (s) sets the duration, and Every (s) measures from one window start to the next. The duration must fit within the interval. A blank start delay uses the interval. With auto apply off, select Apply transport faults to save the rule. On a running endpoint, Run once triggers a saved rule, including one with Recurring off. Endpoint Bypass pauses its rules. Resuming restarts the initial delay.

SRT input rule editor showing an original-media drop, a three-second window every twenty seconds, and one selected packet per forty.

Example configuration in the app. After media starts, the first window runs from 10 to 13 seconds and the next from 30 to 33 seconds.

Read the result at the receiver​

For a recovery exercise, use compatible FEC settings at both ends, such as a 10-column, 5-row matrix. Use retransmission policy Never to isolate FEC recovery. With the illustrated rule, compare the rule’s packet hits with Packets rebuilt by FEC and Final receiver drops on the receiving input. Allow for negotiated delivery delay before checking the delivered stream. Adding the first packet rule to a running SRT endpoint can reconnect it while the simulator inserts its local relay.

An SRT destination reports the sender’s observations. If the receiving input belongs to another simulator channel, select it under Receiver evidence or open that channel’s Diagnostics tab. For an external receiver, read its counters there. SRT metrics and charts