shaka-packager/html/library_details.html

1039 lines
149 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<title>Shaka Packager Library (Continued) &#8212; Shaka Packager documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/sphinxdoc_new.css" />
<link rel="stylesheet" type="text/css" href="_static/graphviz.css" />
<link rel="stylesheet" type="text/css" href="_static/table_styling.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Media Encoding" href="tutorials/encoding.html" />
<link rel="prev" title="Using Docker" href="docker_instructions.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="tutorials/encoding.html" title="Media Encoding"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="docker_instructions.html" title="Using Docker"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Shaka Packager documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Shaka Packager Library (Continued)</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="shaka-packager-library-continued">
<h1>Shaka Packager Library (Continued)<a class="headerlink" href="#shaka-packager-library-continued" title="Permalink to this headline"></a></h1>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParamsE">
<span id="_CPPv3N5shaka15PackagingParamsE"></span><span id="_CPPv2N5shaka15PackagingParamsE"></span><span id="shaka::PackagingParams"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">PackagingParams</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParamsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Packaging parameters. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParams8temp_dirE">
<span id="_CPPv3N5shaka15PackagingParams8temp_dirE"></span><span id="_CPPv2N5shaka15PackagingParams8temp_dirE"></span><span id="shaka::PackagingParams::temp_dir__ss"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams_1ae179e88ad853856b0e006326ff445f6e"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">temp_dir</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParams8temp_dirE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Specify temporary directory for intermediate temporary files. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParams17mp4_output_paramsE">
<span id="_CPPv3N5shaka15PackagingParams17mp4_output_paramsE"></span><span id="_CPPv2N5shaka15PackagingParams17mp4_output_paramsE"></span><span id="shaka::PackagingParams::mp4_output_params__Mp4OutputParams"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams_1a794072e13c04de6b98e5d1e7cc5b57d6"></span><a class="reference internal" href="#_CPPv4N5shaka15Mp4OutputParamsE" title="shaka::Mp4OutputParams"><span class="n"><span class="pre">Mp4OutputParams</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">mp4_output_params</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParams17mp4_output_paramsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>MP4 (ISO-BMFF) output related parameters. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParams36transport_stream_timestamp_offset_msE">
<span id="_CPPv3N5shaka15PackagingParams36transport_stream_timestamp_offset_msE"></span><span id="_CPPv2N5shaka15PackagingParams36transport_stream_timestamp_offset_msE"></span><span id="shaka::PackagingParams::transport_stream_timestamp_offset_ms__uint32_t"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams_1aa2c8c5254f14048368edb652dd329556"></span><span class="n"><span class="pre">uint32_t</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">transport_stream_timestamp_offset_ms</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParams36transport_stream_timestamp_offset_msE" title="Permalink to this definition"></a><br /></dt>
<dd><p>The offset to be applied to transport stream (e.g. MPEG2-TS, HLS packed audio) timestamps to compensate for possible negative timestamps in the input. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParams15chunking_paramsE">
<span id="_CPPv3N5shaka15PackagingParams15chunking_paramsE"></span><span id="_CPPv2N5shaka15PackagingParams15chunking_paramsE"></span><span id="shaka::PackagingParams::chunking_params__ChunkingParams"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams_1ac992ff58f67ad9b737dfc62d517be8ed"></span><a class="reference internal" href="#_CPPv4N5shaka14ChunkingParamsE" title="shaka::ChunkingParams"><span class="n"><span class="pre">ChunkingParams</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">chunking_params</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParams15chunking_paramsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Chunking (segmentation) related parameters. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParams23ad_cue_generator_paramsE">
<span id="_CPPv3N5shaka15PackagingParams23ad_cue_generator_paramsE"></span><span id="_CPPv2N5shaka15PackagingParams23ad_cue_generator_paramsE"></span><span id="shaka::PackagingParams::ad_cue_generator_params__AdCueGeneratorParams"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams_1aa52d546c86b3b36234bcfc0cd50ef083"></span><span class="n"><span class="pre">AdCueGeneratorParams</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">ad_cue_generator_params</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParams23ad_cue_generator_paramsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Out of band cuepoint parameters. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParams17output_media_infoE">
<span id="_CPPv3N5shaka15PackagingParams17output_media_infoE"></span><span id="_CPPv2N5shaka15PackagingParams17output_media_infoE"></span><span id="shaka::PackagingParams::output_media_info__b"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams_1a9206160a0fb92a9e9ee27fd8e9725ea1"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">output_media_info</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">false</span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParams17output_media_infoE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Create a human readable format of MediaInfo. The output file name will be the name specified by output flag, suffixed with <code class="docutils literal notranslate"><span class="pre">.media_info</span></code>. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParams15single_threadedE">
<span id="_CPPv3N5shaka15PackagingParams15single_threadedE"></span><span id="_CPPv2N5shaka15PackagingParams15single_threadedE"></span><span id="shaka::PackagingParams::single_threaded__b"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams_1af3fef4c5d477496c5e99b59c99b5a7db"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">single_threaded</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">false</span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParams15single_threadedE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Only use a single thread to generate output. This is useful in tests to avoid non-deterministic outputs. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParams10mpd_paramsE">
<span id="_CPPv3N5shaka15PackagingParams10mpd_paramsE"></span><span id="_CPPv2N5shaka15PackagingParams10mpd_paramsE"></span><span id="shaka::PackagingParams::mpd_params__MpdParams"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams_1acfa10a8e9c877a3c2baf83525837a254"></span><a class="reference internal" href="#_CPPv4N5shaka9MpdParamsE" title="shaka::MpdParams"><span class="n"><span class="pre">MpdParams</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">mpd_params</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParams10mpd_paramsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>DASH MPD related parameters. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParams10hls_paramsE">
<span id="_CPPv3N5shaka15PackagingParams10hls_paramsE"></span><span id="_CPPv2N5shaka15PackagingParams10hls_paramsE"></span><span id="shaka::PackagingParams::hls_params__HlsParams"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams_1a88e4e2cc444fb79b8e35075dd5a20fbe"></span><a class="reference internal" href="#_CPPv4N5shaka9HlsParamsE" title="shaka::HlsParams"><span class="n"><span class="pre">HlsParams</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">hls_params</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParams10hls_paramsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>HLS related parameters. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParams17encryption_paramsE">
<span id="_CPPv3N5shaka15PackagingParams17encryption_paramsE"></span><span id="_CPPv2N5shaka15PackagingParams17encryption_paramsE"></span><span id="shaka::PackagingParams::encryption_params__EncryptionParams"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams_1a7792bf4a71a35d2a3f99d8b4806a3913"></span><a class="reference internal" href="#_CPPv4N5shaka16EncryptionParamsE" title="shaka::EncryptionParams"><span class="n"><span class="pre">EncryptionParams</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">encryption_params</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParams17encryption_paramsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Encryption and Decryption Parameters. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15PackagingParams22buffer_callback_paramsE">
<span id="_CPPv3N5shaka15PackagingParams22buffer_callback_paramsE"></span><span id="_CPPv2N5shaka15PackagingParams22buffer_callback_paramsE"></span><span id="shaka::PackagingParams::buffer_callback_params__BufferCallbackParams"></span><span class="target" id="d5/de3/structshaka_1_1PackagingParams_1aaaf233248e46b6ff3285bbac87857f81"></span><span class="n"><span class="pre">BufferCallbackParams</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">buffer_callback_params</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15PackagingParams22buffer_callback_paramsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Buffer callback params. </p>
</dd></dl>
</div>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptorE">
<span id="_CPPv3N5shaka16StreamDescriptorE"></span><span id="_CPPv2N5shaka16StreamDescriptorE"></span><span id="shaka::StreamDescriptor"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">StreamDescriptor</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptorE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Defines a single input/output stream. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor5inputE">
<span id="_CPPv3N5shaka16StreamDescriptor5inputE"></span><span id="_CPPv2N5shaka16StreamDescriptor5inputE"></span><span id="shaka::StreamDescriptor::input__ss"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1ae86324b838baa66dbab9a3d35352e200"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">input</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor5inputE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Input/source media file path or network stream URL. Required. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor15stream_selectorE">
<span id="_CPPv3N5shaka16StreamDescriptor15stream_selectorE"></span><span id="_CPPv2N5shaka16StreamDescriptor15stream_selectorE"></span><span id="shaka::StreamDescriptor::stream_selector__ss"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a386c5e3717b5f982f72698abba09df2c"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">stream_selector</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor15stream_selectorE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Stream selector, can be <code class="docutils literal notranslate"><span class="pre">audio</span></code>, <code class="docutils literal notranslate"><span class="pre">video</span></code>, <code class="docutils literal notranslate"><span class="pre">text</span></code> or a zero based stream index. Required. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor6outputE">
<span id="_CPPv3N5shaka16StreamDescriptor6outputE"></span><span id="_CPPv2N5shaka16StreamDescriptor6outputE"></span><span id="shaka::StreamDescriptor::output__ss"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a08ce812991297de47354b99cdaec5415"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">output</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor6outputE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Specifies output file path or init segment path (if segment template is specified). Can be empty for self initialization media segments. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor16segment_templateE">
<span id="_CPPv3N5shaka16StreamDescriptor16segment_templateE"></span><span id="_CPPv2N5shaka16StreamDescriptor16segment_templateE"></span><span id="shaka::StreamDescriptor::segment_template__ss"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1af3e55c8970e8a7604ca79a98f4642872"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">segment_template</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor16segment_templateE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Specifies segment template. Can be empty. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor13output_formatE">
<span id="_CPPv3N5shaka16StreamDescriptor13output_formatE"></span><span id="_CPPv2N5shaka16StreamDescriptor13output_formatE"></span><span id="shaka::StreamDescriptor::output_format__ss"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a025d9a9a1612654da2b0c99fe81378db"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">output_format</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor13output_formatE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Optional value which specifies output container format, e.g. “mp4”. If not specified, will detect from output / segment template name. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor15skip_encryptionE">
<span id="_CPPv3N5shaka16StreamDescriptor15skip_encryptionE"></span><span id="_CPPv2N5shaka16StreamDescriptor15skip_encryptionE"></span><span id="shaka::StreamDescriptor::skip_encryption__b"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1abbaf07b1faa84803478f89bc6dd8cb4a"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">skip_encryption</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">false</span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor15skip_encryptionE" title="Permalink to this definition"></a><br /></dt>
<dd><p>If set to true, the stream will not be encrypted. This is useful, e.g. to encrypt only video streams. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor9drm_labelE">
<span id="_CPPv3N5shaka16StreamDescriptor9drm_labelE"></span><span id="_CPPv2N5shaka16StreamDescriptor9drm_labelE"></span><span id="shaka::StreamDescriptor::drm_label__ss"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a8f2a517450433cf69bbc87cef17d05cf"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">drm_label</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor9drm_labelE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Specifies a custom DRM stream label, which can be a DRM label defined by the DRM system. Typically values include AUDIO, SD, HD, UHD1, UHD2. If not provided, the DRM stream label is derived from stream type (video, audio), resolutions etc. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor17trick_play_factorE">
<span id="_CPPv3N5shaka16StreamDescriptor17trick_play_factorE"></span><span id="_CPPv2N5shaka16StreamDescriptor17trick_play_factorE"></span><span id="shaka::StreamDescriptor::trick_play_factor__uint32_t"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a5cc00f367691729460e0b75b8ec6c512"></span><span class="n"><span class="pre">uint32_t</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">trick_play_factor</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor17trick_play_factorE" title="Permalink to this definition"></a><br /></dt>
<dd><p>If set to a non-zero value, will generate a trick play / trick mode stream with frames sampled from the key frames in the original stream. <code class="docutils literal notranslate"><span class="pre">trick_play_factor</span></code> defines the sampling rate. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor9bandwidthE">
<span id="_CPPv3N5shaka16StreamDescriptor9bandwidthE"></span><span id="_CPPv2N5shaka16StreamDescriptor9bandwidthE"></span><span id="shaka::StreamDescriptor::bandwidth__uint32_t"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a9bcce2ca86a33f41803f7a6417a2758c"></span><span class="n"><span class="pre">uint32_t</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">bandwidth</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor9bandwidthE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Optional user-specified content bit rate for the stream, in bits/sec. If specified, this value is propagated to the <code class="docutils literal notranslate"><span class="pre">$Bandwidth$</span></code> template parameter for segment names. If not specified, its value may be estimated. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor8languageE">
<span id="_CPPv3N5shaka16StreamDescriptor8languageE"></span><span id="_CPPv2N5shaka16StreamDescriptor8languageE"></span><span id="shaka::StreamDescriptor::language__ss"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1af2e3479d90070a03a801ecc5a3d35d7e"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">language</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor8languageE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Optional value which contains a user-specified language tag. If specified, this value overrides any language metadata in the input stream. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor8cc_indexE">
<span id="_CPPv3N5shaka16StreamDescriptor8cc_indexE"></span><span id="_CPPv2N5shaka16StreamDescriptor8cc_indexE"></span><span id="shaka::StreamDescriptor::cc_index__int32_t"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a3ab51319dcdbd7457aa92608460a21cf"></span><span class="n"><span class="pre">int32_t</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">cc_index</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="o"><span class="pre">-</span></span><span class="m"><span class="pre">1</span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor8cc_indexE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Optional value for the index of the sub-stream to use. For some text formats, there are multiple “channels” in a single stream. This allows selecting only one channel. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor8hls_nameE">
<span id="_CPPv3N5shaka16StreamDescriptor8hls_nameE"></span><span id="_CPPv2N5shaka16StreamDescriptor8hls_nameE"></span><span id="shaka::StreamDescriptor::hls_name__ss"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a92efcc01f52430f3d3ec030beb8c65c7"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">hls_name</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor8hls_nameE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Required for audio when outputting HLS. It defines the name of the output stream, which is not necessarily the same as output. This is used as the <code class="docutils literal notranslate"><span class="pre">NAME</span></code> attribute for EXT-X-MEDIA. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor12hls_group_idE">
<span id="_CPPv3N5shaka16StreamDescriptor12hls_group_idE"></span><span id="_CPPv2N5shaka16StreamDescriptor12hls_group_idE"></span><span id="shaka::StreamDescriptor::hls_group_id__ss"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a25764b4ffa8cb0da3b88cc251928ad96"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">hls_group_id</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor12hls_group_idE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Required for audio when outputting HLS. It defines the group ID for the output stream. This is used as the GROUP-ID attribute for EXT-X-MEDIA. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor17hls_playlist_nameE">
<span id="_CPPv3N5shaka16StreamDescriptor17hls_playlist_nameE"></span><span id="_CPPv2N5shaka16StreamDescriptor17hls_playlist_nameE"></span><span id="shaka::StreamDescriptor::hls_playlist_name__ss"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1aa0d36cf55c46def14bc2fa6c293859ef"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">hls_playlist_name</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor17hls_playlist_nameE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Required for HLS output. It defines the name of the playlist for the stream. Usually ends with <code class="docutils literal notranslate"><span class="pre">.m3u8</span></code>. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor24hls_iframe_playlist_nameE">
<span id="_CPPv3N5shaka16StreamDescriptor24hls_iframe_playlist_nameE"></span><span id="_CPPv2N5shaka16StreamDescriptor24hls_iframe_playlist_nameE"></span><span id="shaka::StreamDescriptor::hls_iframe_playlist_name__ss"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a05f0489a76ea049bc8c9f144b4189591"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">hls_iframe_playlist_name</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor24hls_iframe_playlist_nameE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Optional for HLS output. It defines the name of the I-Frames only playlist for the stream. For Video only. Usually ends with <code class="docutils literal notranslate"><span class="pre">.m3u8</span></code>. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor19hls_characteristicsE">
<span id="_CPPv3N5shaka16StreamDescriptor19hls_characteristicsE"></span><span id="_CPPv2N5shaka16StreamDescriptor19hls_characteristicsE"></span><span id="shaka::StreamDescriptor::hls_characteristics__std::vector:ss:"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1ac10d35524ea73cc860a3f027181dc627"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">vector</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">hls_characteristics</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor19hls_characteristicsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Optional for HLS output. It defines the CHARACTERISTICS attribute of the stream. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor19dash_accessiblitiesE">
<span id="_CPPv3N5shaka16StreamDescriptor19dash_accessiblitiesE"></span><span id="_CPPv2N5shaka16StreamDescriptor19dash_accessiblitiesE"></span><span id="shaka::StreamDescriptor::dash_accessiblities__std::vector:ss:"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a03bb87af04ca55f1cc83221fa4f3efdc"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">vector</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">dash_accessiblities</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor19dash_accessiblitiesE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Optional for DASH output. It defines Accessibility elements of the stream. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor10dash_rolesE">
<span id="_CPPv3N5shaka16StreamDescriptor10dash_rolesE"></span><span id="_CPPv2N5shaka16StreamDescriptor10dash_rolesE"></span><span id="shaka::StreamDescriptor::dash_roles__std::vector:ss:"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a14f5522df8e5a06fa9e0f7852efdfca0"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">vector</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">dash_roles</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor10dash_rolesE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Optional for DASH output. It defines Role elements of the stream. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor9dash_onlyE">
<span id="_CPPv3N5shaka16StreamDescriptor9dash_onlyE"></span><span id="_CPPv2N5shaka16StreamDescriptor9dash_onlyE"></span><span id="shaka::StreamDescriptor::dash_only__b"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a2dc5c175f1c9ffd32d8014b8f3163696"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">dash_only</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">false</span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor9dash_onlyE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Set to true to indicate that the stream is for dash only. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16StreamDescriptor8hls_onlyE">
<span id="_CPPv3N5shaka16StreamDescriptor8hls_onlyE"></span><span id="_CPPv2N5shaka16StreamDescriptor8hls_onlyE"></span><span id="shaka::StreamDescriptor::hls_only__b"></span><span class="target" id="d2/d7b/structshaka_1_1StreamDescriptor_1a7268e685cd7673fa3fc9a3b36040c1b5"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">hls_only</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">false</span></span><a class="headerlink" href="#_CPPv4N5shaka16StreamDescriptor8hls_onlyE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Set to true to indicate that the stream is for hls only. </p>
</dd></dl>
</div>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15Mp4OutputParamsE">
<span id="_CPPv3N5shaka15Mp4OutputParamsE"></span><span id="_CPPv2N5shaka15Mp4OutputParamsE"></span><span id="shaka::Mp4OutputParams"></span><span class="target" id="d0/d43/structshaka_1_1Mp4OutputParams"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">Mp4OutputParams</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15Mp4OutputParamsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>MP4 (ISO-BMFF) output related parameters. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15Mp4OutputParams22include_pssh_in_streamE">
<span id="_CPPv3N5shaka15Mp4OutputParams22include_pssh_in_streamE"></span><span id="_CPPv2N5shaka15Mp4OutputParams22include_pssh_in_streamE"></span><span id="shaka::Mp4OutputParams::include_pssh_in_stream__b"></span><span class="target" id="d0/d43/structshaka_1_1Mp4OutputParams_1abdff0b6ab552e27e275d8d23cc2f60b1"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">include_pssh_in_stream</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">true</span></span><a class="headerlink" href="#_CPPv4N5shaka15Mp4OutputParams22include_pssh_in_streamE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Include pssh in the encrypted stream. CMAF and DASH-IF recommends carrying license acquisition information in the manifest and not duplicate the information in the stream. (This is not a hard requirement so we are still CMAF compatible even if pssh is included in the stream.) </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15Mp4OutputParams31generate_sidx_in_media_segmentsE">
<span id="_CPPv3N5shaka15Mp4OutputParams31generate_sidx_in_media_segmentsE"></span><span id="_CPPv2N5shaka15Mp4OutputParams31generate_sidx_in_media_segmentsE"></span><span id="shaka::Mp4OutputParams::generate_sidx_in_media_segments__b"></span><span class="target" id="d0/d43/structshaka_1_1Mp4OutputParams_1a26b0505cea21a43ca4ce963f8fa84cf3"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">generate_sidx_in_media_segments</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">true</span></span><a class="headerlink" href="#_CPPv4N5shaka15Mp4OutputParams31generate_sidx_in_media_segmentsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Indicates whether a sidx box should be generated in the media segments. Note that it is required by spec if segment_template contains $Times$ specifier. </p>
</dd></dl>
</div>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14ChunkingParamsE">
<span id="_CPPv3N5shaka14ChunkingParamsE"></span><span id="_CPPv2N5shaka14ChunkingParamsE"></span><span id="shaka::ChunkingParams"></span><span class="target" id="d2/d1f/structshaka_1_1ChunkingParams"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">ChunkingParams</span></span></span><a class="headerlink" href="#_CPPv4N5shaka14ChunkingParamsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Chunking (segmentation) related parameters. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14ChunkingParams27segment_duration_in_secondsE">
<span id="_CPPv3N5shaka14ChunkingParams27segment_duration_in_secondsE"></span><span id="_CPPv2N5shaka14ChunkingParams27segment_duration_in_secondsE"></span><span id="shaka::ChunkingParams::segment_duration_in_seconds__double"></span><span class="target" id="d2/d1f/structshaka_1_1ChunkingParams_1a01414f1502775576d68e45d172029358"></span><span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">segment_duration_in_seconds</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka14ChunkingParams27segment_duration_in_secondsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Segment duration in seconds. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14ChunkingParams30subsegment_duration_in_secondsE">
<span id="_CPPv3N5shaka14ChunkingParams30subsegment_duration_in_secondsE"></span><span id="_CPPv2N5shaka14ChunkingParams30subsegment_duration_in_secondsE"></span><span id="shaka::ChunkingParams::subsegment_duration_in_seconds__double"></span><span class="target" id="d2/d1f/structshaka_1_1ChunkingParams_1ae303f5bf58edbb231b0cfbbf9c4e05d7"></span><span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">subsegment_duration_in_seconds</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka14ChunkingParams30subsegment_duration_in_secondsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Subsegment duration in seconds. Should not be larger than the segment duration. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14ChunkingParams19segment_sap_alignedE">
<span id="_CPPv3N5shaka14ChunkingParams19segment_sap_alignedE"></span><span id="_CPPv2N5shaka14ChunkingParams19segment_sap_alignedE"></span><span id="shaka::ChunkingParams::segment_sap_aligned__b"></span><span class="target" id="d2/d1f/structshaka_1_1ChunkingParams_1a1ab10c82260dc073fb3830efcdabb171"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">segment_sap_aligned</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">true</span></span><a class="headerlink" href="#_CPPv4N5shaka14ChunkingParams19segment_sap_alignedE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Force segments to begin with stream access points. Actual segment duration may not be exactly what is specified by segment_duration. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14ChunkingParams22subsegment_sap_alignedE">
<span id="_CPPv3N5shaka14ChunkingParams22subsegment_sap_alignedE"></span><span id="_CPPv2N5shaka14ChunkingParams22subsegment_sap_alignedE"></span><span id="shaka::ChunkingParams::subsegment_sap_aligned__b"></span><span class="target" id="d2/d1f/structshaka_1_1ChunkingParams_1afcde8cc6cf9646c78f5bf13181022aa7"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">subsegment_sap_aligned</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">true</span></span><a class="headerlink" href="#_CPPv4N5shaka14ChunkingParams22subsegment_sap_alignedE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Force subsegments to begin with stream access points. Actual subsegment duration may not be exactly what is specified by subsegment_duration. Setting to subsegment_sap_aligned to true but segment_sap_aligned to false is not allowed. </p>
</dd></dl>
</div>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParamsE">
<span id="_CPPv3N5shaka9MpdParamsE"></span><span id="_CPPv2N5shaka9MpdParamsE"></span><span id="shaka::MpdParams"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">MpdParams</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParamsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>DASH MPD related parameters. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams10mpd_outputE">
<span id="_CPPv3N5shaka9MpdParams10mpd_outputE"></span><span id="_CPPv2N5shaka9MpdParams10mpd_outputE"></span><span id="shaka::MpdParams::mpd_output__ss"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1aa6ca18997bb307d3b5fe1c9ced161ff6"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">mpd_output</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams10mpd_outputE" title="Permalink to this definition"></a><br /></dt>
<dd><p>MPD output file path. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams9base_urlsE">
<span id="_CPPv3N5shaka9MpdParams9base_urlsE"></span><span id="_CPPv2N5shaka9MpdParams9base_urlsE"></span><span id="shaka::MpdParams::base_urls__std::vector:ss:"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1a9fe508f9c56a6424fd857d43a4a69e7c"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">vector</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">base_urls</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams9base_urlsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>BaseURLs for the MPD. The values will be added as &lt;BaseURL&gt; element(s) under the &lt;MPD&gt; element. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams15min_buffer_timeE">
<span id="_CPPv3N5shaka9MpdParams15min_buffer_timeE"></span><span id="_CPPv2N5shaka9MpdParams15min_buffer_timeE"></span><span id="shaka::MpdParams::min_buffer_time__double"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1aee1510b64b9acbc17b8bfccac2e132a3"></span><span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">min_buffer_time</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">2.0</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams15min_buffer_timeE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Set MPD&#64;minBufferTime attribute, which specifies, in seconds, a common duration used in the definition of the MPD representation data rate. A client can be assured of having enough data for continous playout providing playout begins at min_buffer_time after the first bit is received. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams21minimum_update_periodE">
<span id="_CPPv3N5shaka9MpdParams21minimum_update_periodE"></span><span id="_CPPv2N5shaka9MpdParams21minimum_update_periodE"></span><span id="shaka::MpdParams::minimum_update_period__double"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1a4a5dafe570fd7e35749ce12d83ca9559"></span><span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">minimum_update_period</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams21minimum_update_periodE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Set MPD&#64;minimumUpdatePeriod attribute, which indicates to the player how often to refresh the MPD in seconds. For dynamic MPD only. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams23time_shift_buffer_depthE">
<span id="_CPPv3N5shaka9MpdParams23time_shift_buffer_depthE"></span><span id="_CPPv2N5shaka9MpdParams23time_shift_buffer_depthE"></span><span id="shaka::MpdParams::time_shift_buffer_depth__double"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1a95e4824708c8de4b882b86772f680032"></span><span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">time_shift_buffer_depth</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams23time_shift_buffer_depthE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Set MPD&#64;timeShiftBufferDepth attribute, which is the guaranteed duration of the time shifting buffer for dynamic media presentations, in seconds. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams38preserved_segments_outside_live_windowE">
<span id="_CPPv3N5shaka9MpdParams38preserved_segments_outside_live_windowE"></span><span id="_CPPv2N5shaka9MpdParams38preserved_segments_outside_live_windowE"></span><span id="shaka::MpdParams::preserved_segments_outside_live_window__s"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1a84378ed480ed2e9b8915afd9c349b458"></span><span class="n"><span class="pre">size_t</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">preserved_segments_outside_live_window</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams38preserved_segments_outside_live_windowE" title="Permalink to this definition"></a><br /></dt>
<dd><p>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. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams16default_languageE">
<span id="_CPPv3N5shaka9MpdParams16default_languageE"></span><span id="_CPPv2N5shaka9MpdParams16default_languageE"></span><span id="shaka::MpdParams::default_language__ss"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1a74df80bd74635090e97837f3a5941d73"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">default_language</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams16default_languageE" title="Permalink to this definition"></a><br /></dt>
<dd><p>The tracks tagged with this language will have &lt;Role … value=”main” /&gt; in the manifest. This allows the player to choose the correct default language for the content. This applies to both audio and text tracks. The default language for text tracks can be overriden by default_text_language. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams21default_text_languageE">
<span id="_CPPv3N5shaka9MpdParams21default_text_languageE"></span><span id="_CPPv2N5shaka9MpdParams21default_text_languageE"></span><span id="shaka::MpdParams::default_text_language__ss"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1acafb3925f5d32826a241d00f2bf09509"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">default_text_language</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams21default_text_languageE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Same as above, but this overrides the default language for text tracks, i.e. subtitles or close-captions. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams24generate_static_live_mpdE">
<span id="_CPPv3N5shaka9MpdParams24generate_static_live_mpdE"></span><span id="_CPPv2N5shaka9MpdParams24generate_static_live_mpdE"></span><span id="shaka::MpdParams::generate_static_live_mpd__b"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1ab5a09b17ee41a0960e813bd0c72bf4f6"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">generate_static_live_mpd</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">false</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams24generate_static_live_mpdE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Generate static MPD for live profile. Note that this flag has no effect for on-demand profile, in which case static MPD is always used. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams34generate_dash_if_iop_compliant_mpdE">
<span id="_CPPv3N5shaka9MpdParams34generate_dash_if_iop_compliant_mpdE"></span><span id="_CPPv2N5shaka9MpdParams34generate_dash_if_iop_compliant_mpdE"></span><span id="shaka::MpdParams::generate_dash_if_iop_compliant_mpd__b"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1aa1b2ec6746586d4981655cee62669ba2"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">generate_dash_if_iop_compliant_mpd</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">true</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams34generate_dash_if_iop_compliant_mpdE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Try to generate DASH-IF IOP compliant MPD. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams34allow_approximate_segment_timelineE">
<span id="_CPPv3N5shaka9MpdParams34allow_approximate_segment_timelineE"></span><span id="_CPPv2N5shaka9MpdParams34allow_approximate_segment_timelineE"></span><span id="shaka::MpdParams::allow_approximate_segment_timeline__b"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1af4424dc23f81ff4000584db2866f24c9"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">allow_approximate_segment_timeline</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">false</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams34allow_approximate_segment_timelineE" title="Permalink to this definition"></a><br /></dt>
<dd><p>For live profile only. If enabled, segments with close duration (i.e. with difference less than one sample) are considered to have the same duration. This enables MPD generator to generate less SegmentTimeline entries. If all segments are of the same duration except the last one, we will do further optimization to use SegmentTemplate&#64;duration instead and omit SegmentTimeline completely. Ignored if $Time$ is used in segment template, since $Time$ requires accurate Segment Timeline. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams23target_segment_durationE">
<span id="_CPPv3N5shaka9MpdParams23target_segment_durationE"></span><span id="_CPPv2N5shaka9MpdParams23target_segment_durationE"></span><span id="shaka::MpdParams::target_segment_duration__double"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1a88b8d28e263b2dcb36909869d3c2ceca"></span><span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">target_segment_duration</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams23target_segment_durationE" title="Permalink to this definition"></a><br /></dt>
<dd><p>This is the target segment duration requested by the user. The actual segment duration may be different to the target segment duration. This parameter is included here to calculate the approximate SegmentTimeline if it is enabled. It will be populated from segment duration specified in <a class="reference internal" href="#d2/d1f/structshaka_1_1ChunkingParams"><span class="std std-ref">ChunkingParams</span></a> if not specified. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams21allow_codec_switchingE">
<span id="_CPPv3N5shaka9MpdParams21allow_codec_switchingE"></span><span id="_CPPv2N5shaka9MpdParams21allow_codec_switchingE"></span><span id="shaka::MpdParams::allow_codec_switching__b"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1a6462a0b4d325e183c4f20ead905c5f49"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">allow_codec_switching</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">false</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams21allow_codec_switchingE" title="Permalink to this definition"></a><br /></dt>
<dd><p>If enabled, allow switching between different codecs, if they have the same language, media type (audio, video etc) and container type. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams16include_mspr_proE">
<span id="_CPPv3N5shaka9MpdParams16include_mspr_proE"></span><span id="_CPPv2N5shaka9MpdParams16include_mspr_proE"></span><span id="shaka::MpdParams::include_mspr_pro__b"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1a0b9e838af6d1a602e7eaee30a0a9c979"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">include_mspr_pro</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">true</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams16include_mspr_proE" title="Permalink to this definition"></a><br /></dt>
<dd><p>If enabled, PlayReady Object &lt;mspr:pro&gt; will be inserted into &lt;ContentProtection …&gt; element alongside with &lt;cenc:pssh&gt; when using PlayReady protection system. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams16use_segment_listE">
<span id="_CPPv3N5shaka9MpdParams16use_segment_listE"></span><span id="_CPPv2N5shaka9MpdParams16use_segment_listE"></span><span id="shaka::MpdParams::use_segment_list__b"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1a32f74783f0055bff430910defb2c5a3b"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">use_segment_list</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">false</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams16use_segment_listE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Uses SegmentList instead of SegmentBase. Use this if the content is huge and the total number of (sub)segment references is greater than what the sidx atom allows (65535). </p>
</dd></dl>
</div>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-static-attributes">Public Static Attributes</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams33kSuggestedPresentationDelayNotSetE">
<span id="_CPPv3N5shaka9MpdParams33kSuggestedPresentationDelayNotSetE"></span><span id="_CPPv2N5shaka9MpdParams33kSuggestedPresentationDelayNotSetE"></span><span id="shaka::MpdParams::kSuggestedPresentationDelayNotSet__double"></span><span class="target" id="df/ddc/structshaka_1_1MpdParams_1a13705544aac44c5d2065b8a842744bf0"></span><span class="k"><span class="pre">static</span></span><span class="w"> </span><span class="k"><span class="pre">constexpr</span></span><span class="w"> </span><span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kSuggestedPresentationDelayNotSet</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams33kSuggestedPresentationDelayNotSetE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Set MPD&#64;suggestedPresentationDelay attribute. For dynamic media presentations, it specifies a delay, in seconds, to be added to the media presentation time. The attribute is not set if the value is 0; the client is expected to choose a suitable value in this case. </p>
</dd></dl>
</div>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9MpdParams9UtcTimingE">
<span id="_CPPv3N5shaka9MpdParams9UtcTimingE"></span><span id="_CPPv2N5shaka9MpdParams9UtcTimingE"></span><span id="shaka::MpdParams::UtcTiming"></span><span class="target" id="d3/d6e/structshaka_1_1MpdParams_1_1UtcTiming"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">UtcTiming</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9MpdParams9UtcTimingE" title="Permalink to this definition"></a><br /></dt>
<dd><p>UTCTimings. For dynamic MPD only. </p>
</dd></dl>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9HlsParamsE">
<span id="_CPPv3N5shaka9HlsParamsE"></span><span id="_CPPv2N5shaka9HlsParamsE"></span><span id="shaka::HlsParams"></span><span class="target" id="d0/da8/structshaka_1_1HlsParams"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">HlsParams</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9HlsParamsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>HLS related parameters. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9HlsParams13playlist_typeE">
<span id="_CPPv3N5shaka9HlsParams13playlist_typeE"></span><span id="_CPPv2N5shaka9HlsParams13playlist_typeE"></span><span id="shaka::HlsParams::playlist_type__HlsPlaylistType"></span><span class="target" id="d0/da8/structshaka_1_1HlsParams_1a9bfeae8a0c112ca82830dd3f228438e6"></span><a class="reference internal" href="#_CPPv4N5shaka15HlsPlaylistTypeE" title="shaka::HlsPlaylistType"><span class="n"><span class="pre">HlsPlaylistType</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">playlist_type</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><a class="reference internal" href="#_CPPv4N5shaka15HlsPlaylistTypeE" title="shaka::HlsPlaylistType"><span class="n"><span class="pre">HlsPlaylistType</span></span></a><span class="p"><span class="pre">::</span></span><a class="reference internal" href="#_CPPv4N5shaka15HlsPlaylistType4kVodE" title="shaka::HlsPlaylistType::kVod"><span class="n"><span class="pre">kVod</span></span></a><a class="headerlink" href="#_CPPv4N5shaka9HlsParams13playlist_typeE" title="Permalink to this definition"></a><br /></dt>
<dd><p>HLS playlist type. See HLS specification for details. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9HlsParams22master_playlist_outputE">
<span id="_CPPv3N5shaka9HlsParams22master_playlist_outputE"></span><span id="_CPPv2N5shaka9HlsParams22master_playlist_outputE"></span><span id="shaka::HlsParams::master_playlist_output__ss"></span><span class="target" id="d0/da8/structshaka_1_1HlsParams_1ae3706891d39f8da72ed59d8fb13f2e30"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">master_playlist_output</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9HlsParams22master_playlist_outputE" title="Permalink to this definition"></a><br /></dt>
<dd><p>HLS master playlist output path. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9HlsParams8base_urlE">
<span id="_CPPv3N5shaka9HlsParams8base_urlE"></span><span id="_CPPv2N5shaka9HlsParams8base_urlE"></span><span id="shaka::HlsParams::base_url__ss"></span><span class="target" id="d0/da8/structshaka_1_1HlsParams_1a546dcdf68c8a0a5e188f84b5c9fca9dd"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">base_url</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9HlsParams8base_urlE" title="Permalink to this definition"></a><br /></dt>
<dd><p>The base URL for the Media Playlists and media files listed in the playlists. This is the prefix for the files. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9HlsParams23time_shift_buffer_depthE">
<span id="_CPPv3N5shaka9HlsParams23time_shift_buffer_depthE"></span><span id="_CPPv2N5shaka9HlsParams23time_shift_buffer_depthE"></span><span id="shaka::HlsParams::time_shift_buffer_depth__double"></span><span class="target" id="d0/da8/structshaka_1_1HlsParams_1adc19a9eebbfe20c3f9fe03dd452e4b1b"></span><span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">time_shift_buffer_depth</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka9HlsParams23time_shift_buffer_depthE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Defines the live window, or the guaranteed duration of the time shifting buffer for live playlists. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9HlsParams38preserved_segments_outside_live_windowE">
<span id="_CPPv3N5shaka9HlsParams38preserved_segments_outside_live_windowE"></span><span id="_CPPv2N5shaka9HlsParams38preserved_segments_outside_live_windowE"></span><span id="shaka::HlsParams::preserved_segments_outside_live_window__s"></span><span class="target" id="d0/da8/structshaka_1_1HlsParams_1aa471aaa93cb7c95996902648e376c2e6"></span><span class="n"><span class="pre">size_t</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">preserved_segments_outside_live_window</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka9HlsParams38preserved_segments_outside_live_windowE" title="Permalink to this definition"></a><br /></dt>
<dd><p>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. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9HlsParams7key_uriE">
<span id="_CPPv3N5shaka9HlsParams7key_uriE"></span><span id="_CPPv2N5shaka9HlsParams7key_uriE"></span><span id="shaka::HlsParams::key_uri__ss"></span><span class="target" id="d0/da8/structshaka_1_1HlsParams_1a68414aff0f65059c2d05c8d168aadf5f"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">key_uri</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9HlsParams7key_uriE" title="Permalink to this definition"></a><br /></dt>
<dd><p>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. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9HlsParams16default_languageE">
<span id="_CPPv3N5shaka9HlsParams16default_languageE"></span><span id="_CPPv2N5shaka9HlsParams16default_languageE"></span><span id="shaka::HlsParams::default_language__ss"></span><span class="target" id="d0/da8/structshaka_1_1HlsParams_1abeea3a7ebfe7b2d1e29b3e4445bfd113"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">default_language</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9HlsParams16default_languageE" title="Permalink to this definition"></a><br /></dt>
<dd><p>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. This applies to both audio and text tracks. The default language for text tracks can be overriden by default_text_language. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9HlsParams21default_text_languageE">
<span id="_CPPv3N5shaka9HlsParams21default_text_languageE"></span><span id="_CPPv2N5shaka9HlsParams21default_text_languageE"></span><span id="shaka::HlsParams::default_text_language__ss"></span><span class="target" id="d0/da8/structshaka_1_1HlsParams_1a77961998aa8083ec8f9e58f02521566b"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">default_text_language</span></span></span><a class="headerlink" href="#_CPPv4N5shaka9HlsParams21default_text_languageE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Same as above, but this overrides the default language for text tracks, i.e. subtitles or close-captions. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9HlsParams23target_segment_durationE">
<span id="_CPPv3N5shaka9HlsParams23target_segment_durationE"></span><span id="_CPPv2N5shaka9HlsParams23target_segment_durationE"></span><span id="shaka::HlsParams::target_segment_duration__double"></span><span class="target" id="d0/da8/structshaka_1_1HlsParams_1aaa9c66720a8fb0e7ee3ef362825919a6"></span><span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">target_segment_duration</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka9HlsParams23target_segment_durationE" title="Permalink to this definition"></a><br /></dt>
<dd><p>This is the target segment duration requested by the user. The actual segment duration may be different to the target segment duration. It will be populated from segment duration specified in <a class="reference internal" href="#d2/d1f/structshaka_1_1ChunkingParams"><span class="std std-ref">ChunkingParams</span></a> if not specified. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka9HlsParams21media_sequence_numberE">
<span id="_CPPv3N5shaka9HlsParams21media_sequence_numberE"></span><span id="_CPPv2N5shaka9HlsParams21media_sequence_numberE"></span><span id="shaka::HlsParams::media_sequence_number__uint32_t"></span><span class="target" id="d0/da8/structshaka_1_1HlsParams_1a21e605e6e09e2592edba4dab8a0f5d4d"></span><span class="n"><span class="pre">uint32_t</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">media_sequence_number</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka9HlsParams21media_sequence_numberE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Custom EXT-X-MEDIA-SEQUENCE value to allow continuous media playback across packager restarts. See #691 for details. </p>
</dd></dl>
</div>
</dd></dl>
<dl class="cpp enum">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15HlsPlaylistTypeE">
<span id="_CPPv3N5shaka15HlsPlaylistTypeE"></span><span id="_CPPv2N5shaka15HlsPlaylistTypeE"></span><span class="target" id="d8/daf/namespaceshaka_1ab63a3c00cdbf61cfb6dd7a2497b26f8d"></span><span class="k"><span class="pre">enum</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">HlsPlaylistType</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15HlsPlaylistTypeE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Defines the EXT-X-PLAYLIST-TYPE in the HLS specification. For HlsPlaylistType of kLive, EXT-X-PLAYLIST-TYPE tag is omitted. </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15HlsPlaylistType4kVodE">
<span id="_CPPv3N5shaka15HlsPlaylistType4kVodE"></span><span id="_CPPv2N5shaka15HlsPlaylistType4kVodE"></span><span class="target" id="d8/daf/namespaceshaka_1ab63a3c00cdbf61cfb6dd7a2497b26f8da1e17bc9cc968c62f2424715e2f57b7d1"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kVod</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15HlsPlaylistType4kVodE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15HlsPlaylistType6kEventE">
<span id="_CPPv3N5shaka15HlsPlaylistType6kEventE"></span><span id="_CPPv2N5shaka15HlsPlaylistType6kEventE"></span><span class="target" id="d8/daf/namespaceshaka_1ab63a3c00cdbf61cfb6dd7a2497b26f8dab38bfe9b7b9eafa5a368e22761e21c41"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kEvent</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15HlsPlaylistType6kEventE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka15HlsPlaylistType5kLiveE">
<span id="_CPPv3N5shaka15HlsPlaylistType5kLiveE"></span><span id="_CPPv2N5shaka15HlsPlaylistType5kLiveE"></span><span class="target" id="d8/daf/namespaceshaka_1ab63a3c00cdbf61cfb6dd7a2497b26f8da691aa15e9e6b889f9f400cddfdd194b6"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kLive</span></span></span><a class="headerlink" href="#_CPPv4N5shaka15HlsPlaylistType5kLiveE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
</dd></dl>
<dl class="cpp enum">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka11KeyProviderE">
<span id="_CPPv3N5shaka11KeyProviderE"></span><span id="_CPPv2N5shaka11KeyProviderE"></span><span class="target" id="d8/daf/namespaceshaka_1a539b99ce5c34193e294bc544437e9185"></span><span class="k"><span class="pre">enum</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">KeyProvider</span></span></span><a class="headerlink" href="#_CPPv4N5shaka11KeyProviderE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Encryption key providers. These provide keys to decrypt the content if the source content is encrypted, or used to encrypt the content. </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka11KeyProvider5kNoneE">
<span id="_CPPv3N5shaka11KeyProvider5kNoneE"></span><span id="_CPPv2N5shaka11KeyProvider5kNoneE"></span><span class="target" id="d8/daf/namespaceshaka_1a539b99ce5c34193e294bc544437e9185a35c3ace1970663a16e5c65baa5941b13"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kNone</span></span></span><a class="headerlink" href="#_CPPv4N5shaka11KeyProvider5kNoneE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka11KeyProvider7kRawKeyE">
<span id="_CPPv3N5shaka11KeyProvider7kRawKeyE"></span><span id="_CPPv2N5shaka11KeyProvider7kRawKeyE"></span><span class="target" id="d8/daf/namespaceshaka_1a539b99ce5c34193e294bc544437e9185a1537564eae41fe408316528882a721cf"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kRawKey</span></span></span><a class="headerlink" href="#_CPPv4N5shaka11KeyProvider7kRawKeyE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka11KeyProvider9kWidevineE">
<span id="_CPPv3N5shaka11KeyProvider9kWidevineE"></span><span id="_CPPv2N5shaka11KeyProvider9kWidevineE"></span><span class="target" id="d8/daf/namespaceshaka_1a539b99ce5c34193e294bc544437e9185a2b4c92d0a1dbc3a696c509b0bdde12eb"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kWidevine</span></span></span><a class="headerlink" href="#_CPPv4N5shaka11KeyProvider9kWidevineE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka11KeyProvider10kPlayReadyE">
<span id="_CPPv3N5shaka11KeyProvider10kPlayReadyE"></span><span id="_CPPv2N5shaka11KeyProvider10kPlayReadyE"></span><span class="target" id="d8/daf/namespaceshaka_1a539b99ce5c34193e294bc544437e9185abb168dc0fb1aa1f4aca8a756f711e51f"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kPlayReady</span></span></span><a class="headerlink" href="#_CPPv4N5shaka11KeyProvider10kPlayReadyE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14WidevineSignerE">
<span id="_CPPv3N5shaka14WidevineSignerE"></span><span id="_CPPv2N5shaka14WidevineSignerE"></span><span id="shaka::WidevineSigner"></span><span class="target" id="df/d22/structshaka_1_1WidevineSigner"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">WidevineSigner</span></span></span><a class="headerlink" href="#_CPPv4N5shaka14WidevineSignerE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Signer credential for Widevine license server. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14WidevineSigner11signer_nameE">
<span id="_CPPv3N5shaka14WidevineSigner11signer_nameE"></span><span id="_CPPv2N5shaka14WidevineSigner11signer_nameE"></span><span id="shaka::WidevineSigner::signer_name__ss"></span><span class="target" id="df/d22/structshaka_1_1WidevineSigner_1a6768d5addb3c90f33ce5f241705c827e"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">signer_name</span></span></span><a class="headerlink" href="#_CPPv4N5shaka14WidevineSigner11signer_nameE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Name of the signer / content provider. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14WidevineSigner16signing_key_typeE">
<span id="_CPPv3N5shaka14WidevineSigner16signing_key_typeE"></span><span id="_CPPv2N5shaka14WidevineSigner16signing_key_typeE"></span><span id="shaka::WidevineSigner::signing_key_type__SigningKeyType"></span><span class="target" id="df/d22/structshaka_1_1WidevineSigner_1a656fbc14799c96fa8b822e3917070cf6"></span><a class="reference internal" href="#_CPPv4N5shaka14WidevineSigner14SigningKeyTypeE" title="shaka::WidevineSigner::SigningKeyType"><span class="n"><span class="pre">SigningKeyType</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">signing_key_type</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><a class="reference internal" href="#_CPPv4N5shaka14WidevineSigner14SigningKeyTypeE" title="shaka::WidevineSigner::SigningKeyType"><span class="n"><span class="pre">SigningKeyType</span></span></a><span class="p"><span class="pre">::</span></span><a class="reference internal" href="#_CPPv4N5shaka14WidevineSigner14SigningKeyType5kNoneE" title="shaka::WidevineSigner::SigningKeyType::kNone"><span class="n"><span class="pre">kNone</span></span></a><a class="headerlink" href="#_CPPv4N5shaka14WidevineSigner16signing_key_typeE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Specifies the signing key type, which determines whether AES or RSA key are used to authenticate the signer. A type of kNone is invalid. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14WidevineSigner3keyE">
<span id="_CPPv3N5shaka14WidevineSigner3keyE"></span><span id="_CPPv2N5shaka14WidevineSigner3keyE"></span><span id="shaka::WidevineSigner::key__std::vector:uint8_t:"></span><span class="target" id="df/d22/structshaka_1_1WidevineSigner_1ad5c378d29df509280d8697f986163324"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">vector</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">uint8_t</span></span><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">key</span></span></span><a class="headerlink" href="#_CPPv4N5shaka14WidevineSigner3keyE" title="Permalink to this definition"></a><br /></dt>
<dd><p>AES signing key. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14WidevineSigner2ivE">
<span id="_CPPv3N5shaka14WidevineSigner2ivE"></span><span id="_CPPv2N5shaka14WidevineSigner2ivE"></span><span id="shaka::WidevineSigner::iv__std::vector:uint8_t:"></span><span class="target" id="df/d22/structshaka_1_1WidevineSigner_1a6db96d4c3f1189bbd09515732bec94d9"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">vector</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">uint8_t</span></span><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">iv</span></span></span><a class="headerlink" href="#_CPPv4N5shaka14WidevineSigner2ivE" title="Permalink to this definition"></a><br /></dt>
<dd><p>AES signing IV. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp">
<span class="target" id="df/d22/structshaka_1_1WidevineSigner_1a25bb558aa06563d24c3d7f9733ff8898"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">key</span></span></span><br /></dt>
<dd><p>RSA signing private key. </p>
</dd></dl>
</div>
</dd></dl>
<dl class="cpp enum">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14WidevineSigner14SigningKeyTypeE">
<span id="_CPPv3N5shaka14WidevineSigner14SigningKeyTypeE"></span><span id="_CPPv2N5shaka14WidevineSigner14SigningKeyTypeE"></span><span class="target" id="df/d22/structshaka_1_1WidevineSigner_1a4f118f7b3a763c9f81b22be37d851313"></span><span class="k"><span class="pre">enum</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span><a class="reference internal" href="#_CPPv4N5shaka14WidevineSignerE" title="shaka::WidevineSigner"><span class="n"><span class="pre">WidevineSigner</span></span></a><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">SigningKeyType</span></span></span><a class="headerlink" href="#_CPPv4N5shaka14WidevineSigner14SigningKeyTypeE" title="Permalink to this definition"></a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14WidevineSigner14SigningKeyType5kNoneE">
<span id="_CPPv3N5shaka14WidevineSigner14SigningKeyType5kNoneE"></span><span id="_CPPv2N5shaka14WidevineSigner14SigningKeyType5kNoneE"></span><span class="target" id="df/d22/structshaka_1_1WidevineSigner_1a4f118f7b3a763c9f81b22be37d851313a35c3ace1970663a16e5c65baa5941b13"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kNone</span></span></span><a class="headerlink" href="#_CPPv4N5shaka14WidevineSigner14SigningKeyType5kNoneE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14WidevineSigner14SigningKeyType4kAesE">
<span id="_CPPv3N5shaka14WidevineSigner14SigningKeyType4kAesE"></span><span id="_CPPv2N5shaka14WidevineSigner14SigningKeyType4kAesE"></span><span class="target" id="df/d22/structshaka_1_1WidevineSigner_1a4f118f7b3a763c9f81b22be37d851313aa71c96d1cd0362bf95fb3bd419048129"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kAes</span></span></span><a class="headerlink" href="#_CPPv4N5shaka14WidevineSigner14SigningKeyType4kAesE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka14WidevineSigner14SigningKeyType4kRsaE">
<span id="_CPPv3N5shaka14WidevineSigner14SigningKeyType4kRsaE"></span><span id="_CPPv2N5shaka14WidevineSigner14SigningKeyType4kRsaE"></span><span class="target" id="df/d22/structshaka_1_1WidevineSigner_1a4f118f7b3a763c9f81b22be37d851313a57693b7d41958c8db30e208b02faf71c"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kRsa</span></span></span><a class="headerlink" href="#_CPPv4N5shaka14WidevineSigner14SigningKeyType4kRsaE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka24WidevineEncryptionParamsE">
<span id="_CPPv3N5shaka24WidevineEncryptionParamsE"></span><span id="_CPPv2N5shaka24WidevineEncryptionParamsE"></span><span id="shaka::WidevineEncryptionParams"></span><span class="target" id="d9/dd2/structshaka_1_1WidevineEncryptionParams"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">WidevineEncryptionParams</span></span></span><a class="headerlink" href="#_CPPv4N5shaka24WidevineEncryptionParamsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Widevine encryption parameters. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka24WidevineEncryptionParams14key_server_urlE">
<span id="_CPPv3N5shaka24WidevineEncryptionParams14key_server_urlE"></span><span id="_CPPv2N5shaka24WidevineEncryptionParams14key_server_urlE"></span><span id="shaka::WidevineEncryptionParams::key_server_url__ss"></span><span class="target" id="d9/dd2/structshaka_1_1WidevineEncryptionParams_1ac222c5bd0620e5a6f9bf5e9fec534fb9"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">key_server_url</span></span></span><a class="headerlink" href="#_CPPv4N5shaka24WidevineEncryptionParams14key_server_urlE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Widevine license / key server URL. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka24WidevineEncryptionParams10content_idE">
<span id="_CPPv3N5shaka24WidevineEncryptionParams10content_idE"></span><span id="_CPPv2N5shaka24WidevineEncryptionParams10content_idE"></span><span id="shaka::WidevineEncryptionParams::content_id__std::vector:uint8_t:"></span><span class="target" id="d9/dd2/structshaka_1_1WidevineEncryptionParams_1a6b9770524a9507d0a9a3606ceef23075"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">vector</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">uint8_t</span></span><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">content_id</span></span></span><a class="headerlink" href="#_CPPv4N5shaka24WidevineEncryptionParams10content_idE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Content identifier. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka24WidevineEncryptionParams6policyE">
<span id="_CPPv3N5shaka24WidevineEncryptionParams6policyE"></span><span id="_CPPv2N5shaka24WidevineEncryptionParams6policyE"></span><span id="shaka::WidevineEncryptionParams::policy__ss"></span><span class="target" id="d9/dd2/structshaka_1_1WidevineEncryptionParams_1a469f3db91b42af20f270a280c4d42b4f"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">policy</span></span></span><a class="headerlink" href="#_CPPv4N5shaka24WidevineEncryptionParams6policyE" title="Permalink to this definition"></a><br /></dt>
<dd><p>The name of a stored policy, which specifies DRM content rights. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka24WidevineEncryptionParams6signerE">
<span id="_CPPv3N5shaka24WidevineEncryptionParams6signerE"></span><span id="_CPPv2N5shaka24WidevineEncryptionParams6signerE"></span><span id="shaka::WidevineEncryptionParams::signer__WidevineSigner"></span><span class="target" id="d9/dd2/structshaka_1_1WidevineEncryptionParams_1a233141ad4baf2f2afce30f96adf340ae"></span><a class="reference internal" href="#_CPPv4N5shaka14WidevineSignerE" title="shaka::WidevineSigner"><span class="n"><span class="pre">WidevineSigner</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">signer</span></span></span><a class="headerlink" href="#_CPPv4N5shaka24WidevineEncryptionParams6signerE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Signer credential for Widevine license / key server. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka24WidevineEncryptionParams8group_idE">
<span id="_CPPv3N5shaka24WidevineEncryptionParams8group_idE"></span><span id="_CPPv2N5shaka24WidevineEncryptionParams8group_idE"></span><span id="shaka::WidevineEncryptionParams::group_id__std::vector:uint8_t:"></span><span class="target" id="d9/dd2/structshaka_1_1WidevineEncryptionParams_1a6d69402cd4c66d546be180c7800e6d09"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">vector</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">uint8_t</span></span><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">group_id</span></span></span><a class="headerlink" href="#_CPPv4N5shaka24WidevineEncryptionParams8group_idE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Group identifier, if present licenses will belong to this group. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka24WidevineEncryptionParams26enable_entitlement_licenseE">
<span id="_CPPv3N5shaka24WidevineEncryptionParams26enable_entitlement_licenseE"></span><span id="_CPPv2N5shaka24WidevineEncryptionParams26enable_entitlement_licenseE"></span><span id="shaka::WidevineEncryptionParams::enable_entitlement_license__b"></span><span class="target" id="d9/dd2/structshaka_1_1WidevineEncryptionParams_1a47239bcc571757930ba89e8831013234"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">enable_entitlement_license</span></span></span><a class="headerlink" href="#_CPPv4N5shaka24WidevineEncryptionParams26enable_entitlement_licenseE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Enables entitlement license when set to true. </p>
</dd></dl>
</div>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka25PlayReadyEncryptionParamsE">
<span id="_CPPv3N5shaka25PlayReadyEncryptionParamsE"></span><span id="_CPPv2N5shaka25PlayReadyEncryptionParamsE"></span><span id="shaka::PlayReadyEncryptionParams"></span><span class="target" id="df/d47/structshaka_1_1PlayReadyEncryptionParams"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">PlayReadyEncryptionParams</span></span></span><a class="headerlink" href="#_CPPv4N5shaka25PlayReadyEncryptionParamsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>PlayReady encryption parameters. <code class="docutils literal notranslate"><span class="pre">key_server_url</span></code> and <code class="docutils literal notranslate"><span class="pre">program_identifier</span></code> are required. The presence of other parameters may be necessary depends on server configuration. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka25PlayReadyEncryptionParams14key_server_urlE">
<span id="_CPPv3N5shaka25PlayReadyEncryptionParams14key_server_urlE"></span><span id="_CPPv2N5shaka25PlayReadyEncryptionParams14key_server_urlE"></span><span id="shaka::PlayReadyEncryptionParams::key_server_url__ss"></span><span class="target" id="df/d47/structshaka_1_1PlayReadyEncryptionParams_1ac5298ee04e36296e8dd4b7a56e8bc464"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">key_server_url</span></span></span><a class="headerlink" href="#_CPPv4N5shaka25PlayReadyEncryptionParams14key_server_urlE" title="Permalink to this definition"></a><br /></dt>
<dd><p>PlayReady license / key server URL. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka25PlayReadyEncryptionParams18program_identifierE">
<span id="_CPPv3N5shaka25PlayReadyEncryptionParams18program_identifierE"></span><span id="_CPPv2N5shaka25PlayReadyEncryptionParams18program_identifierE"></span><span id="shaka::PlayReadyEncryptionParams::program_identifier__ss"></span><span class="target" id="df/d47/structshaka_1_1PlayReadyEncryptionParams_1a8716552505d244227bf93c4878071f2d"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">program_identifier</span></span></span><a class="headerlink" href="#_CPPv4N5shaka25PlayReadyEncryptionParams18program_identifierE" title="Permalink to this definition"></a><br /></dt>
<dd><p>PlayReady program identifier. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka25PlayReadyEncryptionParams7ca_fileE">
<span id="_CPPv3N5shaka25PlayReadyEncryptionParams7ca_fileE"></span><span id="_CPPv2N5shaka25PlayReadyEncryptionParams7ca_fileE"></span><span id="shaka::PlayReadyEncryptionParams::ca_file__ss"></span><span class="target" id="df/d47/structshaka_1_1PlayReadyEncryptionParams_1aff3107b2636f730056c6c5a673376226"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">ca_file</span></span></span><a class="headerlink" href="#_CPPv4N5shaka25PlayReadyEncryptionParams7ca_fileE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Absolute path to the Certificate Authority file for the server cert in PEM format. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka25PlayReadyEncryptionParams16client_cert_fileE">
<span id="_CPPv3N5shaka25PlayReadyEncryptionParams16client_cert_fileE"></span><span id="_CPPv2N5shaka25PlayReadyEncryptionParams16client_cert_fileE"></span><span id="shaka::PlayReadyEncryptionParams::client_cert_file__ss"></span><span class="target" id="df/d47/structshaka_1_1PlayReadyEncryptionParams_1a8e3c7d3b038b602e09589e0fda0aad66"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">client_cert_file</span></span></span><a class="headerlink" href="#_CPPv4N5shaka25PlayReadyEncryptionParams16client_cert_fileE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Absolute path to client certificate file. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka25PlayReadyEncryptionParams28client_cert_private_key_fileE">
<span id="_CPPv3N5shaka25PlayReadyEncryptionParams28client_cert_private_key_fileE"></span><span id="_CPPv2N5shaka25PlayReadyEncryptionParams28client_cert_private_key_fileE"></span><span id="shaka::PlayReadyEncryptionParams::client_cert_private_key_file__ss"></span><span class="target" id="df/d47/structshaka_1_1PlayReadyEncryptionParams_1a63e0f55b12ef1a0305bd51315322b153"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">client_cert_private_key_file</span></span></span><a class="headerlink" href="#_CPPv4N5shaka25PlayReadyEncryptionParams28client_cert_private_key_fileE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Absolute path to the private key file. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka25PlayReadyEncryptionParams32client_cert_private_key_passwordE">
<span id="_CPPv3N5shaka25PlayReadyEncryptionParams32client_cert_private_key_passwordE"></span><span id="_CPPv2N5shaka25PlayReadyEncryptionParams32client_cert_private_key_passwordE"></span><span id="shaka::PlayReadyEncryptionParams::client_cert_private_key_password__ss"></span><span class="target" id="df/d47/structshaka_1_1PlayReadyEncryptionParams_1a672dbcea4caa427b3fd83e1a2e329859"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">client_cert_private_key_password</span></span></span><a class="headerlink" href="#_CPPv4N5shaka25PlayReadyEncryptionParams32client_cert_private_key_passwordE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Password to the private key file. </p>
</dd></dl>
</div>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka12RawKeyParamsE">
<span id="_CPPv3N5shaka12RawKeyParamsE"></span><span id="_CPPv2N5shaka12RawKeyParamsE"></span><span id="shaka::RawKeyParams"></span><span class="target" id="d0/db4/structshaka_1_1RawKeyParams"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">RawKeyParams</span></span></span><a class="headerlink" href="#_CPPv4N5shaka12RawKeyParamsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Raw key encryption/decryption parameters, i.e. with key parameters provided. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka12RawKeyParams2ivE">
<span id="_CPPv3N5shaka12RawKeyParams2ivE"></span><span id="_CPPv2N5shaka12RawKeyParams2ivE"></span><span id="shaka::RawKeyParams::iv__std::vector:uint8_t:"></span><span class="target" id="d0/db4/structshaka_1_1RawKeyParams_1aab733ab6920dd8fbed523810e64ea3f1"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">vector</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">uint8_t</span></span><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">iv</span></span></span><a class="headerlink" href="#_CPPv4N5shaka12RawKeyParams2ivE" title="Permalink to this definition"></a><br /></dt>
<dd><p>An optional initialization vector. If not provided, a random <code class="docutils literal notranslate"><span class="pre">iv</span></code> will be generated. Note that this parameter should only be used during testing. Not needed for decryption. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka12RawKeyParams4psshE">
<span id="_CPPv3N5shaka12RawKeyParams4psshE"></span><span id="_CPPv2N5shaka12RawKeyParams4psshE"></span><span id="shaka::RawKeyParams::pssh__std::vector:uint8_t:"></span><span class="target" id="d0/db4/structshaka_1_1RawKeyParams_1a448b8c435fc86d4fbc85214e523f2ac5"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">vector</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">uint8_t</span></span><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">pssh</span></span></span><a class="headerlink" href="#_CPPv4N5shaka12RawKeyParams4psshE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Inject a custom <code class="docutils literal notranslate"><span class="pre">pssh</span></code> or multiple concatenated <code class="docutils literal notranslate"><span class="pre">psshs</span></code>. If not provided, a common system pssh will be generated. Not needed for decryption. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka12RawKeyParams7key_mapE">
<span id="_CPPv3N5shaka12RawKeyParams7key_mapE"></span><span id="_CPPv2N5shaka12RawKeyParams7key_mapE"></span><span id="shaka::RawKeyParams::key_map__std::map:StreamLabel.KeyInfo:"></span><span class="target" id="d0/db4/structshaka_1_1RawKeyParams_1a14e44fed95583d0bb319c082fb1ddb84"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">map</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">StreamLabel</span></span><span class="p"><span class="pre">,</span></span><span class="w"> </span><a class="reference internal" href="#_CPPv4N5shaka12RawKeyParams7KeyInfoE" title="shaka::RawKeyParams::KeyInfo"><span class="n"><span class="pre">KeyInfo</span></span></a><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">key_map</span></span></span><a class="headerlink" href="#_CPPv4N5shaka12RawKeyParams7key_mapE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Defines the <a class="reference internal" href="#d0/dbe/structshaka_1_1RawKeyParams_1_1KeyInfo"><span class="std std-ref">KeyInfo</span></a> for the streams. An empty <code class="docutils literal notranslate"><span class="pre">StreamLabel</span></code> indicates the default <code class="docutils literal notranslate"><a class="reference internal" href="#d0/dbe/structshaka_1_1RawKeyParams_1_1KeyInfo"><span class="std std-ref"><span class="pre">KeyInfo</span></span></a></code>, which applies to all the <code class="docutils literal notranslate"><span class="pre">StreamLabels</span></code> not present in <code class="docutils literal notranslate"><span class="pre">key_map</span></code>. </p>
</dd></dl>
</div>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka12RawKeyParams7KeyInfoE">
<span id="_CPPv3N5shaka12RawKeyParams7KeyInfoE"></span><span id="_CPPv2N5shaka12RawKeyParams7KeyInfoE"></span><span id="shaka::RawKeyParams::KeyInfo"></span><span class="target" id="d0/dbe/structshaka_1_1RawKeyParams_1_1KeyInfo"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">KeyInfo</span></span></span><a class="headerlink" href="#_CPPv4N5shaka12RawKeyParams7KeyInfoE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParamsE">
<span id="_CPPv3N5shaka16EncryptionParamsE"></span><span id="_CPPv2N5shaka16EncryptionParamsE"></span><span id="shaka::EncryptionParams"></span><span class="target" id="dc/da0/structshaka_1_1EncryptionParams"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">EncryptionParams</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParamsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Encryption parameters. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams12key_providerE">
<span id="_CPPv3N5shaka16EncryptionParams12key_providerE"></span><span id="_CPPv2N5shaka16EncryptionParams12key_providerE"></span><span id="shaka::EncryptionParams::key_provider__KeyProvider"></span><span class="target" id="dc/da0/structshaka_1_1EncryptionParams_1adcf61ebf8d129a5bcf3f159b9b076eed"></span><a class="reference internal" href="#_CPPv4N5shaka11KeyProviderE" title="shaka::KeyProvider"><span class="n"><span class="pre">KeyProvider</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">key_provider</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><a class="reference internal" href="#_CPPv4N5shaka11KeyProviderE" title="shaka::KeyProvider"><span class="n"><span class="pre">KeyProvider</span></span></a><span class="p"><span class="pre">::</span></span><a class="reference internal" href="#_CPPv4N5shaka11KeyProvider5kNoneE" title="shaka::KeyProvider::kNone"><span class="n"><span class="pre">kNone</span></span></a><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams12key_providerE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Specifies the key provider, which determines which key provider is used and which encryption params is valid. kNone means not to encrypt the streams. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams18protection_systemsE">
<span id="_CPPv3N5shaka16EncryptionParams18protection_systemsE"></span><span id="_CPPv2N5shaka16EncryptionParams18protection_systemsE"></span><span id="shaka::EncryptionParams::protection_systems__ProtectionSystem"></span><span class="target" id="dc/da0/structshaka_1_1EncryptionParams_1a8e1877b4a4cbd071b6bd68c54341f8bc"></span><span class="n"><span class="pre">ProtectionSystem</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">protection_systems</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams18protection_systemsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>The protection systems to generate, multiple can be ORd together. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams27playready_extra_header_dataE">
<span id="_CPPv3N5shaka16EncryptionParams27playready_extra_header_dataE"></span><span id="_CPPv2N5shaka16EncryptionParams27playready_extra_header_dataE"></span><span id="shaka::EncryptionParams::playready_extra_header_data__ss"></span><span class="target" id="dc/da0/structshaka_1_1EncryptionParams_1a750b46e3c52157c6a05ff074d4355833"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">playready_extra_header_data</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams27playready_extra_header_dataE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Extra XML data to add to PlayReady data. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams21clear_lead_in_secondsE">
<span id="_CPPv3N5shaka16EncryptionParams21clear_lead_in_secondsE"></span><span id="_CPPv2N5shaka16EncryptionParams21clear_lead_in_secondsE"></span><span id="shaka::EncryptionParams::clear_lead_in_seconds__double"></span><span class="target" id="dc/da0/structshaka_1_1EncryptionParams_1a1ad46963dc926aa4b72813dccb3f6a45"></span><span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">clear_lead_in_seconds</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams21clear_lead_in_secondsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Clear lead duration in seconds. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams16crypt_byte_blockE">
<span id="_CPPv3N5shaka16EncryptionParams16crypt_byte_blockE"></span><span id="_CPPv2N5shaka16EncryptionParams16crypt_byte_blockE"></span><span id="shaka::EncryptionParams::crypt_byte_block__uint8_t"></span><span class="target" id="dc/da0/structshaka_1_1EncryptionParams_1a87b1deb1705f07c01efa69f14260e0af"></span><span class="n"><span class="pre">uint8_t</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">crypt_byte_block</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">1</span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams16crypt_byte_blockE" title="Permalink to this definition"></a><br /></dt>
<dd><p>The count of the encrypted blocks in the protection pattern, where each block is of size 16-bytes. There are three common patterns (crypt_byte_block:skip_byte_block): 1:9 (default), 5:5, 10:0. Applies to video streams with “cbcs” and “cens” protection schemes only; Ignored otherwise. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams15skip_byte_blockE">
<span id="_CPPv3N5shaka16EncryptionParams15skip_byte_blockE"></span><span id="_CPPv2N5shaka16EncryptionParams15skip_byte_blockE"></span><span id="shaka::EncryptionParams::skip_byte_block__uint8_t"></span><span class="target" id="dc/da0/structshaka_1_1EncryptionParams_1afa236ca5a091603c2bc6d28b1f84d816"></span><span class="n"><span class="pre">uint8_t</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">skip_byte_block</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">9</span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams15skip_byte_blockE" title="Permalink to this definition"></a><br /></dt>
<dd><p>The count of the unencrypted blocks in the protection pattern. Applies to video streams with “cbcs” and “cens” protection schemes only; Ignored otherwise. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams24vp9_subsample_encryptionE">
<span id="_CPPv3N5shaka16EncryptionParams24vp9_subsample_encryptionE"></span><span id="_CPPv2N5shaka16EncryptionParams24vp9_subsample_encryptionE"></span><span id="shaka::EncryptionParams::vp9_subsample_encryption__b"></span><span class="target" id="dc/da0/structshaka_1_1EncryptionParams_1a48d415f17d51306ce7e1931fd954c37c"></span><span class="kt"><span class="pre">bool</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">vp9_subsample_encryption</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="k"><span class="pre">true</span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams24vp9_subsample_encryptionE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Enable/disable subsample encryption for VP9. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams17stream_label_funcE">
<span id="_CPPv3N5shaka16EncryptionParams17stream_label_funcE"></span><span id="_CPPv2N5shaka16EncryptionParams17stream_label_funcE"></span><span class="target" id="dc/da0/structshaka_1_1EncryptionParams_1a7686a6aca6a7c3d077a5d7215c39fc51"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">function</span></span><span class="p"><span class="pre">&lt;</span></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="p"><span class="pre">(</span></span><span class="k"><span class="pre">const</span></span><span class="w"> </span><a class="reference internal" href="#_CPPv4N5shaka16EncryptionParams25EncryptedStreamAttributesE" title="shaka::EncryptionParams::EncryptedStreamAttributes"><span class="n"><span class="pre">EncryptedStreamAttributes</span></span></a><span class="w"> </span><span class="p"><span class="pre">&amp;</span></span><span class="n"><span class="pre">stream_attributes</span></span><span class="p"><span class="pre">)</span></span><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">stream_label_func</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams17stream_label_funcE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Stream label function assigns a stream label to the stream to be encrypted. Stream label is used to associate KeyPair with streams. Streams with the same stream label always uses the same keyPair; Streams with different stream label could use the same or different KeyPairs. A default stream label function will be generated if not set. </p>
</dd></dl>
</div>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-static-attributes">Public Static Attributes</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams21kProtectionSchemeCencE">
<span id="_CPPv3N5shaka16EncryptionParams21kProtectionSchemeCencE"></span><span id="_CPPv2N5shaka16EncryptionParams21kProtectionSchemeCencE"></span><span id="shaka::EncryptionParams::kProtectionSchemeCenc__uint32_t"></span><span class="target" id="dc/da0/structshaka_1_1EncryptionParams_1a1d7a8c6b5e46b51ccadcaef3f9cf9cb0"></span><span class="k"><span class="pre">static</span></span><span class="w"> </span><span class="k"><span class="pre">constexpr</span></span><span class="w"> </span><span class="n"><span class="pre">uint32_t</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kProtectionSchemeCenc</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0x63656E63</span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams21kProtectionSchemeCencE" title="Permalink to this definition"></a><br /></dt>
<dd><p>The protection scheme: “cenc”, “cens”, “cbc1”, “cbcs”. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams14kNoKeyRotationE">
<span id="_CPPv3N5shaka16EncryptionParams14kNoKeyRotationE"></span><span id="_CPPv2N5shaka16EncryptionParams14kNoKeyRotationE"></span><span id="shaka::EncryptionParams::kNoKeyRotation__double"></span><span class="target" id="dc/da0/structshaka_1_1EncryptionParams_1a92ad4ca8e1ccb7d6b5fa2ee0b1b196fa"></span><span class="k"><span class="pre">static</span></span><span class="w"> </span><span class="k"><span class="pre">constexpr</span></span><span class="w"> </span><span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">kNoKeyRotation</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams14kNoKeyRotationE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Crypto period duration in seconds. A positive value means key rotation is enabled, the key provider must support key rotation in this case. </p>
</dd></dl>
</div>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams25EncryptedStreamAttributesE">
<span id="_CPPv3N5shaka16EncryptionParams25EncryptedStreamAttributesE"></span><span id="_CPPv2N5shaka16EncryptionParams25EncryptedStreamAttributesE"></span><span id="shaka::EncryptionParams::EncryptedStreamAttributes"></span><span class="target" id="d7/d6d/structshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">EncryptedStreamAttributes</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams25EncryptedStreamAttributesE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Encrypted stream information that is used to determine stream label. </p>
<dl class="cpp union">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16EncryptionParams25EncryptedStreamAttributes5OneOfE">
<span id="_CPPv3N5shaka16EncryptionParams25EncryptedStreamAttributes5OneOfE"></span><span id="_CPPv2N5shaka16EncryptionParams25EncryptedStreamAttributes5OneOfE"></span><span class="target" id="d0/d37/unionshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes_1_1OneOf"></span><span class="k"><span class="pre">union</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">OneOf</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16EncryptionParams25EncryptedStreamAttributes5OneOfE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
</dd></dl>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka24WidevineDecryptionParamsE">
<span id="_CPPv3N5shaka24WidevineDecryptionParamsE"></span><span id="_CPPv2N5shaka24WidevineDecryptionParamsE"></span><span id="shaka::WidevineDecryptionParams"></span><span class="target" id="d8/d48/structshaka_1_1WidevineDecryptionParams"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">WidevineDecryptionParams</span></span></span><a class="headerlink" href="#_CPPv4N5shaka24WidevineDecryptionParamsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Widevine decryption parameters. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka24WidevineDecryptionParams14key_server_urlE">
<span id="_CPPv3N5shaka24WidevineDecryptionParams14key_server_urlE"></span><span id="_CPPv2N5shaka24WidevineDecryptionParams14key_server_urlE"></span><span id="shaka::WidevineDecryptionParams::key_server_url__ss"></span><span class="target" id="d8/d48/structshaka_1_1WidevineDecryptionParams_1adb765979bcc7f63ce46c9ed6ead1ee5b"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">key_server_url</span></span></span><a class="headerlink" href="#_CPPv4N5shaka24WidevineDecryptionParams14key_server_urlE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Widevine license / key server URL. </p>
</dd></dl>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka24WidevineDecryptionParams6signerE">
<span id="_CPPv3N5shaka24WidevineDecryptionParams6signerE"></span><span id="_CPPv2N5shaka24WidevineDecryptionParams6signerE"></span><span id="shaka::WidevineDecryptionParams::signer__WidevineSigner"></span><span class="target" id="d8/d48/structshaka_1_1WidevineDecryptionParams_1acf84772bb9787f61110e388490412939"></span><a class="reference internal" href="#_CPPv4N5shaka14WidevineSignerE" title="shaka::WidevineSigner"><span class="n"><span class="pre">WidevineSigner</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">signer</span></span></span><a class="headerlink" href="#_CPPv4N5shaka24WidevineDecryptionParams6signerE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Signer credential for Widevine license / key server. </p>
</dd></dl>
</div>
</dd></dl>
<dl class="cpp struct">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16DecryptionParamsE">
<span id="_CPPv3N5shaka16DecryptionParamsE"></span><span id="_CPPv2N5shaka16DecryptionParamsE"></span><span id="shaka::DecryptionParams"></span><span class="target" id="d1/d4f/structshaka_1_1DecryptionParams"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">DecryptionParams</span></span></span><a class="headerlink" href="#_CPPv4N5shaka16DecryptionParamsE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Decryption parameters. </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka16DecryptionParams12key_providerE">
<span id="_CPPv3N5shaka16DecryptionParams12key_providerE"></span><span id="_CPPv2N5shaka16DecryptionParams12key_providerE"></span><span id="shaka::DecryptionParams::key_provider__KeyProvider"></span><span class="target" id="d1/d4f/structshaka_1_1DecryptionParams_1ad93d153f9e777cccb6404611d5b4d339"></span><a class="reference internal" href="#_CPPv4N5shaka11KeyProviderE" title="shaka::KeyProvider"><span class="n"><span class="pre">KeyProvider</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">key_provider</span></span></span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><a class="reference internal" href="#_CPPv4N5shaka11KeyProviderE" title="shaka::KeyProvider"><span class="n"><span class="pre">KeyProvider</span></span></a><span class="p"><span class="pre">::</span></span><a class="reference internal" href="#_CPPv4N5shaka11KeyProvider5kNoneE" title="shaka::KeyProvider::kNone"><span class="n"><span class="pre">kNone</span></span></a><a class="headerlink" href="#_CPPv4N5shaka16DecryptionParams12key_providerE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Specifies the key provider, which determines which key provider is used and which encryption params is valid. kNone means not to decrypt the streams. </p>
</dd></dl>
</div>
</dd></dl>
<dl class="cpp class">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka6StatusE">
<span id="_CPPv3N5shaka6StatusE"></span><span id="_CPPv2N5shaka6StatusE"></span><span id="shaka::Status"></span><span class="target" id="d2/d20/classshaka_1_1Status"></span><span class="k"><span class="pre">class</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">Status</span></span></span><a class="headerlink" href="#_CPPv4N5shaka6StatusE" title="Permalink to this definition"></a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-functions">Public Functions</p>
<dl class="cpp function">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka6Status6StatusEv">
<span id="_CPPv3N5shaka6Status6StatusEv"></span><span id="_CPPv2N5shaka6Status6StatusEv"></span><span id="shaka::Status::Status"></span><span class="target" id="d2/d20/classshaka_1_1Status_1a12c04257e2480e0ce87cd16b944921d0"></span><span class="k"><span class="pre">inline</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">Status</span></span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv4N5shaka6Status6StatusEv" title="Permalink to this definition"></a><br /></dt>
<dd><p>Creates a “successful” status. </p>
</dd></dl>
<dl class="cpp function">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka6Status6StatusEN5error4CodeERKNSt6stringE">
<span id="_CPPv3N5shaka6Status6StatusEN5error4CodeERKNSt6stringE"></span><span id="_CPPv2N5shaka6Status6StatusEN5error4CodeERKNSt6stringE"></span><span id="shaka::Status::Status__error::Code.ssCR"></span><span class="target" id="d2/d20/classshaka_1_1Status_1a2fa2116c9e12215a4e3430b362ba622b"></span><span class="sig-name descname"><span class="n"><span class="pre">Status</span></span></span><span class="sig-paren">(</span><span class="n"><span class="pre">error</span></span><span class="p"><span class="pre">::</span></span><a class="reference internal" href="#_CPPv4N5shaka5error4CodeE" title="shaka::error::Code"><span class="n"><span class="pre">Code</span></span></a><span class="w"> </span><span class="n sig-param"><span class="pre">error_code</span></span>, <span class="k"><span class="pre">const</span></span><span class="w"> </span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="p"><span class="pre">&amp;</span></span><span class="n sig-param"><span class="pre">error_message</span></span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv4N5shaka6Status6StatusEN5error4CodeERKNSt6stringE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Create a status with the specified code, and error message. If “error_code == error::OK”, error_message is ignored and a <a class="reference internal" href="#d2/d20/classshaka_1_1Status"><span class="std std-ref">Status</span></a> object identical to Status::OK is constructed. </p>
</dd></dl>
<dl class="cpp function">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka6Status6UpdateE6Status">
<span id="_CPPv3N5shaka6Status6UpdateE6Status"></span><span id="_CPPv2N5shaka6Status6UpdateE6Status"></span><span id="shaka::Status::Update__Status"></span><span class="target" id="d2/d20/classshaka_1_1Status_1a9c0536749c9abc21c1111e622de6b7c8"></span><span class="kt"><span class="pre">void</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">Update</span></span></span><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv4N5shaka6StatusE" title="shaka::Status"><span class="n"><span class="pre">Status</span></span></a><span class="w"> </span><span class="n sig-param"><span class="pre">new_status</span></span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv4N5shaka6Status6UpdateE6Status" title="Permalink to this definition"></a><br /></dt>
<dd><p>If “ok()”, stores “new_status” into *this. If “!ok()”, preserves the current “error_code()/error_message()”,</p>
<p>Convenient way of keeping track of the first error encountered. Instead of: if (overall_status.ok()) overall_status = new_status Use: overall_status.Update(new_status); </p>
</dd></dl>
<dl class="cpp function">
<dt class="sig sig-object cpp" id="_CPPv4NK5shaka6Status8ToStringEv">
<span id="_CPPv3NK5shaka6Status8ToStringEv"></span><span id="_CPPv2NK5shaka6Status8ToStringEv"></span><span id="shaka::Status::ToStringC"></span><span class="target" id="d2/d20/classshaka_1_1Status_1a6c5c3c528296f2cb0dec56506cb8d3c3"></span><span class="n"><span class="pre">std</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">string</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">ToString</span></span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><span class="w"> </span><span class="k"><span class="pre">const</span></span><a class="headerlink" href="#_CPPv4NK5shaka6Status8ToStringEv" title="Permalink to this definition"></a><br /></dt>
<dd><dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>A combination of the error code name and message. </p>
</dd>
</dl>
</dd></dl>
</div>
</dd></dl>
<dl class="cpp enum">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4CodeE">
<span id="_CPPv3N5shaka5error4CodeE"></span><span id="_CPPv2N5shaka5error4CodeE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202"></span><span class="k"><span class="pre">enum</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">shaka</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">error</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">Code</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4CodeE" title="Permalink to this definition"></a><br /></dt>
<dd><p>Error codes for the packager APIs. </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code2OKE">
<span id="_CPPv3N5shaka5error4Code2OKE"></span><span id="_CPPv2N5shaka5error4Code2OKE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a3e25f9aa2cf1b8f59c41295b3ee41241"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">OK</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code2OKE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code7UNKNOWNE">
<span id="_CPPv3N5shaka5error4Code7UNKNOWNE"></span><span id="_CPPv2N5shaka5error4Code7UNKNOWNE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a7319bbf317137520ba7bdd71f623ef9a"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">UNKNOWN</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code7UNKNOWNE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code9CANCELLEDE">
<span id="_CPPv3N5shaka5error4Code9CANCELLEDE"></span><span id="_CPPv2N5shaka5error4Code9CANCELLEDE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a5bde48d63183f485d225b1cb21b0805b"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">CANCELLED</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code9CANCELLEDE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code16INVALID_ARGUMENTE">
<span id="_CPPv3N5shaka5error4Code16INVALID_ARGUMENTE"></span><span id="_CPPv2N5shaka5error4Code16INVALID_ARGUMENTE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a396b9de39f7b02f8fc745de9f9f65ffe"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">INVALID_ARGUMENT</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code16INVALID_ARGUMENTE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code13UNIMPLEMENTEDE">
<span id="_CPPv3N5shaka5error4Code13UNIMPLEMENTEDE"></span><span id="_CPPv2N5shaka5error4Code13UNIMPLEMENTEDE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a64bd43a603c04a99ca138e95c8f37cf9"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">UNIMPLEMENTED</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code13UNIMPLEMENTEDE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code12FILE_FAILUREE">
<span id="_CPPv3N5shaka5error4Code12FILE_FAILUREE"></span><span id="_CPPv2N5shaka5error4Code12FILE_FAILUREE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a52af57d1c33d9624f9bf793eda21bacf"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">FILE_FAILURE</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code12FILE_FAILUREE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code13END_OF_STREAME">
<span id="_CPPv3N5shaka5error4Code13END_OF_STREAME"></span><span id="_CPPv2N5shaka5error4Code13END_OF_STREAME"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a489d8a0c2c7f87212c1f37151fab8741"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">END_OF_STREAM</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code13END_OF_STREAME" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code12HTTP_FAILUREE">
<span id="_CPPv3N5shaka5error4Code12HTTP_FAILUREE"></span><span id="_CPPv2N5shaka5error4Code12HTTP_FAILUREE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a52c5964c464dd70217363e515f95de7f"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">HTTP_FAILURE</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code12HTTP_FAILUREE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code14PARSER_FAILUREE">
<span id="_CPPv3N5shaka5error4Code14PARSER_FAILUREE"></span><span id="_CPPv2N5shaka5error4Code14PARSER_FAILUREE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a5854e8b94884dba436f9fd3532b2f1dd"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">PARSER_FAILURE</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code14PARSER_FAILUREE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code18ENCRYPTION_FAILUREE">
<span id="_CPPv3N5shaka5error4Code18ENCRYPTION_FAILUREE"></span><span id="_CPPv2N5shaka5error4Code18ENCRYPTION_FAILUREE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202af0c9eb427366e84fb675f6c42215de9e"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">ENCRYPTION_FAILURE</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code18ENCRYPTION_FAILUREE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code14CHUNKING_ERRORE">
<span id="_CPPv3N5shaka5error4Code14CHUNKING_ERRORE"></span><span id="_CPPv2N5shaka5error4Code14CHUNKING_ERRORE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202aef7aafb9097e6eaa166e400a1fedfce1"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">CHUNKING_ERROR</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code14CHUNKING_ERRORE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code13MUXER_FAILUREE">
<span id="_CPPv3N5shaka5error4Code13MUXER_FAILUREE"></span><span id="_CPPv2N5shaka5error4Code13MUXER_FAILUREE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a745fa5e68f07bab311b99027bfd78ace"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">MUXER_FAILURE</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code13MUXER_FAILUREE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code18FRAGMENT_FINALIZEDE">
<span id="_CPPv3N5shaka5error4Code18FRAGMENT_FINALIZEDE"></span><span id="_CPPv2N5shaka5error4Code18FRAGMENT_FINALIZEDE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a40d8f27644d86fe3353ab11e3d203410"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">FRAGMENT_FINALIZED</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code18FRAGMENT_FINALIZEDE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code12SERVER_ERRORE">
<span id="_CPPv3N5shaka5error4Code12SERVER_ERRORE"></span><span id="_CPPv2N5shaka5error4Code12SERVER_ERRORE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a98e2156719ef2baa18d4bf2ff71b6070"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">SERVER_ERROR</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code12SERVER_ERRORE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code14INTERNAL_ERRORE">
<span id="_CPPv3N5shaka5error4Code14INTERNAL_ERRORE"></span><span id="_CPPv2N5shaka5error4Code14INTERNAL_ERRORE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a0a392809478e3c1d71391a10775c8928"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">INTERNAL_ERROR</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code14INTERNAL_ERRORE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code7STOPPEDE">
<span id="_CPPv3N5shaka5error4Code7STOPPEDE"></span><span id="_CPPv2N5shaka5error4Code7STOPPEDE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a993b12bd092d9eba0632be6e8554705e"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">STOPPED</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code7STOPPEDE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code8TIME_OUTE">
<span id="_CPPv3N5shaka5error4Code8TIME_OUTE"></span><span id="_CPPv2N5shaka5error4Code8TIME_OUTE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a3dabebb3d7b17ea708aeaf53818554e1"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">TIME_OUT</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code8TIME_OUTE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code9NOT_FOUNDE">
<span id="_CPPv3N5shaka5error4Code9NOT_FOUNDE"></span><span id="_CPPv2N5shaka5error4Code9NOT_FOUNDE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202afa648960bdde267d5c7ca2a656587c38"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">NOT_FOUND</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code9NOT_FOUNDE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code14ALREADY_EXISTSE">
<span id="_CPPv3N5shaka5error4Code14ALREADY_EXISTSE"></span><span id="_CPPv2N5shaka5error4Code14ALREADY_EXISTSE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a904de325c12b4fd80fbdad4fb6648ab1"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">ALREADY_EXISTS</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code14ALREADY_EXISTSE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
<dl class="cpp enumerator">
<dt class="sig sig-object cpp" id="_CPPv4N5shaka5error4Code16TRICK_PLAY_ERRORE">
<span id="_CPPv3N5shaka5error4Code16TRICK_PLAY_ERRORE"></span><span id="_CPPv2N5shaka5error4Code16TRICK_PLAY_ERRORE"></span><span class="target" id="d1/d13/status_8h_1a792f290a20d02dd2876d806006fca202a82bdf348d48e12f7d62ca6754a6137cc"></span><span class="k"><span class="pre">enumerator</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">TRICK_PLAY_ERROR</span></span></span><a class="headerlink" href="#_CPPv4N5shaka5error4Code16TRICK_PLAY_ERRORE" title="Permalink to this definition"></a><br /></dt>
<dd></dd></dl>
</dd></dl>
</section>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="docker_instructions.html"
title="previous chapter">Using Docker</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="tutorials/encoding.html"
title="next chapter">Media Encoding</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/library_details.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="tutorials/encoding.html" title="Media Encoding"
>next</a> |</li>
<li class="right" >
<a href="docker_instructions.html" title="Using Docker"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Shaka Packager documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Shaka Packager Library (Continued)</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2017, Google.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.0.2.
</div>
</body>
</html>