HLS: how your game reaches every fan's screen.

Your encoder sends one stream. HLS is how that stream reaches hundreds of phones, tablets, and computers at once, each at a quality it can handle.

HLS, in shortHLS (HTTP Live Streaming) is a way to deliver video, created by Apple, that cuts a stream into short files called segments and lists them in a playlist. The viewer's player downloads the segments one after another over ordinary web connections.

How HLS works

The streaming service cuts your live stream into segments a few seconds long. For each quality, it keeps a media playlist, a small text file ending in .m3u8 that lists the latest segments. A multivariant playlist, often called the master playlist, lists every quality with its resolution and bitrate.

The viewer's player reads the playlists, downloads segments in order, and plays them back to back. During a live game the playlist keeps updating, so the player keeps asking for the newest segments. Apple's authoring guidance suggests segments of about 6 seconds, each starting on a keyframe, with a keyframe every 2 seconds.

Keyframe interval

Why HLS is used for games

Segments are ordinary files sent over HTTP, the same way web pages are. That means content delivery networks can keep copies close to viewers, so a big game with a thousand fans watching does not put a thousand connections on one server. It also means HLS works on almost any network, because it looks like ordinary web traffic.

HLS can carry several qualities of the same game, and players switch between them as each fan's connection changes. That is adaptive bitrate streaming, and it is the main reason HLS became the standard way to deliver live sports to browsers and phones.

What is a CDN

Why HLS adds delay

A player can only download a segment once the whole segment exists, and players keep a few segments in hand before they start, so a fan never runs out of video in the middle of a play. That cushion is why standard HLS runs well behind live. Mux puts standard latency at typically about 25 to 30 seconds.

Low-Latency HLS, an extension to the format, shortens the wait by delivering video in smaller pieces before each segment is finished. Mux's low latency mode reaches about 5 seconds, but it needs a steady encoder and network to work well.

Streaming latency

Common problems and fixes

Most HLS complaints are about delay or buffering, and the cause is often upstream of the player.

  • Fans hear the crowd react on a phone call before they see the play: that is the HLS cushion. Tell fans the stream runs about 30 seconds behind.
  • Everyone stutters at once: the problem is at the encoder. Check for dropped frames and lower the bitrate.
  • Uneven quality switches: segments must start on a keyframe, so an irregular keyframe interval makes uneven segments. Set it to 2 seconds.
  • A copied .m3u8 link gets shared: on SidelineWeb TV, playback links are signed and expire, so a copied link stops working.

HLS on SidelineWeb TV

Mux delivers your stream over HLS in several qualities. Every game plays in Mux Player, which picks the best quality the fan's connection can handle and adjusts as it changes, and fans can choose a quality from the menu. The player works in the browser on phones, tablets, and computers, and casts to a TV with Chromecast or AirPlay.

Video player

Sources

Checked November 28, 2026. Prices and plans change, so confirm on each provider's own site.

  1. Apple: HTTP Live Streaming
  2. Apple: HLS authoring specification for Apple devices
  3. IETF RFC 8216: HTTP Live Streaming
  4. Mux: Reduce live stream latency

Common questions

All questions
What is an .m3u8 file?

An HLS playlist. It is a short text file that lists the video segments, or the available qualities. Players read it to know what to download next.

Is HLS only for Apple devices?

No. Apple created it, but HLS plays on Android phones, Windows and Mac computers, and TVs through players that support it, such as Mux Player.

Does HLS work for replays too?

Yes. A replay is the same set of segments with a finished playlist, so fans can jump to any point in the game.

What is the difference between HLS and RTMP?

RTMP carries your stream from the encoder to the server. HLS carries it from the server to the fans.

Keep reading

Features you will use

Ready for your next home game?

Create your site in a couple of minutes. Connect Mux when you are ready.

Get started