TSDuck v3.38-3738
MPEG Transport Stream Toolkit
Loading...
Searching...
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
 Constructor.
 
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
overridevirtual

Convert to a string object.

Returns
This object, converted as a string.

Reimplemented from ts::hls::MediaElement.

◆ urlString()

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

Get the URL string to use.

Returns
The URL string to use.

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