7 #ifndef PACKAGER_MEDIA_FORMATS_MP4_FRAGMENTER_H_
8 #define PACKAGER_MEDIA_FORMATS_MP4_FRAGMENTER_H_
13 #include "packager/media/base/status.h"
14 #include "packager/media/formats/mp4/box_definitions.h"
15 #include "packager/media/formats/webvtt/webvtt_media_parser.h"
24 void AppendBoxToVector(Box* box, std::vector<uint8_t>* output_vector);
66 void PushSample(std::shared_ptr<MediaSample> sample);
89 bool HandleAllCuesButLatest();
100 bool SweepCues(uint64_t sweep_line, uint64_t sweep_stop_time);
104 std::list<Cue> cues_;
107 std::list<VTTAdditionalTextBox> additional_texts_;
110 std::list<std::shared_ptr<MediaSample>> ready_samples_;
115 uint64_t next_cue_start_time_;
124 #endif // PACKAGER_MEDIA_FORMATS_MP4_FRAGMENTER_H_