7 #ifndef PACKAGER_MEDIA_BASE_DECRYPTOR_SOURCE_H_
8 #define PACKAGER_MEDIA_BASE_DECRYPTOR_SOURCE_H_
14 #include <packager/macros/classes.h>
15 #include <packager/media/base/aes_decryptor.h>
16 #include <packager/media/base/decrypt_config.h>
17 #include <packager/media/base/key_source.h>
40 const uint8_t* encrypted_buffer,
42 uint8_t* decrypted_buffer);
46 std::map<std::vector<uint8_t>, std::unique_ptr<AesCryptor>> decryptor_map_;
All the methods that are virtual are virtual for mocking.