Shaka Packager SDK
mpd_params.h
1 // Copyright 2017 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_MPD_PUBLIC_MPD_PARAMS_H_
8 #define PACKAGER_MPD_PUBLIC_MPD_PARAMS_H_
9 
10 #include <string>
11 #include <vector>
12 
13 namespace shaka {
14 
16 struct MpdParams {
18  std::string mpd_output;
21  std::vector<std::string> base_urls;
27  double min_buffer_time = 2.0;
38  static constexpr double kSuggestedPresentationDelayNotSet = 0;
39  double suggested_presentation_delay = kSuggestedPresentationDelayNotSet;
46  std::string default_language;
49 };
50 
51 } // namespace shaka
52 
53 #endif // PACKAGER_MPD_PUBLIC_MPD_PARAMS_H_
DASH MPD related parameters.
Definition: mpd_params.h:16
double min_buffer_time
Definition: mpd_params.h:27
std::string default_language
Definition: mpd_params.h:46
bool generate_dash_if_iop_compliant_mpd
Try to generate DASH-IF IOP compliant MPD.
Definition: mpd_params.h:48
bool generate_static_live_mpd
Definition: mpd_params.h:30
All the methods that are virtual are virtual for mocking.
static constexpr double kSuggestedPresentationDelayNotSet
Definition: mpd_params.h:38
std::string mpd_output
MPD output file path.
Definition: mpd_params.h:18
std::vector< std::string > base_urls
Definition: mpd_params.h:21
double minimum_update_period
Definition: mpd_params.h:42
double time_shift_buffer_depth
Definition: mpd_params.h:33