31 ProtectionSystem protection_systems);
36 Status
FetchKeys(EmeInitDataType init_data_type,
37 const std::vector<uint8_t>& init_data)
override;
39 Status
GetKey(
const std::vector<uint8_t>& key_id,
42 int32_t crypto_period_duration_in_seconds,
43 const std::string& stream_label,
46 virtual Status FetchKeysWithProgramIdentifier(
47 const std::string& program_identifier);
54 const std::vector<uint8_t>& key_id,
55 const std::vector<uint8_t>& key);
58 Status GetKeyInternal();
59 Status GetCryptoPeriodKeyInternal();
62 bool generate_playready_protection_system_ =
true;
64 std::unique_ptr<EncryptionKey> encryption_key_;
65 std::string server_url_;