9 #ifndef PACKAGER_APP_PACKAGER_UTIL_H_
10 #define PACKAGER_APP_PACKAGER_UTIL_H_
12 #include <gflags/gflags.h>
16 #include "packager/media/base/fourccs.h"
18 DECLARE_bool(dump_stream_info);
29 struct ChunkingOptions;
30 struct EncryptionOptions;
39 std::unique_ptr<KeySource> CreateEncryptionKeySource(FourCC protection_scheme);
45 std::unique_ptr<KeySource> CreateDecryptionKeySource();
48 ChunkingOptions GetChunkingOptions();
51 EncryptionOptions GetEncryptionOptions();
54 MuxerOptions GetMuxerOptions();
57 MpdOptions GetMpdOptions(
bool on_demand_profile);
63 Status ConnectHandlers(std::vector<std::shared_ptr<MediaHandler>>& handlers);
68 #endif // PACKAGER_APP_PACKAGER_UTIL_H_