TSDuck Version 3.32-2769 (TSDuck - The MPEG Transport Stream Toolkit)
ts::hls::MediaElement Class Reference

Description of a media "element" (sub-playlist or segment) inside an HLS playlist. More...

Inheritance diagram for ts::hls::MediaElement:
Collaboration diagram for ts::hls::MediaElement:

Public Member Functions

 MediaElement ()
 Constructor.
 
virtual UString toString () const override
 Convert to a string object. More...
 
UString urlString () const
 Get the URL string to use. More...
 

Public Attributes

UString filePath
 Full file path.
 
UString relativeURI
 Relative URI, verbatime from playlist.
 
URL url
 Full URL, invalid if accessed by file path only.
 

Detailed Description

Description of a media "element" (sub-playlist or segment) inside an HLS playlist.

Member Function Documentation

◆ urlString()

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

Get the URL string to use.

Returns
The URL string to use.

◆ toString()

virtual UString ts::hls::MediaElement::toString ( ) const
overridevirtual

Convert to a string object.

Returns
This object, converted as a string.

Implements ts::StringifyInterface.

Reimplemented in ts::hls::MediaPlayList.


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