DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Attributes | List of all members
shaka::media::EncryptionOptions Struct Reference

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'.
 
double crypto_period_duration_in_seconds = 0
 
bool vp9_subsample_encryption = true
 Enable/disable subsample encryption for VP9.
 
std::function< std::string(const
EncryptionParams::EncryptedStreamAttributes
&stream_attributes)> 
stream_label_func
 

Detailed Description

This structure defines encryption options.

Definition at line 24 of file encryption_handler.h.

Member Data Documentation

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 31 of file encryption_handler.h.

std::function<std::string( const EncryptionParams::EncryptedStreamAttributes& stream_attributes)> shaka::media::EncryptionOptions::stream_label_func

Stream label function used to get the label of the encrypted stream. Must be set.

Definition at line 38 of file encryption_handler.h.


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