<spanid="shaka::Packager"></span><spanclass="target"id="db/dd0/classshaka_1_1Packager"></span><emclass="property">class </em><codeclass="descclassname">shaka::</code><codeclass="descname">Packager</code><aclass="headerlink"href="#_CPPv2N5shaka8PackagerE"title="Permalink to this definition">¶</a><br/></dt>
<spanid="shaka::Packager::Initialize__PackagingParamsCR.std::vector:StreamDescriptor:CR"></span><spanclass="target"id="db/dd0/classshaka_1_1Packager_1ae40969a98da3a27a0b1633927afb3ce2"></span><aclass="reference internal"href="library_details.html#_CPPv2N5shaka6StatusE"title="shaka::Status">Status</a><codeclass="descname">Initialize</code><spanclass="sig-paren">(</span><emclass="property">const</em><aclass="reference internal"href="library_details.html#_CPPv2N5shaka15PackagingParamsE"title="shaka::PackagingParams">PackagingParams</a>&<em>packaging_params</em>, <emclass="property">const</em> std::vector<<aclass="reference internal"href="library_details.html#_CPPv2N5shaka16StreamDescriptorE"title="shaka::StreamDescriptor">StreamDescriptor</a>>&<em>stream_descriptors</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#_CPPv2N5shaka8Packager10InitializeERK15PackagingParamsRKNSt6vectorI16StreamDescriptorEE"title="Permalink to this definition">¶</a><br/></dt>
<spanid="shaka::Packager::Run"></span><spanclass="target"id="db/dd0/classshaka_1_1Packager_1a48275206bc7032eb69607081ac0ada08"></span><aclass="reference internal"href="library_details.html#_CPPv2N5shaka6StatusE"title="shaka::Status">Status</a><codeclass="descname">Run</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#_CPPv2N5shaka8Packager3RunEv"title="Permalink to this definition">¶</a><br/></dt>
<spanid="shaka::Packager::Cancel"></span><spanclass="target"id="db/dd0/classshaka_1_1Packager_1a5323e6dc242b1cdd6208cd6ea77dd0c7"></span>void <codeclass="descname">Cancel</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#_CPPv2N5shaka8Packager6CancelEv"title="Permalink to this definition">¶</a><br/></dt>
<spanid="shaka::Packager::GetLibraryVersion"></span><spanclass="target"id="db/dd0/classshaka_1_1Packager_1a7bae5b5c202a716f5d890e70afae51b2"></span>std::string <codeclass="descname">GetLibraryVersion</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#_CPPv2N5shaka8Packager17GetLibraryVersionEv"title="Permalink to this definition">¶</a><br/></dt>
<spanid="shaka::Packager::DefaultStreamLabelFunction__i.i.i.EncryptionParams::EncryptedStreamAttributesCR"></span><spanclass="target"id="db/dd0/classshaka_1_1Packager_1a59fec4e3f33138081e5222d3553ab948"></span>std::string <codeclass="descname">DefaultStreamLabelFunction</code><spanclass="sig-paren">(</span>int <em>max_sd_pixels</em>, int <em>max_hd_pixels</em>, int <em>max_uhd1_pixels</em>, <emclass="property">const</em><aclass="reference internal"href="library_details.html#_CPPv2N5shaka16EncryptionParamsE"title="shaka::EncryptionParams">EncryptionParams</a>::<aclass="reference internal"href="library_details.html#_CPPv2N5shaka16EncryptionParams25EncryptedStreamAttributesE"title="shaka::EncryptionParams::EncryptedStreamAttributes">EncryptedStreamAttributes</a>&<em>stream_attributes</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#_CPPv2N5shaka8Packager26DefaultStreamLabelFunctionEiiiRKN16EncryptionParams25EncryptedStreamAttributesE"title="Permalink to this definition">¶</a><br/></dt>
<dd>the stream label associated with <codeclass="docutils literal"><spanclass="pre">stream_info</span></code>. Can be “AUDIO”, “SD”, “HD”, “UHD1” or “UHD2”. </dd>
<dd><ulclass="breatheparameterlist first last simple">
<li><codeclass="docutils literal"><spanclass="pre">max_sd_pixels</span></code>: The threshold to determine whether a video track should be considered as SD. If the max pixels per frame is no higher than max_sd_pixels, i.e. [0, max_sd_pixels], it is SD. </li>
<li><codeclass="docutils literal"><spanclass="pre">max_hd_pixels</span></code>: The threshold to determine whether a video track should be considered as HD. If the max pixels per frame is higher than max_sd_pixels, but no higher than max_hd_pixels, i.e. (max_sd_pixels, max_hd_pixels], it is HD. </li>
<li><codeclass="docutils literal"><spanclass="pre">max_uhd1_pixels</span></code>: The threshold to determine whether a video track should be considered as UHD1. If the max pixels per frame is higher than max_hd_pixels, but no higher than max_uhd1_pixels, i.e. (max_hd_pixels, max_uhd1_pixels], it is UHD1. Otherwise it is UHD2. </li>