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);
59 const std::vector<uint8_t>& key_id,
60 const std::vector<uint8_t>& key);
68 Status GetCryptoPeriodKeyInternal();
71 std::unique_ptr<EncryptionKey> encryption_key_;
72 std::string server_url_;
74 std::string client_cert_file_;
75 std::string client_cert_private_key_file_;
76 std::string client_cert_private_key_password_;
84 #endif // MEDIA_BASE_PLAYREADY_SOURCE_H_