A useful live casino latency benchmark measures when a physical event happens in a studio and when the corresponding video becomes visible to a player—not merely how quickly a streaming server answers a request. A vendor’s “sub-second transport latency” may omit camera exposure, encoding, distribution, buffering, frame rendering and the device display pipeline. It may also say nothing about the separate channel that controls bets, closes a betting window and records a result.
This guide defines a repeatable engineering experiment. It is not a comparison of named vendors and contains no measured rankings. The aim is to let another team reproduce the instrument placement, network conditions, uncertainty calculation and percentile reports. The same method can evaluate WebRTC, low-latency HLS and other approved streaming pipelines, but the analysis must not pretend that a single protocol or one advertised latency number predicts every user’s experience.

Benchmark scope and hypotheses
Define the operational decision before collecting samples. Is the question whether a new encoder configuration reduces end-to-end delay? Whether WebRTC under packet loss is more stable than LL-HLS on the same devices? Whether a regional edge improves p95 without raising rebuffering? Whether delayed video creates a confusing discrepancy between displayed betting state and the server’s authoritative close time? These are different hypotheses and require different metrics.
Specify a capture-to-glass primary metric: elapsed time from a physical reference event visible to the camera to its appearance on the client display. It includes capture, encode, transport, decoding, application buffering and display. Where applicable, define glass-to-glass as the same measurement between a reference display in the studio and the viewing display. Also capture submetrics: capture-to-encoder input, encode-to-origin, origin-to-edge, edge-to-client receipt, client decode and presentation. Instrumentation may not expose every internal stage, in which case mark the unavailable component as unknown instead of attributing it to another stage.
Include user-experience metrics that interact with delay: startup time, join failures, freezes, rebuffering duration, frame drops, audio/video sync error, adaptive-bitrate transitions and recovery after connection loss. For game operations, measure independently the server-authoritative betting close, the player UI close indication and the receipt/acknowledgment of an accepted wager. A video frame cannot be used as proof that a bet is still accepted; the server’s business rules determine that boundary.
The experimental hypothesis should include a threshold and a population. For example, “Under the stated household Wi-Fi impairment profile, configuration B reduces median capture-to-glass delay relative to A without increasing freeze ratio beyond the declared tolerance.” A threshold chosen after viewing the data invites confirmation bias. Record all hypotheses, excluded samples and stopping rules before running.

Capture, encode, transport and client measurement points
The strongest approach is a visible external reference. Place an LED or precise optical timer in the studio field of view, drive it from a logged monotonic instrument, and use a high-speed camera to observe both the source reference and client display. Alternatively use a well-characterized camera-to-monitor test rig. The physical reference should not rely on the same media system being measured; otherwise common delays can disappear from the subtraction.
At the source, record camera model, sensor mode, frame rate, exposure, image processing, interlacing if any, and audio channel characteristics. At the encoder, preserve codec, profile, GOP and keyframe cadence, frame rate, bitrate ladder, buffering and hardware/software implementation. At transport, note the protocol, packaging/segment size, CDN or SFU path, retransmission policy, congestion control and encryption. At the client, preserve OS/browser/application versions, device performance, player buffer target, playback rate and display refresh characteristics.
The W3C WebRTC Statistics specification defines statistics that can help diagnose parts of the receive pipeline, including jitter-buffer and decoded-frame information. However, a browser statistic is not automatically an independently measured capture-to-glass delay. Depending on available sender report and timestamp mappings, fields can aid estimation but must be interpreted with their stated semantics. Use an independent visible reference as the ground truth for end-to-end validation.
Build a frame ledger for every sample: reference event ID, source timestamp, detection timestamp, client visibility timestamp, network condition, device and playback state. Keep clock domains explicit. A local elapsed time measured with one monotonic clock is different from subtracting two unsynchronized host-wall-clock timestamps. The latter may generate falsely negative or falsely low delays.
Clock synchronization and measurement error
Clock synchronization is part of the measurement, not a footnote. NTP provides practical system-clock alignment, but its realized error depends on network path and configuration. Precision Time Protocol (PTP) can offer tighter synchronization in suitable controlled LAN environments, but its accuracy must still be verified for the actual devices and timestamp points. Record clock offset estimates and confidence or error bounds over the entire experiment, not only at setup.
For each event, measure or estimate the uncertainty arising from source timing, camera frame sampling, client display sampling, clock offsets and instrument response. At 60 frames per second, the duration of one frame is approximately 16.7 ms; that does not guarantee the measurement uncertainty is exactly 16.7 ms, because phase, exposure and observation method matter. A 120 fps external camera gives finer temporal sampling, but does not eliminate optical and display processing delay.
If one setup uses a high-speed video that captures both source LED and remote display in the same view and clock domain, many cross-host offset errors can be avoided. If source and client are geographically separated, validate a common timing distribution or use timestamp pairing with measured offsets. In either case, preserve raw frames or their protected measurement derivatives sufficient for independent review.
A useful uncertainty budget lists the maximum plausible contribution and the chosen combination method. Do not simply sum standard deviations as though every error were independent; correlations can arise from common clock servers, frame-locked processes or reference-device drift. Report the measured error band with the latency statistic. A claimed improvement of 15 ms is not compelling if the setup’s uncertainty is ±40 ms.

Network conditions, devices and sampling
A reproducible benchmark needs a test matrix, not one premium laptop on office Ethernet. Include wired LAN baseline, typical Wi-Fi, selected mobile radio profiles and controlled impairment conditions for bandwidth, jitter, delay, packet loss and short disconnections. The values should match the intended audience or a declared synthetic laboratory envelope; avoid calling one arbitrary “poor mobile” preset globally representative.
For every path, run at least one warm session and multiple cold starts. Network impairment must be applied with a recorded tool configuration and verified at the capture points. A synthetic loss configuration on one interface might not translate to the same effective loss after retransmission or a VPN. When comparing two protocols, keep source content, encoder target, device class, network profile and observation intervals comparable. If the protocols require fundamentally different encoding or buffering, disclose that as part of the tested product configuration rather than pretend the comparison isolates only transport.
Randomize or counterbalance test order to avoid time-of-day network effects. Distinguish independent sessions from correlated frame samples. Thousands of frames from one long session do not provide thousands of independent user sessions. For uncertainty intervals, resample at an appropriate cluster level—sessions, devices or network scenarios—depending on the question. Document excluded freezes, startup failures and lost samples, because excluding difficult sessions can make the surviving latency distribution appear deceptively strong.
A device inventory should record the player application, browser build, CPU/GPU class, screen refresh, power mode, background processes and whether hardware decoding was in effect. Battery saver and thermal throttling can change decode and render latency. Accessibility overlays or screen capture software can also affect display timing. When benchmarking consumer devices, disable unnecessary interference or test it as a declared scenario rather than leaving it uncontrolled.
Results, percentiles and confidence bounds
Publish distributions instead of a single average. Median describes a typical result; p95 and p99 reveal tail experiences, while freeze count and duration show continuity problems. Report sample sizes and denominators for every percentile. Describe whether a percentile is computed per frame, per session or from session-level aggregates. A p95 across all frames can be dominated by long, stable sessions while underrepresenting repeatedly failing clients.
Use capture-to-glass latency for the headline number, with staged breakdowns as diagnostics. Include network scenario, protocol, resolution, device, session count, successful joins, startup delay, freeze fraction and error bars. A fixed-size histogram and an empirical cumulative distribution function (ECDF) help readers see multimodal behavior: for instance, one group of clients may maintain a small buffer while another silently falls behind after packet loss.

For comparisons, use confidence intervals computed under a stated method with appropriate independence assumptions. A simple nonparametric bootstrap may be suitable for certain session-level summaries; a hierarchical or cluster bootstrap is preferable when frames within a session are correlated. Never infer compliance from a difference that is smaller than measurement error. Report the absolute delay along with the relative change—“20% faster” can conceal a small or context-dependent difference.

Interpret the business channel separately. A system may stream a delayed but smooth view while server-side bet cutoffs remain correct. It might be technically consistent but confusing to a viewer if on-screen events arrive late. Evaluate whether the UI exposes a trustworthy server-side state, declines late bets clearly, and handles reconnection without showing a stale acceptance window. The benchmark should describe this risk, not attempt to redefine regulatory wagering deadlines.
Reproduction instructions and interpretation limits
A reproducibility bundle should include a device table, network path diagram, source and encoder configurations, protocol settings, reference instrument specification, clock-offset logs, measurement scripts, raw or safely redacted observations, aggregation code and release versions. Provide a run identifier and a timeline of changes. If privacy or licensing prevents sharing media, publish derived event-time records and an explanation of what cannot be independently inspected.
A reliable sequence is: calibrate reference device; confirm timestamp trace; collect baseline; run randomized condition blocks; inject declared impairments; measure recovery; audit missed samples; compute session-level summaries; calculate uncertainty; and archive the environment. After the run, verify that the stream actually used the intended codec, bitrate, buffer and CDN/SFU route. Configuration intent is not evidence of actual transport behavior.
| Reproduction field | Example documentation expectation |
|---|---|
| Physical reference | Optical marker and calibration record |
| Media path | Camera, encoder, origin, edge and player versions |
| Network | Impairment profiles, measured RTT/loss/jitter, geographic path |
| Clients | Devices, browsers, display refresh, battery/power states |
| Observations | Timestamps, session IDs, freezes, missing samples |
| Statistics | Percentile definitions, sample counts, confidence interval method |
| Governance | Ownership, test date, version and interpretation limits |
A benchmark is not a universal latency prediction. Protocol implementation, codec parameters, geography, CDN, jitter buffering, user devices and media load all change outcomes. It is also not evidence of fair game settlement unless the game-event and wallet paths are audited independently. State those limitations near the charts and in the executive summary, not hidden in a footnote.
For a useful public report, conclude with the bounded finding and the conditions under which it applies. Avoid blanket conclusions that one protocol is “always faster.” The durable value is a method others can repeat—and a precise boundary between what was measured and what remains unknown.
Technical references: W3C WebRTC Statistics, WebRTC browser API. Their metric definitions support diagnosis but are not a replacement for an independent capture-to-glass measurement setup.