7 #ifndef MEDIA_BASE_PLAYREADY_PSSH_GENERATOR_H_
8 #define MEDIA_BASE_PLAYREADY_PSSH_GENERATOR_H_
12 #include <packager/media/base/fourccs.h>
13 #include <packager/media/base/pssh_generator.h>
21 FourCC protection_scheme);
35 std::optional<std::vector<uint8_t>> GeneratePsshDataFromKeyIds(
36 const std::vector<std::vector<uint8_t>>& key_ids)
const override;
38 std::optional<std::vector<uint8_t>> GeneratePsshDataFromKeyIdAndKey(
39 const std::vector<uint8_t>& key_id,
40 const std::vector<uint8_t>& key)
const override;
42 const std::string extra_header_data_;
43 const FourCC protection_scheme_;
All the methods that are virtual are virtual for mocking.