|
Shaka Packager SDK
|
#include <cpix_parser.h>
Public Attributes | |
| std::vector< uint8_t > | key_id |
16-byte CENC key ID, from the kid attribute. | |
| std::string | intended_track_type |
| bool | has_audio_filter = false |
| std::vector< CpixVideoFilter > | video_filters |
A usage rule from a CPIX ContentKeyUsageRuleList, mapping a key to streams by intended track type (DRM label) and/or filters.
Definition at line 75 of file cpix_parser.h.
| bool shaka::media::CpixUsageRule::has_audio_filter = false |
True if the rule contains an AudioFilter element, restricting the rule to audio streams.
Definition at line 83 of file cpix_parser.h.
| std::string shaka::media::CpixUsageRule::intended_track_type |
The optional intendedTrackType attribute, e.g. "SD", "HD", "AUDIO". Empty if not present.
Definition at line 80 of file cpix_parser.h.
| std::vector<uint8_t> shaka::media::CpixUsageRule::key_id |
16-byte CENC key ID, from the kid attribute.
Definition at line 77 of file cpix_parser.h.
| std::vector<CpixVideoFilter> shaka::media::CpixUsageRule::video_filters |
VideoFilter elements, restricting the rule to video streams. Multiple filters form a union of their pixel ranges.
Definition at line 86 of file cpix_parser.h.