ZONP2P-IPTV.store Live chat

What is HLS streaming? M3U8 explained

HLS (HTTP Live Streaming) is the most used way to stream video on the internet. It turns one video into many small files that any web server can deliver.

The two pieces: playlist and segments

The player downloads the playlist, then the segments one after another, and plays them back to back.

Adaptive bitrate

A "master" playlist lists the same stream in several qualities (for example 1080p, 720p, 480p). The player measures how fast segments arrive and switches quality between segments. That is why the picture sometimes gets softer instead of stopping.

Why HLS is behind live

A segment must be finished before it is published, and players keep a few segments in their buffer. With 6-second segments the delay is often 15 to 30 seconds. Low-Latency HLS uses smaller parts to bring it down to a few seconds.

M3U vs M3U8

Both are text playlists. M3U8 is simply M3U in UTF-8 text. HLS uses .m3u8 for its playlists; "M3U" playlists in players are often lists of streams rather than HLS segment lists.

How P2P fits in

Because HLS is made of identical segments that every viewer of a live stream requests, those segments can be shared between viewers. A P2P player keeps HLS as it is and changes who delivers each segment. How P2P streaming works.

Related

Questions

What does m3u8 mean?

An M3U playlist saved as UTF-8 text. In HLS it lists the segments of a stream or the available qualities.

Can VLC play HLS?

Yes. VLC opens .m3u8 addresses through Media → Open Network Stream.