![]() |
TSDuck v3.46-4930
MPEG Transport Stream Toolkit
|
#include <tshlsMediaKey.h>


Public Member Functions | |
| MediaKey ()=default | |
| bool | isEncrypted () const |
| bool | isRawEncryptionKey () const |
| virtual UString | toString () const override |
| UString | urlString () const |
Public Attributes | |
| UString | file_path {} |
| Absolute file path, in operating system native format. | |
| 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.
|
default |
Constructor.
| 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.