Description of a media segment in an HLS playlist. More...
Public Member Functions | |
MediaSegment () | |
Constructor. | |
virtual | ~MediaSegment () override |
Destructor. | |
virtual UString | toString () const override |
Convert to a string object. More... | |
UString | urlString () const |
Get the URL string to use. More... | |
Public Attributes | |
BitRate | bitrate |
Indicative bitrate. | |
MilliSecond | duration |
Segment duration in milliseconds. | |
UString | filePath |
Full file path. | |
bool | gap |
Media is a "gap", should not be loaded by clients. | |
UString | relativeURI |
Relative URI, verbatime from playlist. | |
UString | title |
Optional segment title. | |
URL | url |
Full URL, invalid if accessed by file path only. | |
Description of a media segment in an HLS playlist.
|
inherited |
|
overridevirtualinherited |
Convert to a string object.
Implements ts::StringifyInterface.
Reimplemented in ts::hls::MediaPlayList.