TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
HTTP Live Streaming (HLS)

Classes for HTTP Live Streaming (HLS) More...

Collaboration diagram for HTTP Live Streaming (HLS):

Classes

class  ts::hls::AltPlayList
 Description of an alternative rendition media playlist inside an HLS master playlist. More...
 
class  ts::hls::MediaElement
 Description of a media "element" (sub-playlist or segment) inside an HLS playlist. More...
 
class  ts::hls::MediaPlayList
 Description of a media playlist inside an HLS master playlist. More...
 
class  ts::hls::MediaSegment
 Description of a media segment in an HLS playlist. More...
 
class  ts::hls::PlayList
 Playlist for HTTP Live Streaming (HLS). More...
 
class  ts::hls::TagAttributes
 Attributes of a tag in an HLS playlist. More...
 

Enumerations

enum class  ts::hls::Tag {
  ts::hls::Tag::EXTM3U ,
  ts::hls::Tag::VERSION ,
  ts::hls::Tag::EXTINF ,
  ts::hls::Tag::BYTERANGE ,
  ts::hls::Tag::DISCONTINUITY ,
  ts::hls::Tag::KEY ,
  ts::hls::Tag::MAP ,
  ts::hls::Tag::PROGRAM_DATE_TIME ,
  ts::hls::Tag::GAP ,
  ts::hls::Tag::BITRATE ,
  ts::hls::Tag::PART ,
  ts::hls::Tag::DATERANGE ,
  ts::hls::Tag::SKIP ,
  ts::hls::Tag::PRELOAD_HINT ,
  ts::hls::Tag::RENDITION_REPORT ,
  ts::hls::Tag::TARGETDURATION ,
  ts::hls::Tag::MEDIA_SEQUENCE ,
  ts::hls::Tag::DISCONTINUITY_SEQUENCE ,
  ts::hls::Tag::ENDLIST ,
  ts::hls::Tag::PLAYLIST_TYPE ,
  ts::hls::Tag::I_FRAMES_ONLY ,
  ts::hls::Tag::PART_INF ,
  ts::hls::Tag::SERVER_CONTROL ,
  ts::hls::Tag::MEDIA ,
  ts::hls::Tag::STREAM_INF ,
  ts::hls::Tag::I_FRAME_STREAM_INF ,
  ts::hls::Tag::SESSION_DATA ,
  ts::hls::Tag::SESSION_KEY ,
  ts::hls::Tag::CONTENT_STEERING ,
  ts::hls::Tag::INDEPENDENT_SEGMENTS ,
  ts::hls::Tag::START ,
  ts::hls::Tag::DEFINE
}
 Tags to be used in the .M3U8 playlists. More...
 

Detailed Description

Classes for HTTP Live Streaming (HLS)

Enumeration Type Documentation

◆ Tag

enum class ts::hls::Tag
strong

Tags to be used in the .M3U8 playlists.

See also
RFC 8216, chapter 4.
draft-pantos-hls-rfc8216bis-10
Enumerator
EXTM3U 

#EXTM3U - first line, all playlists.

VERSION 

#EXT-X-VERSION:n - global, version number.

EXTINF 

#EXTINF:duration,[title] - next media segment only, required.

BYTERANGE 

#EXT-X-BYTERANGE:n[@o] - next media segment only.

DISCONTINUITY 

#EXT-X-DISCONTINUITY - next media segment only.

KEY 

#EXT-X-KEY:attribute-list - all media segments until next KEY.

MAP 

#EXT-X-MAP:attribute-list - all media segments until next MAP.

PROGRAM_DATE_TIME 

#EXT-X-PROGRAM-DATE-TIME:date-time-msec - next media segment only.

GAP 

#EXT-X-GAP

BITRATE 

#EXT-X-BITRATE:rate

PART 

#EXT-X-PART:attribute-list

DATERANGE 

#EXT-X-DATERANGE:attribute-list

SKIP 

#EXT-X-SKIP:attribute-list

PRELOAD_HINT 

#EXT-X-PRELOAD-HINT:attribute-list

RENDITION_REPORT 

#EXT-X-RENDITION-REPORT:attribute-list

TARGETDURATION 

#EXT-X-TARGETDURATION:s

MEDIA_SEQUENCE 

#EXT-X-MEDIA-SEQUENCE:number

DISCONTINUITY_SEQUENCE 

#EXT-X-DISCONTINUITY-SEQUENCE:number

ENDLIST 

#EXT-X-ENDLIST

PLAYLIST_TYPE 

#EXT-X-PLAYLIST-TYPE:type (EVENT or VOD).

I_FRAMES_ONLY 

#EXT-X-I-FRAMES-ONLY

PART_INF 

#EXT-X-PART-INF

SERVER_CONTROL 

#EXT-X-SERVER-CONTROL

MEDIA 

#EXT-X-MEDIA:attribute-list

STREAM_INF 

#EXT-X-STREAM-INF:attribute-list - immediately followed by an URI line.

I_FRAME_STREAM_INF 

#EXT-X-I-FRAME-STREAM-INF:attribute-list - global to playlist.

SESSION_DATA 

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

SESSION_KEY 

#EXT-X-SESSION-KEY:attribute-list

CONTENT_STEERING 

#EXT-X-CONTENT-STEERING:attribute-list

INDEPENDENT_SEGMENTS 

#EXT-X-INDEPENDENT-SEGMENTS

START 

#EXT-X-START:attribute-list

DEFINE 

#EXT-X-DEFINE:attribute-list