Shaka Packager SDK
|
HLS related parameters. More...
#include <hls_params.h>
Public Attributes | |
HlsPlaylistType | playlist_type = HlsPlaylistType::kVod |
HLS playlist type. See HLS specification for details. | |
std::string | master_playlist_output |
HLS master playlist output path. | |
std::string | base_url |
double | time_shift_buffer_depth = 0 |
size_t | preserved_segments_outside_live_window = 0 |
std::string | key_uri |
std::string | default_language |
HLS related parameters.
Definition at line 23 of file hls_params.h.
std::string shaka::HlsParams::base_url |
The base URL for the Media Playlists and media files listed in the playlists. This is the prefix for the files.
Definition at line 30 of file hls_params.h.
std::string shaka::HlsParams::default_language |
The renditions tagged with this language will have 'DEFAULT' set to 'YES' in 'EXT-X-MEDIA' tag. This allows the player to choose the correct default language for the content.
Definition at line 48 of file hls_params.h.
std::string shaka::HlsParams::key_uri |
Defines the key uri for "identity" and "com.apple.streamingkeydelivery" key formats. Ignored if the playlist is not encrypted or not using the above key formats.
Definition at line 44 of file hls_params.h.
size_t shaka::HlsParams::preserved_segments_outside_live_window = 0 |
Segments outside the live window (defined by 'time_shift_buffer_depth' above) are automatically removed except for the most recent X segments defined by this parameter. This is needed to accommodate latencies in various stages of content serving pipeline, so that the segments stay accessible as they may still be accessed by the player. The segments are not removed if the value is zero.
Definition at line 40 of file hls_params.h.
double shaka::HlsParams::time_shift_buffer_depth = 0 |
Defines the live window, or the guaranteed duration of the time shifting buffer for 'live' playlists.
Definition at line 33 of file hls_params.h.