DASH Media Packaging SDK
|
This structure defines encryption options. More...
#include <encryption_handler.h>
Public Attributes | |
double | clear_lead_in_seconds = 0 |
Clear lead duration in seconds. | |
FourCC | protection_scheme = FOURCC_cenc |
The protection scheme: 'cenc', 'cens', 'cbc1', 'cbcs'. | |
uint32_t | max_sd_pixels = 0 |
uint32_t | max_hd_pixels = 0 |
uint32_t | max_uhd1_pixels = 0 |
double | crypto_period_duration_in_seconds = 0 |
This structure defines encryption options.
Definition at line 23 of file encryption_handler.h.
double shaka::media::EncryptionOptions::crypto_period_duration_in_seconds = 0 |
Crypto period duration in seconds. A positive value means key rotation is enabled, the key source must support key rotation in this case.
Definition at line 43 of file encryption_handler.h.
uint32_t shaka::media::EncryptionOptions::max_hd_pixels = 0 |
The threshold to determine whether a video track should be considered as HD. If the max pixels per frame is higher than max_sd_pixels, but no higher than max_hd_pixels, i.e. (max_sd_pixels, max_hd_pixels], it is HD.
Definition at line 35 of file encryption_handler.h.
uint32_t shaka::media::EncryptionOptions::max_sd_pixels = 0 |
The threshold to determine whether a video track should be considered as SD. If the max pixels per frame is no higher than max_sd_pixels, i.e. [0, max_sd_pixels], it is SD.
Definition at line 31 of file encryption_handler.h.
uint32_t shaka::media::EncryptionOptions::max_uhd1_pixels = 0 |
The threshold to determine whether a video track should be considered as UHD1. If the max pixels per frame is higher than max_hd_pixels, but no higher than max_uhd1_pixels, i.e. (max_hd_pixels, max_uhd1_pixels], it is UHD1. Otherwise it is UHD2.
Definition at line 40 of file encryption_handler.h.