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 GetMuxerOptions(MuxerOptions* muxer_options);
49 bool GetMpdOptions(
bool on_demand_profile, MpdOptions* mpd_options);
60 bool AddStreamToMuxer(
const std::vector<std::unique_ptr<MediaStream>>& streams,
61 const std::string& stream_selector,
62 const std::string& language_override,
68 #endif // APP_PACKAGER_UTIL_H_