Multi SRT is an integration layer for Robotweax SRT and Haivision SRT. Its srt-live-transmit relay lets you select the SRT provider at each endpoint. That gives you one tool to try all four sender-to-receiver pairings with the same media and network settings. Multi SRT project
How to compare the two providers
Build Multi SRT with both providers. In this local example, the relay reads MPEG-TS over UDP on port 5000 and sends it over SRT. The listener writes the received stream to UDP port 5001 for analysis. Build and relay options
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSRTMUX_BUILD_PROVIDERS=ON
cmake --build build --parallel
# Start the Haivision listener in one terminal.
build/apps/srt-live-transmit -v \
'srt://:9000?mode=listener&provider=haivision&latency=120' \
'udp://127.0.0.1:5001'
# Start the Robotweax sender in another terminal.
build/apps/srt-live-transmit -v \
'udp://:5000' \
'srt://127.0.0.1:9000?mode=caller&provider=robotweax&latency=120'
Change provider=robotweax or provider=haivision independently on the caller and listener to cover all four pairings. The -v option reports which module loaded. Replay the same clip at the same rate and keep the SRT latency setting, network impairment and measurement window fixed. Compare what arrives at the receiver, and measure CPU, RAM and threads on both ends.
We used Robotweax SRT 0.3.5 and Haivision SRT 1.5.7 in both tests. Each stream carried 8 Mbit/s in plaintext SRT Live with a 120 ms SRT latency setting. The WAN emulator applied 30 ms of one-way delay and 0–5 ms of uniform jitter in each direction, plus 0.5% independent packet loss toward the receiver. Each reported run had 30 seconds of warm-up and a two-minute measurement window.
Test 1. One stream with one Robotweax scheduler shard
We ran each pairing twice with the same timecoded MPEG-TS clip. Multi SRT sent the stream with the selected provider. At the receiving end we used Multi SRT for Robotweax and Haivision’s stock srt-live-transmit for Haivision. Each Robotweax endpoint used one scheduler shard (ROBOTWEAX_SRT_SCHEDULER_SHARDS=1) and requested 1 MiB each for its SRT send and receive buffers (sndbuf=1048576&rcvbuf=1048576). Relay input batching and Robotweax link-time optimization were off.
| Pairing | CPU (ns/byte) | Peak RSS (MiB) | Peak threads | TS bitrate (Mbit/s) | Software video delay p99 (ms) |
|---|---|---|---|---|---|
| Robotweax → Robotweax | 57.40–113.12 / 52.27–103.35 | 8.0 / 8.4 | 7 / 7 | 7.99970–8.00005 | 154.3–155.5 |
| Robotweax → Haivision | 87.60–100.22 / 190.76–218.01 | 8.0 / 4.2–4.3 | 7 / 5 | 7.99979–7.99988 | 157.0–157.3 |
| Haivision → Robotweax | 111.94–119.39 / 107.73–114.63 | 5.1 / 8.5 | 4 / 7 | 7.99996–8.00005 | 154.5–155.5 |
| Haivision → Haivision | 34.88–105.13 / 70.58–230.40 | 5.2–5.3 / 4.3–4.5 | 4 / 5 | 7.99970–7.99988 | 154.3–155.9 |
The resource values are sender / receiver. CPU is user plus system time per byte received, and RSS and thread count are sampled process peaks. Ranges span the two runs. Video delay was measured at the software decoder outputs for matching frames.
All four pairings held about 8 Mbit/s. Haivision → Haivision recorded the only TS continuity error and missing frame. The Robotweax sender reported fewer retransmissions in all four matched comparisons. Its CPU cost was higher in two and lower in two, with substantial variation in performance-core time across runs.
Test 2. Parallel streams in shared processes
For the scaling test we used native benchmark helpers, with one sender process and one receiver process handling all streams and a separate SRT connection for each stream. A tier passed if every stream delivered at least 99% of its offered bytes within the measurement window, p99 UDP delay across all streams stayed below 250 ms, and the delivery and emulator timing checks passed.
We confirmed the four pairings in the shared-process comparison with two shards on each Robotweax endpoint. A follow-up tuned Robotweax → Robotweax with 1 MiB SRT send and receive buffers and tested different shard counts. The table uses that follow-up’s four-shard result for Robotweax → Robotweax and shows the measured settings for the other pairings.
| Pairing | Robotweax shards per endpoint | Sustained streams | Offered / received (Mbit/s) | CPU (ns/byte) | Peak RSS (MiB) | Peak threads | UDP delay p99 (ms) |
|---|---|---|---|---|---|---|---|
| Robotweax → Robotweax | 4 | 64 | 512 / 511.99 | 46.06 / 31.95 | 57.8 / 56.7 | 10 / 10 | 201.25 |
| Robotweax → Haivision | 2 | 56 | 448 / 447.98 | 40.99 / 48.09 | 126.2 / 60.3 | 8 / 170 | 175.25 |
| Haivision → Robotweax | 2 | 56 | 448 / 447.99 | 50.73 / 30.17 | 57.5 / 123.0 | 114 / 8 | 155.75 |
| Haivision → Haivision | — | 48 | 384 / 383.99 | 54.07 / 53.81 | 49.8 / 48.8 | 98 / 146 | 160.25 |
Resource values are sender / receiver at each pairing’s highest confirmed tier. UDP delay measures source to receiver output, before video decoding.
With 1 MiB buffers on both ends, Robotweax → Robotweax sustained 64 streams at 512 Mbit/s with four shards, up from 60 with two. The four-shard run at 68 streams failed the live delivery criteria. Both mixed pairings sustained 56 streams at 448 Mbit/s with two shards on the Robotweax endpoint. Haivision → Haivision sustained 48 streams at 384 Mbit/s. Four-shard results for the mixed pairings remain open.

