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 const std::vector<uint8_t>& init_data)
override;
49 const std::string& stream_label,
52 virtual Status FetchKeysWithProgramIdentifier(
const std::string& program_identifier);
61 const std::string& key_id_hex,
const std::string& key_hex);
69 Status GetCryptoPeriodKeyInternal();
72 std::unique_ptr<EncryptionKey> encryption_key_;
73 std::string server_url_;
75 std::string client_cert_file_;
76 std::string client_cert_private_key_file_;
77 std::string client_cert_private_key_password_;
85 #endif // MEDIA_BASE_PLAYREADY_SOURCE_H_