TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
Description of a media segment in an HLS playlist. More...
#include <tshlsMediaSegment.h>
Public Member Functions | |
MediaSegment ()=default | |
Constructor. | |
virtual UString | toString () const override |
Convert to a string object. | |
UString | urlString () const |
Get the URL string to use. | |
Public Attributes | |
BitRate | bitrate = 0 |
Indicative bitrate. | |
cn::milliseconds | duration {} |
Segment duration in milliseconds. | |
UString | filePath {} |
Full file path. | |
bool | gap = false |
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::AltPlayList, and ts::hls::MediaPlayList.