Shaka Packager SDK
Public Attributes | List of all members
shaka::HlsParams Struct Reference

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
 
std::string key_uri
 
std::string default_language
 

Detailed Description

HLS related parameters.

Definition at line 23 of file hls_params.h.

Member Data Documentation

◆ base_url

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.

◆ default_language

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 41 of file hls_params.h.

◆ key_uri

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 37 of file hls_params.h.

◆ time_shift_buffer_depth

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.


The documentation for this struct was generated from the following file: