Shaka Packager SDK
muxer_options.h
1 // Copyright 2014 Google Inc. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
8 #define PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
9 
10 #include <stdint.h>
11 
12 #include <string>
13 
14 #include "packager/media/public/mp4_output_params.h"
15 
16 namespace shaka {
17 namespace media {
18 
20 struct MuxerOptions {
21  MuxerOptions();
22  ~MuxerOptions();
23 
26 
30  std::string output_file_name;
31 
37  size_t output_file_index = 0;
38 
43  std::string segment_template;
44 
46  std::string temp_dir;
47 
50  uint32_t bandwidth = 0;
51 };
52 
53 } // namespace media
54 } // namespace shaka
55 
56 #endif // PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
All the methods that are virtual are virtual for mocking.
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:20
MP4 (ISO-BMFF) output related parameters.
Mp4OutputParams mp4_params
MP4 (ISO-BMFF) specific parameters.
Definition: muxer_options.h:25
std::string temp_dir
Specify temporary directory for intermediate files.
Definition: muxer_options.h:46