TSDuck Version 3.20-1669 (TSDuck - The MPEG Transport Stream Toolkit)
ts::hls Namespace Reference

Namespace for HTTP Live Streaming (HLS) classes. More...

Classes

class  InputPlugin
 HTTP Live Streaming (HLS) input plugin for tsp. More...
 
class  MediaPlayList
 Description of a media playlist inside an HLS master playlist. More...
 
class  MediaSegment
 Description of a media segment in an HLS playlist. More...
 
class  OutputPlugin
 HTTP Live Streaming (HLS) output plugin for tsp. More...
 
class  PlayList
 Playlist for HTTP Live Streaming (HLS). More...
 
class  TagAttributes
 Attributes of a tag in an HLS playlist. More...
 

Enumerations

enum  PlayListType {
  UNKNOWN_PLAYLIST,
  MASTER_PLAYLIST,
  MEDIA_PLAYLIST
}
 Types of .M3U8 playlist. More...
 
enum  Tag {
  EXTM3U,
  VERSION,
  EXTINF,
  BYTERANGE,
  DISCONTINUITY,
  KEY,
  MAP,
  PROGRAM_DATE_TIME,
  DATERANGE,
  GAP,
  BITRATE,
  TARGETDURATION,
  MEDIA_SEQUENCE,
  DISCONTINUITY_SEQUENCE,
  ENDLIST,
  PLAYLIST_TYPE,
  I_FRAMES_ONLY,
  MEDIA,
  STREAM_INF,
  I_FRAME_STREAM_INF,
  SESSION_DATA,
  SESSION_KEY,
  INDEPENDENT_SEGMENTS,
  START,
  DEFINE
}
 Tags to be used in the .M3U8 playlists. More...
 
enum  TagFlags {
  TAG_MASTER = 0x0001,
  TAG_MEDIA = 0x0002
}
 Properties of playlist tags. More...
 

Functions

int TagProperties (Tag tag)
 Get the properties of a Tag. More...
 

Variables

const Enumeration TagNames
 Enumeration description of ts::hls::Tag. More...
 

Detailed Description

Namespace for HTTP Live Streaming (HLS) classes.

Enumeration Type Documentation

◆ PlayListType

Types of .M3U8 playlist.

Enumerator
UNKNOWN_PLAYLIST 

Type is unknown.

MASTER_PLAYLIST 

Master playlist, contains references to media playlists.

MEDIA_PLAYLIST 

Media playlist, contains references to media segments.

◆ TagFlags

Properties of playlist tags.

Can be used as bitmask.

Enumerator
TAG_MASTER 

The tag is allowed in master playlists.

TAG_MEDIA 

The tag is allowed in media playlists.

Function Documentation

◆ TagProperties()

int ts::hls::TagProperties ( Tag  tag)

Get the properties of a Tag.

Parameters
[in]tagThe tag to get the properties of.
Returns
A bitmask of TagFlags.

Variable Documentation

◆ TagNames

const Enumeration ts::hls::TagNames

Enumeration description of ts::hls::Tag.

The names are the actual tag names from a .M3U8 playlist file.