2022-08-26 15:44:59 +00:00
|
|
|
// Copyright 2014 Google LLC. All rights reserved.
|
2014-12-13 00:13:48 +00:00
|
|
|
//
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file or at
|
|
|
|
// https://developers.google.com/open-source/licenses/bsd
|
|
|
|
|
|
|
|
#ifndef MPD_BASE_MPD_OPTIONS_H_
|
|
|
|
#define MPD_BASE_MPD_OPTIONS_H_
|
|
|
|
|
2015-12-21 23:10:17 +00:00
|
|
|
#include <string>
|
|
|
|
|
2017-07-27 18:49:50 +00:00
|
|
|
#include "packager/mpd/public/mpd_params.h"
|
|
|
|
|
2016-05-20 21:19:33 +00:00
|
|
|
namespace shaka {
|
2014-12-13 00:13:48 +00:00
|
|
|
|
2016-12-21 23:28:56 +00:00
|
|
|
enum class DashProfile {
|
|
|
|
kUnknown,
|
|
|
|
kOnDemand,
|
|
|
|
kLive,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum class MpdType { kStatic, kDynamic };
|
|
|
|
|
2014-12-13 00:13:48 +00:00
|
|
|
/// Defines Mpd Options.
|
|
|
|
struct MpdOptions {
|
2016-12-21 23:28:56 +00:00
|
|
|
DashProfile dash_profile = DashProfile::kOnDemand;
|
|
|
|
MpdType mpd_type = MpdType::kStatic;
|
2017-07-27 18:49:50 +00:00
|
|
|
MpdParams mpd_params;
|
2014-12-13 00:13:48 +00:00
|
|
|
};
|
|
|
|
|
2016-05-20 21:19:33 +00:00
|
|
|
} // namespace shaka
|
2014-12-13 00:13:48 +00:00
|
|
|
|
|
|
|
#endif // MPD_BASE_MPD_OPTIONS_H_
|