29 ProtectionSystem protection_systems);
34 Status
FetchKeys(EmeInitDataType init_data_type,
35 const std::vector<uint8_t>& init_data)
override;
37 Status
GetKey(
const std::vector<uint8_t>& key_id,
40 int32_t crypto_period_duration_in_seconds,
41 const std::string& stream_label,
44 virtual Status FetchKeysWithProgramIdentifier(
const std::string& program_identifier);
51 const std::vector<uint8_t>& key_id,
52 const std::vector<uint8_t>& key);
55 Status GetKeyInternal();
56 Status GetCryptoPeriodKeyInternal();
59 bool generate_playready_protection_system_ =
true;
61 std::unique_ptr<EncryptionKey> encryption_key_;
62 std::string server_url_;