7 #ifndef MEDIA_BASE_PLAYREADY_SOURCE_H_
8 #define MEDIA_BASE_PLAYREADY_SOURCE_H_
14 #include "packager/media/base/key_source.h"
20 const uint8_t kPlayReadySystemId[] = {0x9a, 0x04, 0xf0, 0x79, 0x98, 0x40, 0x42,
21 0x86, 0xab, 0x92, 0xe6, 0x5b, 0xe0, 0x88, 0x5f, 0x95};
36 const std::string& client_cert_file,
37 const std::string& client_cert_private_key_file,
38 const std::string& client_cert_private_key_password);
44 Status FetchKeys(
const std::vector<std::vector<uint8_t>>& key_ids)
override;
54 virtual Status FetchKeysWithProgramIdentifier(
const std::string& program_identifier);
63 const std::string& key_id_hex,
const std::string& key_hex);
71 Status GetCryptoPeriodKeyInternal();
74 std::unique_ptr<EncryptionKey> encryption_key_;
75 std::string server_url_;
77 std::string client_cert_file_;
78 std::string client_cert_private_key_file_;
79 std::string client_cert_private_key_password_;
87 #endif // MEDIA_BASE_PLAYREADY_SOURCE_H_