TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::hls::MediaPlayList Class Reference

#include <tshlsMediaPlayList.h>

Inheritance diagram for ts::hls::MediaPlayList:
Collaboration diagram for ts::hls::MediaPlayList:

Public Member Functions

 MediaPlayList ()=default
virtual UString toString () const override
UString urlString () const

Public Attributes

UString audio {}
 Audio description.
BitRate average_bandwidth = 0
 Average bandwidth.
BitRate bandwidth = 0
 Peak bandwidth.
UString closed_captions {}
 Closed-captions description.
UString codecs {}
 List of codecs.
UString file_path {}
 Absolute file path, in operating system native format.
size_t frame_rate = 0
 Frame rate in milli-fps.
UString hdcp {}
 HDCP level.
size_t height = 0
 Resolution height in pixels.
UString relative_uri {}
 Relative URI, verbatime from playlist.
UString subtitles {}
 Subtitles description.
URL url {}
 Full URL, invalid if accessed by file path only.
UString video {}
 Video description.
UString video_range {}
 Video range description.
size_t width = 0
 Resolution width in pixels.

Detailed Description

Description of a media playlist inside an HLS master playlist.

Constructor & Destructor Documentation

◆ MediaPlayList()

ts::hls::MediaPlayList::MediaPlayList ( )
default

Constructor.

Member Function Documentation

◆ toString()

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

Convert to a string object.

Returns
This object, converted as a string.

Reimplemented from ts::hls::MediaElement.

◆ urlString()

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

Get the URL or file path string to use.

Returns
The URL or file path string to use.

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