7 #ifndef PACKAGER_HLS_BASE_MASTER_PLAYLIST_H_
8 #define PACKAGER_HLS_BASE_MASTER_PLAYLIST_H_
29 const std::string& default_audio_language,
30 const std::string& default_text_language,
31 const bool is_independent_segments,
32 const bool create_session_keys =
false);
45 const std::string& output_dir,
46 const std::list<MediaPlaylist*>& playlists);
52 std::string written_playlist_;
53 const std::filesystem::path file_name_;
54 const std::string default_audio_language_;
55 const std::string default_text_language_;
56 bool is_independent_segments_;
57 bool create_session_keys_;
virtual bool WriteMasterPlaylist(const std::string &base_url, const std::string &output_dir, const std::list< MediaPlaylist * > &playlists)
MasterPlaylist(const std::filesystem::path &file_name, const std::string &default_audio_language, const std::string &default_text_language, const bool is_independent_segments, const bool create_session_keys=false)
All the methods that are virtual are virtual for mocking.