9 #ifndef APP_PACKAGER_UTIL_H_
10 #define APP_PACKAGER_UTIL_H_
12 #include <gflags/gflags.h>
17 DECLARE_bool(dump_stream_info);
31 void DumpStreamInfo(
const std::vector<std::unique_ptr<MediaStream>>& streams);
37 std::unique_ptr<KeySource> CreateEncryptionKeySource();
43 std::unique_ptr<KeySource> CreateDecryptionKeySource();
46 bool AssignFlagsFromProfile();
49 bool GetMuxerOptions(MuxerOptions* muxer_options);
52 bool GetMpdOptions(MpdOptions* mpd_options);
63 bool AddStreamToMuxer(
const std::vector<std::unique_ptr<MediaStream>>& streams,
64 const std::string& stream_selector,
65 const std::string& language_override,
71 #endif // APP_PACKAGER_UTIL_H_