EXT-X-SESSION-DATA

Carries extra data about the whole presentation, such as a title, in the master playlist.

Master playlist tagAny protocol versionIn: Master playlistRFC 8216, section 4.3.4.4

Syntax

#EXT-X-SESSION-DATA:<attribute-list>

Attributes

AttributeValueRequiredWhat it means
DATA-IDReverse-DNS name, such as "com.example.movie.title"YesNames the item of data.
VALUEAny textUnless URI is presentThe data itself. Must not be combined with URI.
URIURI of a JSON fileUnless VALUE is presentWhere to load the data from. The file must be JSON in RFC 8216. Must not be combined with VALUE.
LANGUAGERFC 5646 language tag, such as "en"NoThe language of VALUE. Lets the same DATA-ID appear once per language.
FORMATJSON or RAW
Default: JSON
NoHow to read the file at URI: as JSON or as raw binary data. Ignored without URI. Added in the RFC 8216bis draft.

What EXT-X-SESSION-DATA means

EXT-X-SESSION-DATA carries extra information about the whole presentation in the master playlist, such as a title, a description or a link to a JSON file with more data. Each tag holds one item, named by its DATA-ID.

The data is either written inline in VALUE or stored in a JSON file at URI. With LANGUAGE, the same item can be given in several languages.

Where it goes

Master playlists only. A playlist can contain as many as it needs, including several with the same DATA-ID in different languages.

Rules from RFC 8216

Section 4.3.4.4 sets these rules:

The RFC 8216bis draft adds a FORMAT attribute, so a URI can point to raw binary data instead of JSON.

Common mistakes

How players treat it

Players generally do not show session data on screen. They read it and make it available to the app around them, which decides what to do with it, for example showing a title.

Example

#EXTM3U
#EXT-X-SESSION-DATA:DATA-ID="com.example.meeting.title",VALUE="City Council Regular Meeting",LANGUAGE="en"
#EXT-X-SESSION-DATA:DATA-ID="com.example.meeting.title",VALUE="Sesión ordinaria del Concejo Municipal",LANGUAGE="es"
#EXT-X-SESSION-DATA:DATA-ID="com.example.meeting.agenda",URI="agenda.json"
#EXT-X-STREAM-INF:BANDWIDTH=2900000,RESOLUTION=1280x720,CODECS="avc1.64001f,mp4a.40.2"
720p/index.m3u8

The meeting title is given in two languages under one DATA-ID, and the agenda comes from a JSON file instead of an inline VALUE.

How m3u8.cloud handles it

The m3u8 inspector shows every EXT-X-SESSION-DATA entry in a master playlist.

Check the tags in any playlist

Open the m3u8 inspector