DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
mpd_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 MPD_BASE_MPD_OPTIONS_H_
8 #define MPD_BASE_MPD_OPTIONS_H_
9 
10 #include <string>
11 
12 #include "packager/version/version.h"
13 
14 namespace shaka {
15 
17 struct MpdOptions {
18  MpdOptions()
19  : availability_time_offset(0),
20  minimum_update_period(0),
21  // TODO(tinskip): Set min_buffer_time in unit tests rather than here.
22  min_buffer_time(2.0),
23  time_shift_buffer_depth(0),
24  suggested_presentation_delay(0),
25  packager_version_string(kPackagerVersion) {}
26 
27  ~MpdOptions() {};
28 
29  double availability_time_offset;
30  double minimum_update_period;
31  double min_buffer_time;
32  double time_shift_buffer_depth;
33  double suggested_presentation_delay;
34  std::string packager_version_string;
35 };
36 
37 } // namespace shaka
38 
39 #endif // MPD_BASE_MPD_OPTIONS_H_
40 
Defines Mpd Options.
Definition: mpd_options.h:17