7 #ifndef MEDIA_BASE_KEY_SOURCE_H_
8 #define MEDIA_BASE_KEY_SOURCE_H_
13 #include "packager/media/base/protection_system_specific_info.h"
14 #include "packager/media/base/status.h"
23 std::vector<ProtectionSystemSpecificInfo> key_system_info;
24 std::vector<uint8_t> key_id;
25 std::vector<uint8_t> key;
26 std::vector<uint8_t> iv;
33 TRACK_TYPE_UNKNOWN = 0,
39 TRACK_TYPE_UNSPECIFIED = 6,
40 NUM_VALID_TRACK_TYPES = 6
55 const std::vector<std::vector<uint8_t>>& key_ids) = 0;
75 virtual Status GetKey(
const std::vector<uint8_t>& key_id,
102 #endif // MEDIA_BASE_KEY_SOURCE_H_