7 #ifndef MEDIA_BASE_KEY_SOURCE_H_
8 #define MEDIA_BASE_KEY_SOURCE_H_
13 #include "packager/base/memory/scoped_ptr.h"
14 #include "packager/media/base/protection_system_specific_info.h"
15 #include "packager/media/base/status.h"
24 std::vector<ProtectionSystemSpecificInfo> key_system_info;
25 std::vector<uint8_t> key_id;
26 std::vector<uint8_t> key;
27 std::vector<uint8_t> iv;
34 TRACK_TYPE_UNKNOWN = 0,
38 TRACK_TYPE_UNSPECIFIED = 4,
39 NUM_VALID_TRACK_TYPES = 4
54 const std::vector<std::vector<uint8_t>>& key_ids) = 0;
74 virtual Status GetKey(
const std::vector<uint8_t>& key_id,
101 #endif // MEDIA_BASE_KEY_SOURCE_H_