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