7 #ifndef MEDIA_BASE_FIXED_KEY_SOURCE_H_
8 #define MEDIA_BASE_FIXED_KEY_SOURCE_H_
14 #include "packager/media/base/key_source.h"
22 const uint8_t kCommonSystemId[] = {0x10, 0x77, 0xef, 0xec, 0xc0, 0xb2,
23 0x4d, 0x02, 0xac, 0xe3, 0x3c, 0x1e,
24 0x52, 0xe2, 0xfb, 0x4b};
28 const uint8_t kFairplaySystemId[] = {0x29, 0x70, 0x1F, 0xE4, 0x3C, 0xC7,
29 0x4A, 0x34, 0x8C, 0x5B, 0xAE, 0x90,
30 0xC7, 0x43, 0x9A, 0x47};
40 const std::vector<uint8_t>& init_data)
override;
45 const std::string& stream_label,
58 static std::unique_ptr<FixedKeySource>
Create(
59 const std::vector<uint8_t>& key_id,
60 const std::vector<uint8_t>& key,
61 const std::vector<uint8_t>& pssh_boxes,
62 const std::vector<uint8_t>& iv);
71 std::unique_ptr<EncryptionKey> encryption_key_;
79 #endif // MEDIA_BASE_FIXED_KEY_SOURCE_H_