Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
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;
34 };
35 
36 } // namespace shaka
37 
38 #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
double time_shift_buffer_depth
Definition: hls_params.h:33
std::string base_url
Definition: hls_params.h:30
HlsPlaylistType playlist_type
HLS playlist type. See HLS specification for details.
Definition: hls_params.h:25