Shaka Packager SDK
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/mpd/public/mpd_params.h"
13 
14 namespace shaka {
15 
16 enum class DashProfile {
17  kUnknown,
18  kOnDemand,
19  kLive,
20 };
21 
22 enum class MpdType { kStatic, kDynamic };
23 
25 struct MpdOptions {
26  DashProfile dash_profile = DashProfile::kOnDemand;
27  MpdType mpd_type = MpdType::kStatic;
28  MpdParams mpd_params;
29 };
30 
31 } // namespace shaka
32 
33 #endif // MPD_BASE_MPD_OPTIONS_H_
DASH MPD related parameters.
Definition: mpd_params.h:16
All the methods that are virtual are virtual for mocking.
Defines Mpd Options.
Definition: mpd_options.h:25