TSDuck v3.38-3738
MPEG Transport Stream Toolkit
No Matches
ts::hls::MediaPlayList Class Reference

Description of a media playlist inside an HLS master playlist. More...

#include <tshlsMediaPlayList.h>

Inheritance diagram for ts::hls::MediaPlayList:
Collaboration diagram for ts::hls::MediaPlayList:

Public Member Functions

 MediaPlayList ()=default
virtual UString toString () const override
 Convert to a string object.
UString urlString () const
 Get the URL string to use.

Public Attributes

UString audio {}
 Audio description.
BitRate averageBandwidth = 0
 Average bandwidth.
BitRate bandwidth = 0
 Peak bandwidth.
UString closedCaptions {}
 Closed-captions description.
UString codecs {}
 List of codecs.
UString filePath {}
 Full file path.
size_t frameRate = 0
 Frame rate in milli-fps.
UString hdcp {}
 HDCP level.
size_t height = 0
 Resolution height in pixels.
UString relativeURI {}
 Relative URI, verbatime from playlist.
UString subtitles {}
 Subtitles description.
URL url {}
 Full URL, invalid if accessed by file path only.
UString video {}
 Video description.
UString videoRange {}
 Video range description.
size_t width = 0
 Resolution width in pixels.

Detailed Description

Description of a media playlist inside an HLS master playlist.

Member Function Documentation

◆ toString()

virtual UString ts::hls::MediaPlayList::toString ( ) const

Convert to a string object.

This object, converted as a string.

Reimplemented from ts::hls::MediaElement.

◆ urlString()

UString ts::hls::MediaElement::urlString ( ) const

Get the URL string to use.

The URL string to use.

The documentation for this class was generated from the following file: