Skip to content
CamsCue

Reference

Stream Latency

Stream latency is the total delay between the moment a video frame is captured on camera and the exact instant it renders on a viewer display.

Edge Cases That Skew Stream Latency

Calculated latency often breaks down during volatile transmission conditions or divergent viewer environments. Interactive broadcasters regularly experience edge cases where the perceived delay deviates drastically from the advertised protocol baseline:

  • Aggressive Player Buffering: When a viewer has an unstable downstream connection, video players automatically enlarge their playback buffer to prevent stuttering. This behavior can inflate an ultra low latency stream from two seconds up to fifteen seconds or more without dropping the connection.
  • Variable Encoder Bottlenecks: Software encoders operating under heavy processor load or volatile network upstream may queue outbound packets. While the broadcaster perceives smooth local performance, frames arrive late at the ingest server, creating cumulative broadcast drift.
  • Geographic Transit and Transmuxing: Broadcasters pushing a feed across continents through multiple transcoding nodes experience additive latency. Converting RTMP feeds into multi-bitrate HLS chunks at an edge server adds unavoidable chunk duration overhead before distribution begins.

Core Mechanics and Protocol Distinctions

Every live broadcast passes through encoding, transport, server-side packet replication, and client decoding. The chosen delivery architecture dictates the floor and ceiling of this delay. Conventional HTTP Live Streaming (HLS) relies on multi-second segment chunks, often generating latency between fifteen and thirty seconds. Low-Latency HLS (LL-HLS) reduces this window down to three to five seconds by splitting segments into smaller byte-range parts that players download before a full chunk finalizes. Real-Time Messaging Protocol (RTMP) ingest paired with WebRTC distribution drops latency below one second, delivering near instantaneous delivery suitable for two-way live interactions.

Stream latency is distinct from network jitter. While latency defines the steady round-trip or one-way transit duration, jitter measures irregular variance in packet arrival intervals. Severe jitter frequently triggers video buffer expansion, which directly compounds overall stream latency.

Related terms

Back to glossary