7 #ifndef PACKAGER_APP_MUXER_FACTORY_H_
8 #define PACKAGER_APP_MUXER_FACTORY_H_
13 #include <packager/media/base/container_names.h>
14 #include <packager/mp4_output_params.h>
15 #include <packager/mpd/base/mpd_builder.h>
18 struct PackagingParams;
19 struct StreamDescriptor;
35 std::shared_ptr<Muxer>
CreateMuxer(MediaContainerName output_format,
36 const StreamDescriptor& stream);
42 void SetTsStreamOffset(int32_t offset_ms) {
43 transport_stream_timestamp_offset_ms_ = offset_ms;
50 const Mp4OutputParams mp4_params_;
51 const std::string temp_dir_;
52 int32_t transport_stream_timestamp_offset_ms_ = 0;
53 std::shared_ptr<Clock> clock_ =
nullptr;
All the methods that are virtual are virtual for mocking.