Glass-to-glass latency

Also known as: end-to-end latency

On this page 7

Glass-to-glass latency, also called end-to-end latency, is the total time between light entering the camera lens and the corresponding image appearing on the viewer’s display. In streaming & broadcasting, it is the most honest measure of delay because it includes every stage of the video chain: capture, processing, encoding, transport, buffering, decoding and display.

The name comes from the two pieces of glass at either end of the path, the camera lens and the display panel. Values range from under 100 milliseconds in local production systems to 30 seconds or more in conventional HTTP streaming, and the right target depends on whether viewers only watch or also interact.

Where glass-to-glass latency accumulates

Glass-to-glass latency is the sum of the delays of every component between the sensor and the screen, so no single device determines it. Each stage holds at least part of a frame, and many stages hold several frames or whole segments, which is why buffering decisions dominate in internet delivery.

The table below lists the typical contribution of each stage. Values are indicative ranges, because they depend heavily on frame rate, codec settings and network conditions.

StageTypical delayMain cause
Sensor readout and camera processing1 to 3 framesFrame capture, debayering, noise reduction
Production switching and graphics0 to 2 framesFrame synchronizers and video switcher pipelines
Encoding1 frame to over 1 sLookahead, B-frames, rate control buffers
Network transportTens of ms to several sPropagation, retransmission and jitter buffers
Packaging and CDN0.5 s to several sSegment creation and edge caching
Player bufferUnder 1 s to 30 sProtection against throughput drops
Decoding and display1 to 5 framesDecoder reordering and display processing
Typical latency contribution by stage

At 50 frames per second, one frame lasts 20 milliseconds, so a chain that buffers ten frames before any network delay already adds 200 milliseconds. Television sets in standard picture modes can add 50 to 150 milliseconds of their own, which is why game and low-latency modes exist.

Latency classes in streaming & broadcasting

Delivery technologies fall into broad latency classes, and choosing a protocol largely sets the achievable floor. The classes are not formally standardized, but practitioners use them consistently when specifying systems.

Delivery approachTypical glass-to-glass latencyTypical use
SDI or SMPTE ST 2110 in a facilityUnder 1 frame to a few framesStudio monitoring and switching
NDI on a local networkAbout 1 to 3 framesLive production over IP
WebRTC and WHIPAbout 200 to 500 msInteractive streaming and remote guests
SRT contributionAbout 120 ms to 2 sRemote feeds over the internet
Low-Latency HLS or low-latency DASHAbout 2 to 5 sLive events at scale
Conventional HLS or MPEG-DASHAbout 10 to 45 sLinear OTT channels
Satellite broadcastAbout 3 to 10 sTraditional distribution chains
Typical glass-to-glass latency by delivery approach

These ranges show the central trade-off between latency and resilience. Protocols that tolerate packet loss and fluctuating bandwidth do so by holding more data in buffers, which is exactly what increases delay.

How glass-to-glass latency is measured

Glass-to-glass latency is measured by filming a precise time reference and photographing it next to the output screen. The difference between the two displayed times is the delay. A common setup places a millisecond clock or flashing timecode generator in front of the camera and captures both the source and the final display with a high-speed camera or phone.

More rigorous methods use a light sensor and a pulse generator: a flash triggers in front of the lens, and a photodiode on the display detects when the flash arrives. This avoids the refresh-rate quantization of reading a clock on screen, which can introduce errors of one display frame or more.

  • Measure several times and report the average and the spread, because buffers drift during a session.
  • Record the exact settings used: frame rate, codec, GOP length, protocol and player buffer target.
  • Distinguish glass-to-glass latency from encoder latency or network round-trip time, which cover only part of the chain.
  • Test on the real viewer devices, since television and phone display pipelines differ widely.

Reducing glass-to-glass latency

Reducing glass-to-glass latency means removing or shrinking buffers at every stage, and each reduction has a cost in quality, stability or bandwidth. The decision table below shows common levers.

LeverLatency gainCost or risk
Disable B-frames and lookaheadTens to hundreds of msLower compression efficiency
Shorter GOP or intra refreshFaster player join and recoveryHigher bitrate for equal quality
Shorter segments or partial segmentsSeveral seconds in HTTP streamingMore requests and CDN load
Smaller player bufferSecondsMore rebuffering under congestion
Lower SRT latency settingHundreds of msFewer retransmissions, more visible loss
Display game mode50 to 100 msLess image processing on the television
Latency reduction levers and their costs

The usual recommendation is to set a latency target from the use case first and then tune each stage to meet it, rather than minimizing delay everywhere. A sports stream mainly needs to stay close to broadcast and social media, while a remote interview needs conversational delay below roughly half a second.

Why glass-to-glass latency matters and common misconceptions

Glass-to-glass latency determines whether a stream feels live, delayed or interactive. High delay causes spoilers when viewers see goal notifications before the action, breaks conversations with remote guests, and undermines betting, auctions and audience participation.

  • Encoder latency is not end-to-end latency: a fast encoder cannot compensate for a 20-second player buffer.
  • Lower is not always better: aggressive tuning can increase rebuffering and reduce picture quality for many viewers.
  • Latency varies between viewers: without synchronization, players on the same stream can drift several seconds apart.
  • Monitoring screens are not viewer screens: production multiview latency says little about what audiences experience.

Understanding it simply

Glass-to-glass latency is how late the picture arrives. Imagine someone waves at a camera. The time until that wave shows up on your screen is the glass-to-glass latency, measured from the camera lens to the glass of your display.

Every device along the way holds the picture for a moment, a bit like passing a parcel through many hands. A few hands make the trip quick, and many hands make it slow. Short delays feel live, while long delays mean you might hear the neighbors cheer before you see the goal.

Applied in practice

A production company streams a regional cycling race with live commentary from remote analysts and an online audience. Its first test with conventional HLS and six-second segments shows a glass-to-glass latency of about 28 seconds, measured by filming a millisecond clock beside a viewer’s phone.

The team moves the motorcycle camera feeds to SRT with a 400 ms latency setting, connects the analysts through WebRTC, and switches public delivery to Low-Latency HLS with one-second partial segments. The encoder disables B-frames, and the player buffer target drops to three seconds.

The new measurement shows about 4 seconds for viewers and under half a second for the analysts, who can now react naturally. Rebuffering rose only slightly on mobile networks, which the company accepted in exchange for a stream that no longer lags behind social media updates.