Technical Article
Designing Low-Latency Infrastructure for Sports Betting
Low-latency sports-betting infrastructure encompasses every component from stadium capture through encoding, transport, centralised processing, and distribution whose combined, measurable timing behaviour preserves bet-line integrity — the accuracy and synchronisation of odds across all downstream consumers. Rather than optimising a single link, effective design defines explicit latency budgets, jitter and loss tolerances, multi-path redundancy schemes, and operational reconciliation workflows so that wagering engines, odds providers, and viewers all consume a single, auditable source of truth in real time. This article provides a stage-by-stage technical reference for designing, measuring, and verifying such infrastructure, with concrete numbers, protocol comparisons, and trade-off guidance suitable for broadcast engineers, platform architects, and betting operations teams.
How it works
The following sections describe each functional stage of a sports-betting low-latency chain and the measurable points used to set and verify latency and integrity targets.
Feed ingestion and time reference
Every chain begins with ingesting live sources — stadium cameras, referee feeds, venue timing systems, scoreboard data, and third-party data feeds — and associating a reliable, traceable time reference with every frame or message. The preferred approach places an IEEE 1588 PTP grandmaster inside the venue, using the SMPTE ST 2059-2 PTP profile used in ST 2110 environments. This supplies sub-microsecond synchronisation to all capture devices on the local network.
Two measurement points anchor the ingestion budget:
-
t0 — the timestamp applied at the moment of capture (camera shutter or data-feed sample).
-
t1 — the timestamp recorded on receipt by the first encoder or gateway.
For video-critical flows, the skew between t0 and t1 should remain below 1 ms. For data-only feeds that lack a PTP-synchronised source, embed or annotate each message with monotonic sequence numbers plus UTC or epoch timestamps. Capture timestamp jitter should stay below 5 ms to avoid consuming downstream budget.
Venue encoding and packetisation
Encoding converts baseband or camera-native frames into transportable compressed streams with deterministic, low-delay settings. Protocol and encapsulation choices include JPEG XS or JPEG 2000 for ultra-low-latency contribution, sub-frame or low-delay HEVC/AVC modes for bandwidth-constrained links, and MPEG-TS over UDP or RTP for downstream compatibility.
Hardware encoders commonly offer selectable latency modes ranging from sub-frame delay (5–20 ms for JPEG XS) up to high-compression modes that add 100–500 ms. The choice is dictated by the overall latency budget. Two measurement points apply here:
-
t1 — encoder input timestamp (same as ingestion arrival).
-
t2 — encoder output packet egress.
Encoder processing time is t2 − t1. For tight betting budgets, aim for encoder processing time below 20–40 ms. Higher-compression modes trade latency for bandwidth efficiency and should only be selected when the end-to-end budget permits.
Transport and multipath protection
Transport delivers encoded media and data to central processing and odds engines with minimal, bounded delay while protecting against packet loss and path outages.
Common transport choices and their typical one-way latency ranges under favourable network conditions:
-
UDP/RTP: 10–50 ms
-
SRT / Reliable UDP with latency cushion: 40–150 ms depending on window size
-
WebRTC: 10–100 ms for sub-second peers
-
LL-HLS / CMAF: typically above 400 ms
Note: the 40–150 ms range above is set by round-trip time and expected loss, not by gateway processing speed. The usual guidance is a latency window of three to six times RTT, so a path with a 20 ms round trip needs about 60 ms before encode and decode are counted. Hardware-accelerated SRT removes the processing variance and per-stream overhead of software gateways and holds density under load, but it does not shorten that recovery window. SRT is a viable primary path where the window fits the budget; where it does not, use path diversity and FEC on UDP/RTP.
Loss protection strategies must be matched to the latency budget. IP-FEC (block or interleaved schemes), SMPTE ST 2022-7 seamless protection switching, and accelerated SRT with ARQ each offer different delay profiles. For sub-100 ms budgets, prefer network-level path diversity combined with shallow FEC; deep ARQ retransmission penalties can exceed the available budget.
Multi-path design is critical. Active/active multi-path — sending identical streams across two independent network links or CDN edges — provides the fastest failover and minimal rebuffer. Active/passive standby arrangements may add recovery-time overhead. Target path diversity across physically separate ISPs or peering points.
Key measurement points at this stage:
-
t3 — ingress arrival time at the central edge.
-
Jitter — variance across packets at t3.
-
One-way network latency estimated via pairwise PTP or RTP-RTCP timing.
Maintain both median and 99th-percentile latency figures for SLA calculations.
Centralised processing and odds synchronisation
Central processing decodes, augments (graphics, overlays, timing metadata), extracts event markers, and feeds wagering and odds engines. Determinism and traceability are essential.
Frame-exact event markers — goals, race finishes, fouls — are derived and published as discrete, timestamped events with sequence identifiers to odds engines via pub/sub messaging or REST hooks. Relying on wall-clock-only markers introduces drift risk; always include capture sequence numbers alongside timestamps.
Set a deterministic processing inter-stage budget. Typical allocations are 10–30 ms for decode and 5–50 ms for analysis and extraction, depending on complexity. The overall processing budget should be a defined, monitored portion of the end-to-end target.
Consistency across video and data flows requires using the same timebase and sequence identifiers throughout. This prevents line drift during failover or reconnection events, which is one of the most common sources of odds desynchronisation.
Distribution to bookmakers, odds providers, and viewers
Distribution delivers synchronised media and event metadata to downstream consumers with preserved timing relationships. Delivery topology options include:
-
Private peering — lowest latency and most predictable jitter.
-
Managed CDN with edge peering — broader reach with multi-edge redundancy.
-
Hybrid — combining private peering for betting engines with CDN delivery for consumer viewers.
Where possible, co-locate betting engines with edge relays or provide native APIs for metadata subscription. Where networks add variability, use small client-side playout buffers with jitter smoothing, ensuring buffers remain smaller than the allowed bet acceptance window.
The final measurement point is:
-
t4 — client playout timestamp and displayed event time.
End-to-end latency is computed as t4 − t0. Report median, p95, and p99 values for operational and regulatory purposes.
Operational telemetry, reconciliation, and audit
Continuous verification of sequence integrity and the ability to reconcile discrepancies for disputes underpin the entire system’s credibility.
Essential telemetry items include per-stream sequence numbers, RTP/TS continuity counters, per-packet checksums or hashes, end-to-end observed latency histograms, packet loss counters, rebuffer events, and encoder/decoder health metrics.
Reconciliation tooling should automate sequence comparison between source and consumer logs, trigger divergence alerts when sequence discontinuity or checksum mismatch occurs, and support forensic export of the minimal set of packets or frames surrounding an incident.
Retain high-resolution forensic logs — timestamps, sequence numbers, and checksums — for the applicable regulatory window. Common practice is 30–90 days depending on local rules, though some jurisdictions may require longer retention.
Why it matters in broadcast
Revenue protection is the most direct concern. Line drift or inconsistent feeds can enable asymmetric betting, creating significant financial exposure for operators. Deterministic latency with auditable trails directly reduces this risk.
Regulatory compliance is increasingly non-negotiable. Many jurisdictions require auditable logs and demonstrable integrity of wagering feeds. The technical controls and forensic records described above provide the kind of evidence regulators commonly ask for. Specific obligations vary by jurisdiction and should be confirmed with compliance counsel.
For streaming-enabled betting products, tighter synchronisation between live action and displayed odds improves customer trust and reduces liability from stale-odds wagers. This competitive experience dimension is a growing differentiator as in-play micro-betting expands.
Finally, a quantified latency budget delivers operational efficiency by splitting responsibility across teams — venue, network, central processing, bookmakers — with clear measurement points. This reduces blame cycles when incidents occur and accelerates root-cause analysis.
Technical specifications and trade-offs
End-to-end latency budget example
A reference design allocates the total budget across three stages:
-
Capture to central edge (capture + encode + transport): 30–80 ms (ultra-low) or 80–200 ms (conservative low-latency).
-
Central processing (decode + event extraction): 10–60 ms.
-
Distribution to bookmaker or API delivery: 20–100 ms depending on peering.
Typical end-to-end targets for bet-line integrity are 80–250 ms median, with p99 targets dependent on the acceptance window but ideally below 500 ms.
Summing the stage ranges gives 60–240 ms for the ultra-low allocation and 110–360 ms for the conservative one. The conservative allocation can therefore exceed the 250 ms median target when stages sit at the top of their ranges, so choose each stage’s figure against the end-to-end target rather than picking from the ranges independently.
Comparison of transport and encoding alternatives
|
Alternative |
Typical median one-way network latency (ms) |
Typical reliability mechanisms |
Typical best-case encoder mode (added latency) |
|---|---|---|---|
|
Private peering / direct fibre |
5–30 |
Physical path diversity, QoS, low jitter |
JPEG XS / uncompressed: 5–20 ms |
|
Managed CDN with edge peering |
20–80 |
Multi-edge redundancy, origin shield |
HEVC low-latency mode: 30–80 ms |
|
SRT over public internet |
30–150 |
ARQ, window sizing, latency buffer |
HEVC balanced mode: 40–150 ms |
|
WebRTC to browser |
10–100 |
ICE path diversity, TURN fallback |
VP9/AVC low-latency: 10–80 ms |
|
LL-HLS / CMAF |
400–1200 |
CMAF chunk redundancy, CDN-level delivery |
Chunked encoding: 200–500+ ms |
Note: the “SRT over public internet” row reflects the recovery window that round-trip time and loss impose, which hardware acceleration does not remove. Acceleration affects density and processing variance, not the retransmission window, so it does not move SRT into the private-peering range.
Network latency values are indicative under favourable conditions; real-world p99 may be an order of magnitude higher on poorly provisioned links. Lower per-encoder latency generally requires more bandwidth or specialised codec hardware — choose mode per link capacity and cost constraints.
Trade-offs summary
-
Latency vs. bandwidth: Sub-frame or JPEG XS modes lower latency at the cost of higher bandwidth or specialised codec hardware.
-
Latency vs. reliability: ARQ provides loss recovery but increases delay; complement ARQ with multi-path and FEC to keep latency bounded.
-
Determinism vs. flexibility: Hardware encoders yield deterministic timing; software or cloud stages provide scalability but need stricter telemetry and orchestration to maintain timing SLAs.
Related approaches and standards
-
SMPTE ST 2110: Professional IP-based media transport over LAN/WAN, providing packetised separation of video, audio, and timing. Commonly used in contribution and REMI workflows.
-
SMPTE ST 2022-7: Seamless protection switching for RTP streams over redundant IP paths.
-
IP-FEC (SMPTE ST 2022-1) and RFC 6330 (RaptorQ): Forward error correction schemes for packet loss resilience without retransmission delay.
-
SRT (Secure Reliable Transport): ARQ-based reliability over UDP with configurable latency windows, widely adopted for contribution over unmanaged networks.
-
WebRTC: Low-latency, browser-native transport with ICE connectivity, suited for sub-second delivery to web clients.
-
LL-HLS / CMAF: Chunked HTTP delivery with sub-segment techniques, appropriate where HTTP/CDN economies are required but higher latencies are acceptable.
-
IEEE 1588 PTP: Precise time synchronisation across devices and network domains, necessary for frame-exact timestamping and drift control.
-
NMOS (Networked Media Open Specifications): Discovery and orchestration framework for ST 2110 devices and flows.
How Appear addresses this
Appear supplies the encode, transport, and decode stages of this chain. Event extraction, odds synchronisation, and reconciliation sit with the operator’s own systems.
At the venue, X20 (2RU, 12 module slots) and X10 (1RU, six slots) are modular chassis. X5 is a compact half-rack unit and is not modular. All three encode AVC, HEVC, and JPEG XS, and X10 and X20 add JPEG 2000. Latency follows codec and hardware. JPEG XS runs at sub-frame delay, and on X5 it is fixed. Ultra-low-delay AVC and HEVC sit at the upper end of the 20–40 ms encoder range above, and the result depends on the audio mode and ancillary data configured. Selectable latency modes belong to the ECx modules in X10 and X20; on X5, AVC and HEVC latency is fixed rather than selectable.
For time reference, switch modules lock to PTP (SMPTE ST 2059-2 and ITU-T G.8275.2 profiles) or genlock. On X5, the AVC and HEVC encoder writes PTP- or NTP-derived timecode into the stream as SEI and the decoder recovers it, which gives a traceable timestamp to compare at each end. JPEG XS has no SEI mechanism, so timecode and ancillary data travel as ST 2038 instead.
For transport, the platform carries MPEG-TS over UDP and RTP, and hardware-accelerated SRT. ST 2022-7 seamless input is a licensed option per card, with a configurable buffer for path differential of up to 400 ms on lower-bitrate flows and 150 ms on high-bitrate flows. SRT carries ST 2022-7 protection as well: the merge runs on the SRT module in the same buffer as ARQ, so protection adds no latency. FEC follows the split this article describes. ST 2022-1 FEC is a licensed option on the UDP/RTP path, and on X5 it applies to output only. Appear’s SRT recovers loss by ARQ alone and carries no FEC. For sub-100 ms budgets, that points to path diversity and shallow FEC on UDP/RTP, with SRT as the primary path only where the round-trip time leaves room for its recovery window.
Central decode runs on the same modules, so the decode stage in the budget above is also a codec and mode decision. Decode time varies with the codec, the latency mode, and the audio path, and should be measured on the decode path in use rather than taken from a typical range.
For telemetry, the X Platform exposes a Prometheus endpoint, SNMP v2/v3 alarms, syslog alarm forwarding, and a JSON-RPC API. IP inputs report per-flow bitrate, continuity-counter errors, and RTP errors, and SRT outputs publish retransmit and drop counters. XM adds inventory, alarms by severity, software and licence lifecycle, and configuration and debug export across deployed chassis. The platform exposes counters and alarms rather than per-packet sequence, timestamp, or checksum records, so the reconciliation and audit records this article describes have to come from the operator’s own logging stack. On X10 and X20, packet capture is manually triggered and bounded to about 50 MB per flow, which suits incident diagnosis rather than regulatory retention.
For resilience, X10 and X20 have dual redundant hot-swappable power supplies and hot-swappable modules, and take one or two active-active switch modules that mirror configuration. X5 has dual redundant power supplies that are not hot-swappable. These are hardware availability features. Whether a deployment meets a given regulator’s availability requirements is a question for the operator and their compliance team
Appear delivers the low-latency contribution, processing and transport behind the world's most demanding live productions.
