9 #ifndef PACKAGER_APP_PACKAGER_UTIL_H_
10 #define PACKAGER_APP_PACKAGER_UTIL_H_
12 #include <gflags/gflags.h>
16 DECLARE_bool(dump_stream_info);
27 struct ChunkingOptions;
28 struct EncryptionOptions;
35 std::unique_ptr<KeySource> CreateEncryptionKeySource();
41 std::unique_ptr<KeySource> CreateDecryptionKeySource();
44 ChunkingOptions GetChunkingOptions();
47 EncryptionOptions GetEncryptionOptions();
50 MuxerOptions GetMuxerOptions();
53 MpdOptions GetMpdOptions(
bool on_demand_profile);
59 Status ConnectHandlers(std::vector<std::shared_ptr<MediaHandler>>& handlers);
64 #endif // PACKAGER_APP_PACKAGER_UTIL_H_