7 #ifndef MEDIA_BASE_WIDEVINE_PSSH_GENERATOR_H_
8 #define MEDIA_BASE_WIDEVINE_PSSH_GENERATOR_H_
10 #include <packager/media/base/fourccs.h>
11 #include <packager/media/base/pssh_generator.h>
32 std::optional<std::vector<uint8_t>> GeneratePsshDataFromKeyIds(
33 const std::vector<std::vector<uint8_t>>& key_ids)
const override;
35 std::optional<std::vector<uint8_t>> GeneratePsshDataFromKeyIdAndKey(
36 const std::vector<uint8_t>& key_id,
37 const std::vector<uint8_t>& key)
const override;
39 FourCC protection_scheme_ = FOURCC_NULL;
All the methods that are virtual are virtual for mocking.