<divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">// Copyright 2017 Google Inc. All rights reserved.</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment">//</span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment">// Use of this source code is governed by a BSD-style</span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment">// license that can be found in the LICENSE file or at</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment">// https://developers.google.com/open-source/licenses/bsd</span></div><divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> </div><divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="preprocessor">#ifndef PACKAGER_PACKAGER_H_</span></div><divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="preprocessor">#define PACKAGER_PACKAGER_H_</span></div><divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> </div><divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="preprocessor">#include <memory></span></div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="preprocessor">#include <string></span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="preprocessor">#include <vector></span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> </div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="preprocessor">#include "packager/file/public/buffer_callback_params.h"</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="preprocessor">#include "packager/hls/public/hls_params.h"</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="preprocessor">#include "packager/media/public/ad_cue_generator_params.h"</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="preprocessor">#include "packager/media/public/chunking_params.h"</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="preprocessor">#include "packager/media/public/crypto_params.h"</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="preprocessor">#include "packager/media/public/mp4_output_params.h"</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="preprocessor">#include "packager/mpd/public/mpd_params.h"</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="preprocessor">#include "packager/status.h"</span></div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> </div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="keyword">namespace </span><aclass="code"href="../../d8/daf/namespaceshaka.html">shaka</a> {</div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> </div><divclass="line"><aname="l00026"></a><spanclass="lineno"><aclass="line"href="../../d6/d62/structshaka_1_1TestParams.html"> 26</a></span> <spanclass="keyword">struct </span><aclass="code"href="../../d6/d62/structshaka_1_1TestParams.html">TestParams</a> {</div><divclass="line"><aname="l00028"></a><spanclass="lineno"><aclass="line"href="../../d6/d62/structshaka_1_1TestParams.html#a7a22e04cdfc14d73266397bf673fae6e"> 28</a></span> <spanclass="keywordtype">bool</span><aclass="code"href="../../d6/d62/structshaka_1_1TestParams.html#a7
<divclass="ttc"id="structshaka_1_1MpdParams_html"><divclass="ttname"><ahref="../../df/ddc/structshaka_1_1MpdParams.html">shaka::MpdParams</a></div><divclass="ttdoc">DASH MPD related parameters. </div><divclass="ttdef"><b>Definition:</b><ahref="../../d3/d07/mpd__params_8h_source.html#l00016">mpd_params.h:16</a></div></div>
<divclass="ttc"id="structshaka_1_1StreamDescriptor_html"><divclass="ttname"><ahref="../../d2/d7b/structshaka_1_1StreamDescriptor.html">shaka::StreamDescriptor</a></div><divclass="ttdoc">Defines a single input/output stream. </div><divclass="ttdef"><b>Definition:</b><ahref="../../dd/db5/packager_8h_source.html#l00073">packager.h:73</a></div></div>
<divclass="ttc"id="structshaka_1_1StreamDescriptor_html_ae86324b838baa66dbab9a3d35352e200"><divclass="ttname"><ahref="../../d2/d7b/structshaka_1_1StreamDescriptor.html#ae86324b838baa66dbab9a3d35352e200">shaka::StreamDescriptor::input</a></div><divclass="ttdeci">std::string input</div><divclass="ttdoc">Input/source media file path or network stream URL. Required. </div><divclass="ttdef"><b>Definition:</b><ahref="../../dd/db5/packager_8h_source.html#l00075">packager.h:75</a></div></div>
<divclass="ttc"id="structshaka_1_1PackagingParams_html_a88e4e2cc444fb79b8e35075dd5a20fbe"><divclass="ttname"><ahref="../../d5/de3/structshaka_1_1PackagingParams.html#a88e4e2cc444fb79b8e35075dd5a20fbe">shaka::PackagingParams::hls_params</a></div><divclass="ttdeci">HlsParams hls_params</div><divclass="ttdoc">HLS related parameters. </div><divclass="ttdef"><b>Definition:</b><ahref="../../dd/db5/packager_8h_source.html#l00059">packager.h:59</a></div></div>
<divclass="ttc"id="structshaka_1_1PackagingParams_html_ac992ff58f67ad9b737dfc62d517be8ed"><divclass="ttname"><ahref="../../d5/de3/structshaka_1_1PackagingParams.html#ac992ff58f67ad9b737dfc62d517be8ed">shaka::PackagingParams::chunking_params</a></div><divclass="ttdeci">ChunkingParams chunking_params</div><divclass="ttdoc">Chunking (segmentation) related parameters. </div><divclass="ttdef"><b>Definition:</b><ahref="../../dd/db5/packager_8h_source.html#l00048">packager.h:48</a></div></div>
<divclass="ttc"id="structshaka_1_1HlsParams_html"><divclass="ttname"><ahref="../../d0/da8/structshaka_1_1HlsParams.html">shaka::HlsParams</a></div><divclass="ttdoc">HLS related parameters. </div><divclass="ttdef"><b>Definition:</b><ahref="../../d6/d47/hls__params_8h_source.html#l00023">hls_params.h:23</a></div></div>
<divclass="ttc"id="structshaka_1_1StreamDescriptor_html_af3e55c8970e8a7604ca79a98f4642872"><divclass="ttname"><ahref="../../d2/d7b/structshaka_1_1StreamDescriptor.html#af3e55c8970e8a7604ca79a98f4642872">shaka::StreamDescriptor::segment_template</a></div><divclass="ttdeci">std::string segment_template</div><divclass="ttdoc">Specifies segment template. Can be empty. </div><divclass="ttdef"><b>Definition:</b><ahref="../../dd/db5/packager_8h_source.html#l00085">packager.h:85</a></div></div>
<divclass="ttc"id="structshaka_1_1TestParams_html"><divclass="ttname"><ahref="../../d6/d62/structshaka_1_1TestParams.html">shaka::TestParams</a></div><divclass="ttdoc">Parameters used for testing. </div><divclass="ttdef"><b>Definition:</b><ahref="../../dd/db5/packager_8h_source.html#l00026">packager.h:26</a></div></div>
<divclass="ttc"id="namespaceshaka_html"><divclass="ttname"><ahref="../../d8/daf/namespaceshaka.html">shaka</a></div><divclass="ttdoc">All the methods that are virtual are virtual for mocking. </div><divclass="ttdef"><b>Definition:</b><ahref="../../d4/d15/gflags__hex__bytes_8cc_source.html#l00011">gflags_hex_bytes.cc:11</a></div></div>
<divclass="ttc"id="structshaka_1_1PackagingParams_html_aa52d546c86b3b36234bcfc0cd50ef083"><divclass="ttname"><ahref="../../d5/de3/structshaka_1_1PackagingParams.html#aa52d546c86b3b36234bcfc0cd50ef083">shaka::PackagingParams::ad_cue_generator_params</a></div><divclass="ttdeci">AdCueGeneratorParams ad_cue_generator_params</div><divclass="ttdoc">Out of band cuepoint parameters. </div><divclass="ttdef"><b>Definition:</b><ahref="../../dd/db5/packager_8h_source.html#l00051">packager.h:51</a></div></div>
<divclass="ttc"id="structshaka_1_1PackagingParams_html_ae179e88ad853856b0e006326ff445f6e"><divclass="ttname"><ahref="../../d5/de3/structshaka_1_1PackagingParams.html#ae179e88ad853856b0e006326ff445f6e">shaka::PackagingParams::temp_dir</a></div><divclass="ttdeci">std::string temp_dir</div><divclass="ttdoc">Specify temporary directory for intermediate temporary files. </div><divclass="ttdef"><b>Definition:</b><ahref="../../dd/db5/packager_8h_source.html#l00040">packager.h:40</a></div></div>
<divclass="ttc"id="structshaka_1_1AdCueGeneratorParams_html"><divclass="ttname"><ahref="../../dd/dfd/structshaka_1_1AdCueGeneratorParams.html">shaka::AdCueGeneratorParams</a></div><divclass="ttdoc">Cuepoint generator related parameters. </div><divclass="ttdef"><b>Definition:</b><ahref="../../d3/d6f/ad__cue__generator__params_8h_source.html#l00023">ad_cue_generator_params.h:23</a></div></div>
<divclass="ttc"id="structshaka_1_1PackagingParams_html_a794072e13c04de6b98e5d1e7cc5b57d6"><divclass="ttname"><ahref="../../d5/de3/structshaka_1_1PackagingParams.html#a794072e13c04de6b98e5d1e7cc5b57d6">shaka::PackagingParams::mp4_output_params</a></div><divclass="ttdeci">Mp4OutputParams mp4_output_params</div><divclass="ttdoc">MP4 (ISO-BMFF) output related parameters. </div><divclass="ttdef"><b>Definition:</b><ahref="../../dd/db5/packager_8h_source.html#l00042">packager.h:42</a></div></div>
<divclass="ttc"id="structshaka_1_1ChunkingParams_html"><divclass="ttname"><ahref="../../d2/d1f/structshaka_1_1ChunkingParams.html">shaka::ChunkingParams</a></div><divclass="ttdoc">Chunking (segmentation) related parameters. </div><divclass="ttdef"><b>Definition:</b><ahref="../../db/d79/chunking__params_8h_source.html#l00013">chunking_params.h:13</a></div></div>
<divclass="ttc"id="structshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes_html"><divclass="ttname"><ahref="../../d7/d6d/structshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes.html">shaka::EncryptionParams::EncryptedStreamAttributes</a></div><divclass="ttdoc">Encrypted stream information that is used to determine stream label. </div><divclass="ttdef"><b>Definition:</b><ahref="../../dd/d58/crypto__params_8h_source.html#l00144">crypto_params.h:144</a></div></div>