234 lines
39 KiB
HTML
234 lines
39 KiB
HTML
<!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 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 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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </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> <span class="comment">// Copyright 2017 Google Inc. All rights reserved.</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <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> <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> <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> </div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#ifndef PACKAGER_PACKAGER_H_</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <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> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <memory></span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <string></span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <vector></span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "packager/hls/public/hls_params.h"</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "packager/file/public/buffer_callback_params.h"</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "packager/media/public/chunking_params.h"</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "packager/media/public/crypto_params.h"</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "packager/media/public/mp4_output_params.h"</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "packager/mpd/public/mpd_params.h"</span></div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "packager/status.h"</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">namespace </span>shaka {</div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="../../d6/d62/structshaka_1_1TestParams.html"> 25</a></span> <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>  <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>  <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>  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> };</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html"> 37</a></span> <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>  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>  <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>  <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> </div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#a9206160a0fb92a9e9ee27fd8e9725ea1"> 47</a></span>  <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="l00049"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#acfa10a8e9c877a3c2baf83525837a254"> 49</a></span>  <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="l00051"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#a88e4e2cc444fb79b8e35075dd5a20fbe"> 51</a></span>  <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="l00052"></a><span class="lineno"> 52</span> </div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#a7792bf4a71a35d2a3f99d8b4806a3913"> 54</a></span>  <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="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="../../d1/d4f/structshaka_1_1DecryptionParams.html">DecryptionParams</a> decryption_params;</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="../../d5/de3/structshaka_1_1PackagingParams.html#aaaf233248e46b6ff3285bbac87857f81"> 58</a></span>  <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="l00059"></a><span class="lineno"> 59</span> </div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// Parameters for testing. Do not use in production.</span></div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="../../d6/d62/structshaka_1_1TestParams.html">TestParams</a> test_params;</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> };</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html"> 65</a></span> <span class="keyword">struct </span><a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html">StreamDescriptor</a> {</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#ae86324b838baa66dbab9a3d35352e200"> 67</a></span>  std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#ae86324b838baa66dbab9a3d35352e200">input</a>;</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a386c5e3717b5f982f72698abba09df2c"> 71</a></span>  std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a386c5e3717b5f982f72698abba09df2c">stream_selector</a>;</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a08ce812991297de47354b99cdaec5415"> 75</a></span>  std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a08ce812991297de47354b99cdaec5415">output</a>;</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#af3e55c8970e8a7604ca79a98f4642872"> 77</a></span>  std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#af3e55c8970e8a7604ca79a98f4642872">segment_template</a>;</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a025d9a9a1612654da2b0c99fe81378db"> 81</a></span>  std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a025d9a9a1612654da2b0c99fe81378db">output_format</a>;</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#abbaf07b1faa84803478f89bc6dd8cb4a"> 84</a></span>  <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="l00089"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a8f2a517450433cf69bbc87cef17d05cf"> 89</a></span>  std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a8f2a517450433cf69bbc87cef17d05cf">drm_label</a>;</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a5cc00f367691729460e0b75b8ec6c512"> 93</a></span>  uint32_t <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a5cc00f367691729460e0b75b8ec6c512">trick_play_factor</a> = 0;</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a9bcce2ca86a33f41803f7a6417a2758c"> 97</a></span>  uint32_t <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a9bcce2ca86a33f41803f7a6417a2758c">bandwidth</a> = 0;</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#af2e3479d90070a03a801ecc5a3d35d7e"> 100</a></span>  std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#af2e3479d90070a03a801ecc5a3d35d7e">language</a>;</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a92efcc01f52430f3d3ec030beb8c65c7"> 104</a></span>  std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a92efcc01f52430f3d3ec030beb8c65c7">hls_name</a>;</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a25764b4ffa8cb0da3b88cc251928ad96"> 107</a></span>  std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a25764b4ffa8cb0da3b88cc251928ad96">hls_group_id</a>;</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#aa0d36cf55c46def14bc2fa6c293859ef"> 110</a></span>  std::string <a class="code" href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#aa0d36cf55c46def14bc2fa6c293859ef">hls_playlist_name</a>;</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> };</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="../../db/dd0/classshaka_1_1Packager.html"> 113</a></span> <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="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="../../db/dd0/classshaka_1_1Packager.html">Packager</a>();</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  ~<a class="code" href="../../db/dd0/classshaka_1_1Packager.html">Packager</a>();</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="../../d2/d20/classshaka_1_1Status.html">Status</a> Initialize(</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">const</span> <a class="code" href="../../d5/de3/structshaka_1_1PackagingParams.html">PackagingParams</a>& packaging_params,</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">const</span> std::vector<StreamDescriptor>& stream_descriptors);</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="../../d2/d20/classshaka_1_1Status.html">Status</a> Run();</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordtype">void</span> Cancel();</div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">static</span> std::string GetLibraryVersion();</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keyword">static</span> std::string DefaultStreamLabelFunction(</div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordtype">int</span> max_sd_pixels,</div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordtype">int</span> max_hd_pixels,</div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordtype">int</span> max_uhd1_pixels,</div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keyword">const</span> <a class="code" href="../../d7/d6d/structshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes.html">EncryptionParams::EncryptedStreamAttributes</a>& stream_attributes);</div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <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>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <a class="code" href="../../db/dd0/classshaka_1_1Packager.html">Packager</a>& operator=(<span class="keyword">const</span> <a class="code" href="../../db/dd0/classshaka_1_1Packager.html">Packager</a>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keyword">struct </span>PackagerInternal;</div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  std::unique_ptr<PackagerInternal> internal_;</div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> };</div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> } <span class="comment">// namespace shaka</span></div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <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#l00071">packager.h:71</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#l00058">packager.h:58</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#l00065">packager.h:65</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#l00067">packager.h:67</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#l00051">packager.h:51</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#l00110">packager.h:110</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#l00104">packager.h:104</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#l00077">packager.h:77</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#l00081">packager.h:81</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#l00049">packager.h:49</a></div></div>
|
|
<div class="ttc" id="structshaka_1_1StreamDescriptor_html_a8f2a517450433cf69bbc87cef17d05cf"><div class="ttname"><a href="../../d2/d7b/structshaka_1_1StreamDescriptor.html#a8f2a517450433cf69bbc87cef17d05cf">shaka::StreamDescriptor::drm_label</a></div><div class="ttdeci">std::string drm_label</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/db5/packager_8h_source.html#l00089">packager.h:89</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#l00113">packager.h:113</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#l00054">packager.h:54</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#l00093">packager.h:93</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#l00075">packager.h:75</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#l00188">crypto_params.h:188</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#l00047">packager.h:47</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#l00121">crypto_params.h:121</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#l00147">crypto_params.h:147</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#l00097">packager.h:97</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#l00084">packager.h:84</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#l00100">packager.h:100</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#l00107">packager.h:107</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Tue Oct 24 2017 15:50:09 for Shaka Packager SDK by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.6
|
|
</small></address>
|
|
</body>
|
|
</html>
|