shaka-packager/docs/dd/db5/packager_8h_source.html

232 lines
38 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Shaka Packager SDK: packager/packager.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Shaka Packager SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
<li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
<li><a href="../../annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="../../search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="../../files.html"><span>File&#160;List</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="../../dir_3f8eec2fc361645de4b1ec14c19fffc7.html">packager</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">packager.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// Copyright 2017 Google Inc. All rights reserved.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// Use of this source code is governed by a BSD-style</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// license that can be found in the LICENSE file or at</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// https://developers.google.com/open-source/licenses/bsd</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#ifndef PACKAGER_PACKAGER_H_</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PACKAGER_PACKAGER_H_</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;packager/hls/public/hls_params.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &quot;packager/file/public/buffer_callback_params.h&quot;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &quot;packager/media/public/chunking_params.h&quot;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &quot;packager/media/public/crypto_params.h&quot;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;packager/media/public/mp4_output_params.h&quot;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;packager/mpd/public/mpd_params.h&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;packager/status.h&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span>shaka {</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="../../d6/d62/structshaka_1_1TestParams.html"> 25</a></span>&#160;<span class="keyword">struct </span><a class="code" href="../../d6/d62/structshaka_1_1TestParams.html">TestParams</a> {</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="../../d6/d62/structshaka_1_1TestParams.html#a7a22e04cdfc14d73266397bf673fae6e"> 27</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="../../d6/d62/structshaka_1_1TestParams.html#a7a22e04cdfc14d73266397bf673fae6e">dump_stream_info</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../d6/d62/structshaka_1_1TestParams.html#a90ba653c71c94709b8ef3e7c3cc07e6c"> 30</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="../../d6/d62/structshaka_1_1TestParams.html#a90ba653c71c94709b8ef3e7c3cc07e6c">inject_fake_clock</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="../../d6/d62/structshaka_1_1TestParams.html#ac72df3ec74369d0723f0217eac6b5098"> 33</a></span>&#160; std::string <a class="code" href="../../d6/d62/structshaka_1_1TestParams.html#ac72df3ec74369d0723f0217eac6b5098">injected_library_version</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;};</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html"> 37</a></span>&#160;<span class="keyword">struct </span><a class="code" href="../../d5/de3/structshaka_1_1PackagingParams.html">PackagingParams</a> {</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#ae179e88ad853856b0e006326ff445f6e"> 39</a></span>&#160; std::string <a class="code" href="../../d5/de3/structshaka_1_1PackagingParams.html#ae179e88ad853856b0e006326ff445f6e">temp_dir</a>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#a794072e13c04de6b98e5d1e7cc5b57d6"> 41</a></span>&#160; <a class="code" href="../../d0/d43/structshaka_1_1Mp4OutputParams.html">Mp4OutputParams</a> <a class="code" href="../../d5/de3/structshaka_1_1PackagingParams.html#a794072e13c04de6b98e5d1e7cc5b57d6">mp4_output_params</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#ac992ff58f67ad9b737dfc62d517be8ed"> 43</a></span>&#160; <a class="code" href="../../d2/d1f/structshaka_1_1ChunkingParams.html">ChunkingParams</a> <a class="code" href="../../d5/de3/structshaka_1_1PackagingParams.html#ac992ff58f67ad9b737dfc62d517be8ed">chunking_params</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#a9206160a0fb92a9e9ee27fd8e9725ea1"> 49</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="../../d5/de3/structshaka_1_1PackagingParams.html#a9206160a0fb92a9e9ee27fd8e9725ea1">output_media_info</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#acfa10a8e9c877a3c2baf83525837a254"> 51</a></span>&#160; <a class="code" href="../../df/ddc/structshaka_1_1MpdParams.html">MpdParams</a> <a class="code" href="../../d5/de3/structshaka_1_1PackagingParams.html#acfa10a8e9c877a3c2baf83525837a254">mpd_params</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#a88e4e2cc444fb79b8e35075dd5a20fbe"> 53</a></span>&#160; <a class="code" href="../../d0/da8/structshaka_1_1HlsParams.html">HlsParams</a> <a class="code" href="../../d5/de3/structshaka_1_1PackagingParams.html#a88e4e2cc444fb79b8e35075dd5a20fbe">hls_params</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#a7792bf4a71a35d2a3f99d8b4806a3913"> 56</a></span>&#160; <a class="code" href="../../dc/da0/structshaka_1_1EncryptionParams.html">EncryptionParams</a> <a class="code" href="../../d5/de3/structshaka_1_1PackagingParams.html#a7792bf4a71a35d2a3f99d8b4806a3913">encryption_params</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="../../d1/d4f/structshaka_1_1DecryptionParams.html">DecryptionParams</a> decryption_params;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#aaaf233248e46b6ff3285bbac87857f81"> 60</a></span>&#160; <a class="code" href="../../d9/da8/structshaka_1_1BufferCallbackParams.html">BufferCallbackParams</a> <a class="code" href="../../d5/de3/structshaka_1_1PackagingParams.html#aaaf233248e46b6ff3285bbac87857f81">buffer_callback_params</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="comment">// Parameters for testing. Do not use in production.</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <a class="code" href="../../d6/d62/structshaka_1_1TestParams.html">TestParams</a> test_params;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;};</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html"> 67</a></span>&#160;<span class="keyword">struct </span><a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html">StreamDescriptor</a> {</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#ae86324b838baa66dbab9a3d35352e200"> 69</a></span>&#160; std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#ae86324b838baa66dbab9a3d35352e200">input</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a386c5e3717b5f982f72698abba09df2c"> 73</a></span>&#160; std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a386c5e3717b5f982f72698abba09df2c">stream_selector</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a08ce812991297de47354b99cdaec5415"> 77</a></span>&#160; std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a08ce812991297de47354b99cdaec5415">output</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#af3e55c8970e8a7604ca79a98f4642872"> 79</a></span>&#160; std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#af3e55c8970e8a7604ca79a98f4642872">segment_template</a>;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a025d9a9a1612654da2b0c99fe81378db"> 83</a></span>&#160; std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a025d9a9a1612654da2b0c99fe81378db">output_format</a>;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#abbaf07b1faa84803478f89bc6dd8cb4a"> 86</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#abbaf07b1faa84803478f89bc6dd8cb4a">skip_encryption</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a5cc00f367691729460e0b75b8ec6c512"> 90</a></span>&#160; uint32_t <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a5cc00f367691729460e0b75b8ec6c512">trick_play_factor</a> = 0;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a9bcce2ca86a33f41803f7a6417a2758c"> 94</a></span>&#160; uint32_t <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a9bcce2ca86a33f41803f7a6417a2758c">bandwidth</a> = 0;</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#af2e3479d90070a03a801ecc5a3d35d7e"> 97</a></span>&#160; std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#af2e3479d90070a03a801ecc5a3d35d7e">language</a>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a92efcc01f52430f3d3ec030beb8c65c7"> 101</a></span>&#160; std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a92efcc01f52430f3d3ec030beb8c65c7">hls_name</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a25764b4ffa8cb0da3b88cc251928ad96"> 104</a></span>&#160; std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a25764b4ffa8cb0da3b88cc251928ad96">hls_group_id</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#aa0d36cf55c46def14bc2fa6c293859ef"> 107</a></span>&#160; std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#aa0d36cf55c46def14bc2fa6c293859ef">hls_playlist_name</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;};</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="../../db/dd0/classshaka_1_1Packager.html"> 110</a></span>&#160;<span class="keyword">class </span>SHAKA_EXPORT <a class="code" href="../../db/dd0/classshaka_1_1Packager.html">Packager</a> {</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <a class="code" href="../../db/dd0/classshaka_1_1Packager.html">Packager</a>();</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; ~<a class="code" href="../../db/dd0/classshaka_1_1Packager.html">Packager</a>();</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="../../d2/d20/classshaka_1_1Status.html">Status</a> Initialize(</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keyword">const</span> <a class="code" href="../../d5/de3/structshaka_1_1PackagingParams.html">PackagingParams</a>&amp; packaging_params,</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keyword">const</span> std::vector&lt;StreamDescriptor&gt;&amp; stream_descriptors);</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="../../d2/d20/classshaka_1_1Status.html">Status</a> Run();</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordtype">void</span> Cancel();</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keyword">static</span> std::string GetLibraryVersion();</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keyword">static</span> std::string DefaultStreamLabelFunction(</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordtype">int</span> max_sd_pixels,</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordtype">int</span> max_hd_pixels,</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordtype">int</span> max_uhd1_pixels,</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keyword">const</span> <a class="code" href="../../d7/d6d/structshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes.html">EncryptionParams::EncryptedStreamAttributes</a>&amp; stream_attributes);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <a class="code" href="../../db/dd0/classshaka_1_1Packager.html">Packager</a>(<span class="keyword">const</span> <a class="code" href="../../db/dd0/classshaka_1_1Packager.html">Packager</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <a class="code" href="../../db/dd0/classshaka_1_1Packager.html">Packager</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="../../db/dd0/classshaka_1_1Packager.html">Packager</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keyword">struct </span>PackagerInternal;</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; std::unique_ptr&lt;PackagerInternal&gt; internal_;</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;};</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;} <span class="comment">// namespace shaka</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;<span class="preprocessor">#endif // PACKAGER_PACKAGER_H_</span></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_a386c5e3717b5f982f72698abba09df2c"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a386c5e3717b5f982f72698abba09df2c">shaka::StreamDescriptor::stream_selector</a></div><div class="ttdeci">std::string stream_selector</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00073">packager.h:73</a></div></div>
<div class="ttc" id="structshaka_1_1PackagingParams_html_aaaf233248e46b6ff3285bbac87857f81"><div class="ttname"><a href="../../d5/de3/structshaka_1_1PackagingParams.html#aaaf233248e46b6ff3285bbac87857f81">shaka::PackagingParams::buffer_callback_params</a></div><div class="ttdeci">BufferCallbackParams buffer_callback_params</div><div class="ttdoc">Buffer callback params. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00060">packager.h:60</a></div></div>
<div class="ttc" id="structshaka_1_1MpdParams_html"><div class="ttname"><a href="../../df/ddc/structshaka_1_1MpdParams.html">shaka::MpdParams</a></div><div class="ttdoc">DASH MPD related parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d07/mpd__params_8h_source.html#l00016">mpd_params.h:16</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html">shaka::StreamDescriptor</a></div><div class="ttdoc">Defines a single input/output stream. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00067">packager.h:67</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_ae86324b838baa66dbab9a3d35352e200"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#ae86324b838baa66dbab9a3d35352e200">shaka::StreamDescriptor::input</a></div><div class="ttdeci">std::string input</div><div class="ttdoc">Input/source media file path or network stream URL. Required. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00069">packager.h:69</a></div></div>
<div class="ttc" id="structshaka_1_1PackagingParams_html_a88e4e2cc444fb79b8e35075dd5a20fbe"><div class="ttname"><a href="../../d5/de3/structshaka_1_1PackagingParams.html#a88e4e2cc444fb79b8e35075dd5a20fbe">shaka::PackagingParams::hls_params</a></div><div class="ttdeci">HlsParams hls_params</div><div class="ttdoc">HLS related parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00053">packager.h:53</a></div></div>
<div class="ttc" id="structshaka_1_1PackagingParams_html_ac992ff58f67ad9b737dfc62d517be8ed"><div class="ttname"><a href="../../d5/de3/structshaka_1_1PackagingParams.html#ac992ff58f67ad9b737dfc62d517be8ed">shaka::PackagingParams::chunking_params</a></div><div class="ttdeci">ChunkingParams chunking_params</div><div class="ttdoc">Chunking (segmentation) related parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00043">packager.h:43</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_aa0d36cf55c46def14bc2fa6c293859ef"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#aa0d36cf55c46def14bc2fa6c293859ef">shaka::StreamDescriptor::hls_playlist_name</a></div><div class="ttdeci">std::string hls_playlist_name</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00107">packager.h:107</a></div></div>
<div class="ttc" id="structshaka_1_1HlsParams_html"><div class="ttname"><a href="../../d0/da8/structshaka_1_1HlsParams.html">shaka::HlsParams</a></div><div class="ttdoc">HLS related parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d47/hls__params_8h_source.html#l00023">hls_params.h:23</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_a92efcc01f52430f3d3ec030beb8c65c7"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a92efcc01f52430f3d3ec030beb8c65c7">shaka::StreamDescriptor::hls_name</a></div><div class="ttdeci">std::string hls_name</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00101">packager.h:101</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_af3e55c8970e8a7604ca79a98f4642872"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#af3e55c8970e8a7604ca79a98f4642872">shaka::StreamDescriptor::segment_template</a></div><div class="ttdeci">std::string segment_template</div><div class="ttdoc">Specifies segment template. Can be empty. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00079">packager.h:79</a></div></div>
<div class="ttc" id="structshaka_1_1TestParams_html_a90ba653c71c94709b8ef3e7c3cc07e6c"><div class="ttname"><a href="../../d6/d62/structshaka_1_1TestParams.html#a90ba653c71c94709b8ef3e7c3cc07e6c">shaka::TestParams::inject_fake_clock</a></div><div class="ttdeci">bool inject_fake_clock</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00030">packager.h:30</a></div></div>
<div class="ttc" id="structshaka_1_1TestParams_html"><div class="ttname"><a href="../../d6/d62/structshaka_1_1TestParams.html">shaka::TestParams</a></div><div class="ttdoc">Parameters used for testing. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00025">packager.h:25</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_a025d9a9a1612654da2b0c99fe81378db"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a025d9a9a1612654da2b0c99fe81378db">shaka::StreamDescriptor::output_format</a></div><div class="ttdeci">std::string output_format</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00083">packager.h:83</a></div></div>
<div class="ttc" id="structshaka_1_1TestParams_html_a7a22e04cdfc14d73266397bf673fae6e"><div class="ttname"><a href="../../d6/d62/structshaka_1_1TestParams.html#a7a22e04cdfc14d73266397bf673fae6e">shaka::TestParams::dump_stream_info</a></div><div class="ttdeci">bool dump_stream_info</div><div class="ttdoc">Whether to dump input stream info. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00027">packager.h:27</a></div></div>
<div class="ttc" id="classshaka_1_1Status_html"><div class="ttname"><a href="../../d2/d20/classshaka_1_1Status.html">shaka::Status</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d13/status_8h_source.html#l00110">status.h:110</a></div></div>
<div class="ttc" id="structshaka_1_1TestParams_html_ac72df3ec74369d0723f0217eac6b5098"><div class="ttname"><a href="../../d6/d62/structshaka_1_1TestParams.html#ac72df3ec74369d0723f0217eac6b5098">shaka::TestParams::injected_library_version</a></div><div class="ttdeci">std::string injected_library_version</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00033">packager.h:33</a></div></div>
<div class="ttc" id="structshaka_1_1PackagingParams_html_acfa10a8e9c877a3c2baf83525837a254"><div class="ttname"><a href="../../d5/de3/structshaka_1_1PackagingParams.html#acfa10a8e9c877a3c2baf83525837a254">shaka::PackagingParams::mpd_params</a></div><div class="ttdeci">MpdParams mpd_params</div><div class="ttdoc">DASH MPD related parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00051">packager.h:51</a></div></div>
<div class="ttc" id="structshaka_1_1Mp4OutputParams_html"><div class="ttname"><a href="../../d0/d43/structshaka_1_1Mp4OutputParams.html">shaka::Mp4OutputParams</a></div><div class="ttdoc">MP4 (ISO-BMFF) output related parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dbe/mp4__output__params_8h_source.html#l00013">mp4_output_params.h:13</a></div></div>
<div class="ttc" id="classshaka_1_1Packager_html"><div class="ttname"><a href="../../db/dd0/classshaka_1_1Packager.html">shaka::Packager</a></div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00110">packager.h:110</a></div></div>
<div class="ttc" id="structshaka_1_1PackagingParams_html_ae179e88ad853856b0e006326ff445f6e"><div class="ttname"><a href="../../d5/de3/structshaka_1_1PackagingParams.html#ae179e88ad853856b0e006326ff445f6e">shaka::PackagingParams::temp_dir</a></div><div class="ttdeci">std::string temp_dir</div><div class="ttdoc">Specify temporary directory for intermediate temporary files. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00039">packager.h:39</a></div></div>
<div class="ttc" id="structshaka_1_1PackagingParams_html_a794072e13c04de6b98e5d1e7cc5b57d6"><div class="ttname"><a href="../../d5/de3/structshaka_1_1PackagingParams.html#a794072e13c04de6b98e5d1e7cc5b57d6">shaka::PackagingParams::mp4_output_params</a></div><div class="ttdeci">Mp4OutputParams mp4_output_params</div><div class="ttdoc">MP4 (ISO-BMFF) output related parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00041">packager.h:41</a></div></div>
<div class="ttc" id="structshaka_1_1PackagingParams_html_a7792bf4a71a35d2a3f99d8b4806a3913"><div class="ttname"><a href="../../d5/de3/structshaka_1_1PackagingParams.html#a7792bf4a71a35d2a3f99d8b4806a3913">shaka::PackagingParams::encryption_params</a></div><div class="ttdeci">EncryptionParams encryption_params</div><div class="ttdoc">Encryption and Decryption Parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00056">packager.h:56</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_a5cc00f367691729460e0b75b8ec6c512"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a5cc00f367691729460e0b75b8ec6c512">shaka::StreamDescriptor::trick_play_factor</a></div><div class="ttdeci">uint32_t trick_play_factor</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00090">packager.h:90</a></div></div>
<div class="ttc" id="structshaka_1_1ChunkingParams_html"><div class="ttname"><a href="../../d2/d1f/structshaka_1_1ChunkingParams.html">shaka::ChunkingParams</a></div><div class="ttdoc">Chunking (segmentation) related parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d79/chunking__params_8h_source.html#l00013">chunking_params.h:13</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_a08ce812991297de47354b99cdaec5415"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a08ce812991297de47354b99cdaec5415">shaka::StreamDescriptor::output</a></div><div class="ttdeci">std::string output</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00077">packager.h:77</a></div></div>
<div class="ttc" id="structshaka_1_1DecryptionParams_html"><div class="ttname"><a href="../../d1/d4f/structshaka_1_1DecryptionParams.html">shaka::DecryptionParams</a></div><div class="ttdoc">Decryption parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d58/crypto__params_8h_source.html#l00199">crypto_params.h:199</a></div></div>
<div class="ttc" id="structshaka_1_1PackagingParams_html_a9206160a0fb92a9e9ee27fd8e9725ea1"><div class="ttname"><a href="../../d5/de3/structshaka_1_1PackagingParams.html#a9206160a0fb92a9e9ee27fd8e9725ea1">shaka::PackagingParams::output_media_info</a></div><div class="ttdeci">bool output_media_info</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00049">packager.h:49</a></div></div>
<div class="ttc" id="structshaka_1_1EncryptionParams_html"><div class="ttname"><a href="../../dc/da0/structshaka_1_1EncryptionParams.html">shaka::EncryptionParams</a></div><div class="ttdoc">Encryption parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d58/crypto__params_8h_source.html#l00119">crypto_params.h:119</a></div></div>
<div class="ttc" id="structshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes_html"><div class="ttname"><a href="../../d7/d6d/structshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes.html">shaka::EncryptionParams::EncryptedStreamAttributes</a></div><div class="ttdoc">Encrypted stream information that is used to determine stream label. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d58/crypto__params_8h_source.html#l00145">crypto_params.h:145</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_a9bcce2ca86a33f41803f7a6417a2758c"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a9bcce2ca86a33f41803f7a6417a2758c">shaka::StreamDescriptor::bandwidth</a></div><div class="ttdeci">uint32_t bandwidth</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00094">packager.h:94</a></div></div>
<div class="ttc" id="structshaka_1_1PackagingParams_html"><div class="ttname"><a href="../../d5/de3/structshaka_1_1PackagingParams.html">shaka::PackagingParams</a></div><div class="ttdoc">Packaging parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00037">packager.h:37</a></div></div>
<div class="ttc" id="structshaka_1_1BufferCallbackParams_html"><div class="ttname"><a href="../../d9/da8/structshaka_1_1BufferCallbackParams.html">shaka::BufferCallbackParams</a></div><div class="ttdoc">Buffer callback params. </div><div class="ttdef"><b>Definition:</b> <a href="../../dc/da3/buffer__callback__params_8h_source.html#l00015">buffer_callback_params.h:15</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_abbaf07b1faa84803478f89bc6dd8cb4a"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#abbaf07b1faa84803478f89bc6dd8cb4a">shaka::StreamDescriptor::skip_encryption</a></div><div class="ttdeci">bool skip_encryption</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00086">packager.h:86</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_af2e3479d90070a03a801ecc5a3d35d7e"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#af2e3479d90070a03a801ecc5a3d35d7e">shaka::StreamDescriptor::language</a></div><div class="ttdeci">std::string language</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00097">packager.h:97</a></div></div>
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_a25764b4ffa8cb0da3b88cc251928ad96"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a25764b4ffa8cb0da3b88cc251928ad96">shaka::StreamDescriptor::hls_group_id</a></div><div class="ttdeci">std::string hls_group_id</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00104">packager.h:104</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Sep 19 2017 20:22:04 for Shaka Packager SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>