7 #ifndef PACKAGER_MEDIA_BASE_RAW_KEY_SOURCE_H_ 8 #define PACKAGER_MEDIA_BASE_RAW_KEY_SOURCE_H_ 14 #include "packager/media/base/key_source.h" 15 #include "packager/media/public/crypto_params.h" 28 const std::vector<uint8_t>& init_data)
override;
33 const std::string& stream_label,
46 int protection_system_flags,
47 FourCC protection_scheme);
55 int protection_systems_flags,
56 FourCC protection_scheme);
60 EncryptionKeyMap encryption_key_map_;
66 #endif // PACKAGER_MEDIA_BASE_RAW_KEY_SOURCE_H_
All the methods that are virtual are virtual for mocking.
Raw key encryption/decryption parameters, i.e. with key parameters provided.