9 #ifndef PACKAGER_APP_PACKAGER_UTIL_H_ 10 #define PACKAGER_APP_PACKAGER_UTIL_H_ 15 #include "packager/media/base/fourccs.h" 20 struct DecryptionParams;
21 struct EncryptionParams;
36 std::unique_ptr<KeySource> CreateEncryptionKeySource(
37 FourCC protection_scheme,
38 const EncryptionParams& encryption_params);
44 std::unique_ptr<KeySource> CreateDecryptionKeySource(
45 const DecryptionParams& decryption_params);
48 MpdOptions GetMpdOptions(
bool on_demand_profile,
49 const MpdParams& mpd_params,
50 double target_segment_duration);
55 #endif // PACKAGER_APP_PACKAGER_UTIL_H_ All the methods that are virtual are virtual for mocking.