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 namespace shaka {
13 
15 struct MpdOptions {
16  MpdOptions()
17  : availability_time_offset(0),
18  minimum_update_period(0),
19  // TODO(tinskip): Set min_buffer_time in unit tests rather than here.
20  min_buffer_time(2.0),
21  time_shift_buffer_depth(0),
22  suggested_presentation_delay(0) {}
23 
24  ~MpdOptions() {};
25 
26  double availability_time_offset;
27  double minimum_update_period;
28  double min_buffer_time;
29  double time_shift_buffer_depth;
30  double suggested_presentation_delay;
31 };
32 
33 } // namespace shaka
34 
35 #endif // MPD_BASE_MPD_OPTIONS_H_
36 
Defines Mpd Options.
Definition: mpd_options.h:15