Shaka Packager SDK
hls_params.h
1 // Copyright 2017 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 PACKAGER_HLS_PUBLIC_HLS_PARAMS_H_
8 #define PACKAGER_HLS_PUBLIC_HLS_PARAMS_H_
9 
10 #include <string>
11 
12 namespace shaka {
13 
16 enum class HlsPlaylistType {
17  kVod,
18  kEvent,
19  kLive,
20 };
21 
23 struct HlsParams {
25  HlsPlaylistType playlist_type = HlsPlaylistType::kVod;
30  std::string base_url;
33  double time_shift_buffer_depth = 0;
37  std::string key_uri;
41  std::string default_language;
42 };
43 
44 } // namespace shaka
45 
46 #endif // PACKAGER_HLS_PUBLIC_HLS_PARAMS_H_
std::string master_playlist_output
HLS master playlist output path.
Definition: hls_params.h:27
HlsPlaylistType
Definition: hls_params.h:16
HLS related parameters.
Definition: hls_params.h:23
All the methods that are virtual are virtual for mocking.
std::string default_language
Definition: hls_params.h:41
std::string base_url
Definition: hls_params.h:30
std::string key_uri
Definition: hls_params.h:37