![]() |
TSDuck v3.43-4480
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 | file_path {} |
| Full file path. | |
| bool | gap = false |
| Media is a "gap", should not be loaded by clients. | |
| UString | relative_uri {} |
| 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.