7 #ifndef PACKAGER_MEDIA_BASE_PLAYREADY_SOURCE_H_ 8 #define PACKAGER_MEDIA_BASE_PLAYREADY_SOURCE_H_ 14 #include "packager/media/base/key_source.h" 27 int protection_scheme_flags);
37 const std::string& client_cert_file,
38 const std::string& client_cert_private_key_file,
39 const std::string& client_cert_private_key_password,
40 int protection_scheme_flags);
46 const std::vector<uint8_t>& init_data)
override;
51 const std::string& stream_label,
54 virtual Status FetchKeysWithProgramIdentifier(
const std::string& program_identifier);
61 const std::vector<uint8_t>& key_id,
62 const std::vector<uint8_t>& key);
70 Status GetCryptoPeriodKeyInternal();
73 std::unique_ptr<EncryptionKey> encryption_key_;
74 std::string server_url_;
76 std::string client_cert_file_;
77 std::string client_cert_private_key_file_;
78 std::string client_cert_private_key_password_;
86 #endif // PACKAGER_MEDIA_BASE_PLAYREADY_SOURCE_H_
All the methods that are virtual are virtual for mocking.