![]() |
TSDuck v3.45-4787
MPEG Transport Stream Toolkit
|
Description of an encryption key in an HLS media segment. More...
#include <tshlsMediaKey.h>


Public Member Functions | |
| MediaKey ()=default | |
| Constructor. | |
| bool | isEncrypted () const |
| Check if the media segment is encrypted. | |
| bool | isRawEncryptionKey () const |
| Check if the encryption key is in the default raw binary format. | |
| virtual UString | toString () const override |
| Convert to a string object. | |
| UString | urlString () const |
| Get the URL string to use. | |
Public Attributes | |
| UString | file_path {} |
| Full file path. | |
| UString | format {} |
| Encryption key format (empty or "identity" means raw binary). | |
| ByteBlock | iv {} |
| Initialization vector for encryption. | |
| UString | method {} |
| Encryption key method (empty or "NONE" means unencrypted). | |
| UString | relative_uri {} |
| Relative URI, verbatime from playlist. | |
| URL | url {} |
| Full URL, invalid if accessed by file path only. | |
Description of an encryption key in an HLS media segment.
| bool ts::hls::MediaKey::isEncrypted | ( | ) | const |
Check if the media segment is encrypted.
| bool ts::hls::MediaKey::isRawEncryptionKey | ( | ) | const |
Check if the encryption key is in the default raw binary format.
|
inherited |
|
overridevirtualinherited |
Convert to a string object.
Implements ts::StringifyInterface.
Reimplemented in ts::hls::AltPlayList, and ts::hls::MediaPlayList.