TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
Description of a media "element" (sub-playlist or segment) inside an HLS playlist. More...
#include <tshlsMediaElement.h>
Public Member Functions | |
MediaElement ()=default | |
Constructor. | |
virtual UString | toString () const override |
Convert to a string object. | |
UString | urlString () const |
Get the URL string to use. | |
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. | |
Description of a media "element" (sub-playlist or segment) inside an HLS playlist.
UString ts::hls::MediaElement::urlString | ( | ) | const |
|
overridevirtual |
Convert to a string object.
Implements ts::StringifyInterface.
Reimplemented in ts::hls::AltPlayList, and ts::hls::MediaPlayList.