10 #ifndef MPD_BASE_MPD_NOTIFIER_UTIL_H_ 11 #define MPD_BASE_MPD_NOTIFIER_UTIL_H_ 16 #include "packager/base/base64.h" 17 #include "packager/mpd/base/media_info.pb.h" 18 #include "packager/mpd/base/mpd_builder.h" 32 bool WriteMpdToFile(
const std::string& output_path, MpdBuilder* mpd_builder);
44 #endif // MPD_BASE_MPD_NOTIFIER_UTIL_H_ All the methods that are virtual are virtual for mocking.
std::string Uint8VectorToBase64(const std::vector< uint8_t > &input)
Converts uint8 vector into base64 encoded string.
ContentType GetContentType(const MediaInfo &media_info)
bool WriteMpdToFile(const std::string &output_path, MpdBuilder *mpd_builder)