EXT-X-PLAYLIST-TYPE

Says whether a media playlist will never change (VOD) or will only grow at the end (EVENT).

Media playlist tagAny protocol versionIn: Media playlistRFC 8216, section 4.3.3.5

Syntax

#EXT-X-PLAYLIST-TYPE:<type-enum>

What EXT-X-PLAYLIST-TYPE means

EXT-X-PLAYLIST-TYPE tells players how the media playlist may change over time. It takes one of two values:

VOD
Video on demand. The playlist will never change, because it already lists every segment.
EVENT
Segments can only be added at the end. Nothing is removed or changed, so the playlist keeps every segment from the start of the event.

Without the tag, the playlist may change under the general rules: segments can be added at the end and removed from the top. That is how a sliding-window live stream works.

Where it goes

Media playlists only, once, usually near the top. The tag is optional.

Rules from RFC 8216

Section 4.3.3.5 and section 6 set these rules:

Choosing a type

Use VOD for finished videos. Use EVENT for a live event that viewers should be able to rewind to the start, such as a meeting or a conference session, and add EXT-X-ENDLIST when it ends. Leave the tag out for round-the-clock streams that keep only the last few minutes.

Common mistakes

How players treat it

For VOD, players load the playlist once. For EVENT, they keep reloading and let viewers seek anywhere from the start of the event to the live edge.

Example

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-PLAYLIST-TYPE:EVENT
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:6.000,
event/seg0.ts
#EXTINF:6.000,
event/seg1.ts
#EXTINF:6.000,
event/seg2.ts

This EVENT playlist keeps every segment from the start and only grows at the end; there is no EXT-X-ENDLIST yet because the event is still running.

How m3u8.cloud handles it

A VOD playlist is downloaded in full. An EVENT playlist without EXT-X-ENDLIST is recorded live, starting from the first piece the playlist still lists. Because EVENT playlists never drop pieces, that is normally the start of the event.

Check the tags in any playlist

Open the m3u8 inspector