DASH Media Packaging SDK
|
Public Member Functions | |
bool | Parse (const uint8_t *data, size_t data_size) |
std::vector< uint8_t > | CreateBox () const |
Creates a PSSH box for the current data. | |
uint8_t | pssh_box_version () const |
const std::vector< uint8_t > & | system_id () const |
const std::vector< std::vector < uint8_t > > & | key_ids () const |
const std::vector< uint8_t > & | pssh_data () const |
void | set_pssh_box_version (uint8_t version) |
void | set_system_id (const uint8_t *system_id, size_t system_id_size) |
void | add_key_id (const std::vector< uint8_t > &key_id) |
void | clear_key_ids () |
void | set_pssh_data (const std::vector< uint8_t > &pssh_data) |
Static Public Member Functions | |
static bool | ParseBoxes (const uint8_t *data, size_t data_size, std::vector< ProtectionSystemSpecificInfo > *pssh_boxes) |
Definition at line 19 of file protection_system_specific_info.h.
bool shaka::media::ProtectionSystemSpecificInfo::Parse | ( | const uint8_t * | data, |
size_t | data_size | ||
) |
Parses the given PSSH box into this object.
Definition at line 44 of file protection_system_specific_info.cc.
|
static |
Parses multiple PSSH boxes from data. These boxes should be concatenated together. Any non-PSSH box is an error.
Definition at line 25 of file protection_system_specific_info.cc.