Generate SDK documents for commit 8d2b87c773

This commit is contained in:
Widevine Buildbot 2017-07-20 17:10:10 +00:00
parent 9939ba1b8b
commit 56c63afb45
958 changed files with 1867 additions and 1843 deletions

View File

@ -376,7 +376,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:30 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:08 for DASH Media Packaging 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>

View File

@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:30 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:08 for DASH Media Packaging 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>

View File

@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:28 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:07 for DASH Media Packaging 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>

View File

@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:28 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:06 for DASH Media Packaging 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>

View File

@ -121,7 +121,7 @@ uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>height</b></td></
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:04 for DASH Media Packaging 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>

View File

@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:04 for DASH Media Packaging 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>

View File

@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:29 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:08 for DASH Media Packaging 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>

View File

@ -155,7 +155,7 @@ void&#160;</td><td class="memItemRight" valign="bottom"><b>Reset</b> () override
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:06 for DASH Media Packaging 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>

View File

@ -206,7 +206,7 @@ bool&#160;</td><td class="memItemRight" valign="bottom"><b>mp4_include_pssh_in_s
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:25 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:02 for DASH Media Packaging 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>

View File

@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:00 for DASH Media Packaging 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>

View File

@ -160,7 +160,7 @@ Additional Inherited Members</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:25 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:02 for DASH Media Packaging 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>

View File

@ -285,7 +285,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -302,7 +302,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:00 for DASH Media Packaging 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>

View File

@ -333,7 +333,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:25 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:01 for DASH Media Packaging 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>

View File

@ -182,7 +182,7 @@ Additional Inherited Members</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:28 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:06 for DASH Media Packaging 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>

View File

@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -152,128 +152,129 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; 0,</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="stringliteral">&quot;Crypto period duration in seconds. If it is non-zero, key &quot;</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="stringliteral">&quot;rotation is enabled.&quot;</span>);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="keyword">namespace </span>shaka {</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="keyword">namespace </span>{</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="keyword">const</span> <span class="keywordtype">bool</span> kOptional = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;} <span class="comment">// namespace</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="../../d8/daf/namespaceshaka.html#ade3cbb360c0dcaacc5667676af885008"> 72</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="../../d8/daf/namespaceshaka.html#ade3cbb360c0dcaacc5667676af885008">ValidateWidevineCryptoFlags</a>() {</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordtype">bool</span> success = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keyword">const</span> <span class="keywordtype">bool</span> widevine_crypto =</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; FLAGS_enable_widevine_encryption || FLAGS_enable_widevine_decryption;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> widevine_crypto_label[] =</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="stringliteral">&quot;--enable_widevine_encryption/decryption&quot;</span>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="comment">// key_server_url and signer (optional) are associated with</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="comment">// enable_widevine_encryption and enable_widevine_descryption.</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d8/daf/namespaceshaka.html#a952293a7213f285843f28b7363ee14d6">ValidateFlag</a>(<span class="stringliteral">&quot;key_server_url&quot;</span>,</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; FLAGS_key_server_url,</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; widevine_crypto,</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; !kOptional,</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; widevine_crypto_label)) {</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; }</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d8/daf/namespaceshaka.html#a952293a7213f285843f28b7363ee14d6">ValidateFlag</a>(<span class="stringliteral">&quot;signer&quot;</span>,</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; FLAGS_signer,</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; widevine_crypto,</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; kOptional,</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; widevine_crypto_label)) {</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; }</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keywordflow">if</span> (widevine_crypto &amp;&amp; FLAGS_signer.empty() &amp;&amp;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; base::StartsWith(base::StringPiece(FLAGS_key_server_url), <span class="stringliteral">&quot;http&quot;</span>,</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; base::CompareCase::INSENSITIVE_ASCII)) {</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; LOG(WARNING) &lt;&lt; <span class="stringliteral">&quot;--signer is likely required with &quot;</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="stringliteral">&quot;--enable_widevine_encryption/decryption.&quot;</span>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; }</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> widevine_encryption_label[] = <span class="stringliteral">&quot;--enable_widevine_encryption&quot;</span>;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="comment">// content_id and policy (optional) are associated with</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="comment">// enable_widevine_encryption.</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d8/daf/namespaceshaka.html#a952293a7213f285843f28b7363ee14d6">ValidateFlag</a>(<span class="stringliteral">&quot;content_id&quot;</span>,</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; FLAGS_content_id_bytes,</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; FLAGS_enable_widevine_encryption,</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; !kOptional,</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; widevine_encryption_label)) {</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; }</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d8/daf/namespaceshaka.html#a952293a7213f285843f28b7363ee14d6">ValidateFlag</a>(<span class="stringliteral">&quot;policy&quot;</span>,</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; FLAGS_policy,</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; FLAGS_enable_widevine_encryption,</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; kOptional,</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; widevine_encryption_label)) {</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; }</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordflow">if</span> (FLAGS_include_common_pssh &amp;&amp; !FLAGS_enable_widevine_encryption) {</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--include_common_pssh is only valid with &quot;</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="stringliteral">&quot;--enable_widevine_encryption&quot;</span>);</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; }</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keywordflow">if</span> (FLAGS_max_sd_pixels &lt;= 0) {</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--max_sd_pixels must be positive.&quot;</span>);</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; }</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordflow">if</span> (FLAGS_max_hd_pixels &lt;= 0) {</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--max_hd_pixels must be positive.&quot;</span>);</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; }</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordflow">if</span> (FLAGS_max_uhd1_pixels &lt;= 0) {</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--max_uhd1_pixels must be positive.&quot;</span>);</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; }</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">if</span> (FLAGS_max_hd_pixels &lt;= FLAGS_max_sd_pixels) {</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--max_hd_pixels must be greater than --max_sd_pixels.&quot;</span>);</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; }</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <span class="keywordflow">if</span> (FLAGS_max_uhd1_pixels &lt;= FLAGS_max_hd_pixels) {</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--max_uhd1_pixels must be greater than --max_hd_pixels.&quot;</span>);</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; }</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keyword">const</span> <span class="keywordtype">bool</span> aes = !FLAGS_aes_signing_key_bytes.empty() ||</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; !FLAGS_aes_signing_iv_bytes.empty();</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordflow">if</span> (aes &amp;&amp; (FLAGS_aes_signing_key_bytes.empty() ||</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; FLAGS_aes_signing_iv_bytes.empty())) {</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--aes_signing_key/iv is required if using aes signing.&quot;</span>);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; }</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keyword">const</span> <span class="keywordtype">bool</span> rsa = !FLAGS_rsa_signing_key_path.empty();</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordflow">if</span> (FLAGS_signer.empty() &amp;&amp; (aes || rsa)) {</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--signer is required if using aes/rsa signing.&quot;</span>);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; }</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keywordflow">if</span> (!FLAGS_signer.empty() &amp;&amp; !aes &amp;&amp; !rsa) {</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="stringliteral">&quot;--aes_signing_key/iv or --rsa_signing_key_path is required with &quot;</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="stringliteral">&quot;--signer.&quot;</span>);</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; success = <span class="keyword">false</span>;</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; <span class="keywordflow">if</span> (aes &amp;&amp; rsa) {</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="stringliteral">&quot;Only one of --aes_signing_key/iv and --rsa_signing_key_path should be &quot;</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="stringliteral">&quot;specified.&quot;</span>);</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; }</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keywordflow">if</span> (FLAGS_crypto_period_duration &lt; 0) {</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--crypto_period_duration should not be negative.&quot;</span>);</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; }</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordflow">return</span> success;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;}</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;} <span class="comment">// namespace shaka</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;DEFINE_hex_bytes(group_id, <span class="stringliteral">&quot;&quot;</span>, <span class="stringliteral">&quot;Identifier for a group of licenses (hex).&quot;</span>);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="keyword">namespace </span>shaka {</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="keyword">namespace </span>{</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="keyword">const</span> <span class="keywordtype">bool</span> kOptional = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;} <span class="comment">// namespace</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../d8/daf/namespaceshaka.html#ade3cbb360c0dcaacc5667676af885008"> 73</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="../../d8/daf/namespaceshaka.html#ade3cbb360c0dcaacc5667676af885008">ValidateWidevineCryptoFlags</a>() {</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordtype">bool</span> success = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keyword">const</span> <span class="keywordtype">bool</span> widevine_crypto =</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; FLAGS_enable_widevine_encryption || FLAGS_enable_widevine_decryption;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> widevine_crypto_label[] =</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="stringliteral">&quot;--enable_widevine_encryption/decryption&quot;</span>;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="comment">// key_server_url and signer (optional) are associated with</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="comment">// enable_widevine_encryption and enable_widevine_descryption.</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d8/daf/namespaceshaka.html#a952293a7213f285843f28b7363ee14d6">ValidateFlag</a>(<span class="stringliteral">&quot;key_server_url&quot;</span>,</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; FLAGS_key_server_url,</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; widevine_crypto,</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; !kOptional,</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; widevine_crypto_label)) {</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; }</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d8/daf/namespaceshaka.html#a952293a7213f285843f28b7363ee14d6">ValidateFlag</a>(<span class="stringliteral">&quot;signer&quot;</span>,</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; FLAGS_signer,</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; widevine_crypto,</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; kOptional,</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; widevine_crypto_label)) {</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; }</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keywordflow">if</span> (widevine_crypto &amp;&amp; FLAGS_signer.empty() &amp;&amp;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; base::StartsWith(base::StringPiece(FLAGS_key_server_url), <span class="stringliteral">&quot;http&quot;</span>,</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; base::CompareCase::INSENSITIVE_ASCII)) {</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; LOG(WARNING) &lt;&lt; <span class="stringliteral">&quot;--signer is likely required with &quot;</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="stringliteral">&quot;--enable_widevine_encryption/decryption.&quot;</span>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; }</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> widevine_encryption_label[] = <span class="stringliteral">&quot;--enable_widevine_encryption&quot;</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="comment">// content_id and policy (optional) are associated with</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="comment">// enable_widevine_encryption.</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d8/daf/namespaceshaka.html#a952293a7213f285843f28b7363ee14d6">ValidateFlag</a>(<span class="stringliteral">&quot;content_id&quot;</span>,</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; FLAGS_content_id_bytes,</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; FLAGS_enable_widevine_encryption,</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; !kOptional,</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; widevine_encryption_label)) {</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; }</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d8/daf/namespaceshaka.html#a952293a7213f285843f28b7363ee14d6">ValidateFlag</a>(<span class="stringliteral">&quot;policy&quot;</span>,</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; FLAGS_policy,</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; FLAGS_enable_widevine_encryption,</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; kOptional,</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; widevine_encryption_label)) {</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; }</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordflow">if</span> (FLAGS_include_common_pssh &amp;&amp; !FLAGS_enable_widevine_encryption) {</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--include_common_pssh is only valid with &quot;</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="stringliteral">&quot;--enable_widevine_encryption&quot;</span>);</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; }</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <span class="keywordflow">if</span> (FLAGS_max_sd_pixels &lt;= 0) {</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--max_sd_pixels must be positive.&quot;</span>);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; }</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keywordflow">if</span> (FLAGS_max_hd_pixels &lt;= 0) {</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--max_hd_pixels must be positive.&quot;</span>);</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; }</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordflow">if</span> (FLAGS_max_uhd1_pixels &lt;= 0) {</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--max_uhd1_pixels must be positive.&quot;</span>);</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; }</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordflow">if</span> (FLAGS_max_hd_pixels &lt;= FLAGS_max_sd_pixels) {</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--max_hd_pixels must be greater than --max_sd_pixels.&quot;</span>);</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; }</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="keywordflow">if</span> (FLAGS_max_uhd1_pixels &lt;= FLAGS_max_hd_pixels) {</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--max_uhd1_pixels must be greater than --max_hd_pixels.&quot;</span>);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; }</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keyword">const</span> <span class="keywordtype">bool</span> aes = !FLAGS_aes_signing_key_bytes.empty() ||</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; !FLAGS_aes_signing_iv_bytes.empty();</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordflow">if</span> (aes &amp;&amp; (FLAGS_aes_signing_key_bytes.empty() ||</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; FLAGS_aes_signing_iv_bytes.empty())) {</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--aes_signing_key/iv is required if using aes signing.&quot;</span>);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; }</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keyword">const</span> <span class="keywordtype">bool</span> rsa = !FLAGS_rsa_signing_key_path.empty();</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordflow">if</span> (FLAGS_signer.empty() &amp;&amp; (aes || rsa)) {</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--signer is required if using aes/rsa signing.&quot;</span>);</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; }</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordflow">if</span> (!FLAGS_signer.empty() &amp;&amp; !aes &amp;&amp; !rsa) {</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="stringliteral">&quot;--aes_signing_key/iv or --rsa_signing_key_path is required with &quot;</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="stringliteral">&quot;--signer.&quot;</span>);</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; success = <span class="keyword">false</span>;</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="keywordflow">if</span> (aes &amp;&amp; rsa) {</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="stringliteral">&quot;Only one of --aes_signing_key/iv and --rsa_signing_key_path should be &quot;</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="stringliteral">&quot;specified.&quot;</span>);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; }</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordflow">if</span> (FLAGS_crypto_period_duration &lt; 0) {</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <a class="code" href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">PrintError</a>(<span class="stringliteral">&quot;--crypto_period_duration should not be negative.&quot;</span>);</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; success = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; }</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordflow">return</span> success;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;}</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;} <span class="comment">// namespace shaka</span></div>
<div class="ttc" id="namespaceshaka_html_a54fadd9c7ef14b39cd0355a5c269c772"><div class="ttname"><a href="../../d8/daf/namespaceshaka.html#a54fadd9c7ef14b39cd0355a5c269c772">shaka::PrintError</a></div><div class="ttdeci">void PrintError(const std::string &amp;error_message)</div><div class="ttdef"><b>Definition:</b> <a href="../../de/dad/validate__flag_8cc_source.html#l00015">validate_flag.cc:15</a></div></div>
<div class="ttc" id="namespaceshaka_html_a952293a7213f285843f28b7363ee14d6"><div class="ttname"><a href="../../d8/daf/namespaceshaka.html#a952293a7213f285843f28b7363ee14d6">shaka::ValidateFlag</a></div><div class="ttdeci">bool ValidateFlag(const char *flag_name, const FlagType &amp;flag_value, bool condition, bool optional, const char *label)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d22/validate__flag_8h_source.html#l00033">validate_flag.h:33</a></div></div>
<div class="ttc" id="namespaceshaka_html_ade3cbb360c0dcaacc5667676af885008"><div class="ttname"><a href="../../d8/daf/namespaceshaka.html#ade3cbb360c0dcaacc5667676af885008">shaka::ValidateWidevineCryptoFlags</a></div><div class="ttdeci">bool ValidateWidevineCryptoFlags()</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d42/widevine__encryption__flags_8cc_source.html#l00072">widevine_encryption_flags.cc:72</a></div></div>
<div class="ttc" id="namespaceshaka_html_ade3cbb360c0dcaacc5667676af885008"><div class="ttname"><a href="../../d8/daf/namespaceshaka.html#ade3cbb360c0dcaacc5667676af885008">shaka::ValidateWidevineCryptoFlags</a></div><div class="ttdeci">bool ValidateWidevineCryptoFlags()</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d42/widevine__encryption__flags_8cc_source.html#l00073">widevine_encryption_flags.cc:73</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -257,7 +257,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -222,7 +222,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:00 for DASH Media Packaging 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>

View File

@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:29 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:07 for DASH Media Packaging 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>

View File

@ -130,7 +130,7 @@ std::shared_ptr&lt; <a class="el" href="../../d0/dc0/structshaka_1_1media_1_1Seg
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -131,7 +131,7 @@ int64_t&#160;</td><td class="memItemRight" valign="bottom"><b>GetFramesToTarget<
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:06 for DASH Media Packaging 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>

View File

@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:05 for DASH Media Packaging 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>

View File

@ -197,7 +197,7 @@ Additional Inherited Members</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:28 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:07 for DASH Media Packaging 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>

View File

@ -188,7 +188,7 @@ Additional Inherited Members</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:29 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:07 for DASH Media Packaging 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>

View File

@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -186,7 +186,7 @@ Additional Inherited Members</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:29 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:07 for DASH Media Packaging 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>

View File

@ -344,7 +344,7 @@ static const size_t&#160;</td><td class="memItemRight" valign="bottom"><a class=
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:04 for DASH Media Packaging 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>

View File

@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:30 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:08 for DASH Media Packaging 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>

View File

@ -265,7 +265,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -264,7 +264,7 @@ void&#160;</td><td class="memItemRight" valign="bottom"><b>set_progress_target</
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:30 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:08 for DASH Media Packaging 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>

View File

@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:04 for DASH Media Packaging 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>

View File

@ -391,7 +391,7 @@ Static Public Member Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:30 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:08 for DASH Media Packaging 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>

View File

@ -121,7 +121,7 @@ std::shared_ptr&lt; <a class="el" href="../../d7/d34/structshaka_1_1media_1_1Enc
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:29 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:08 for DASH Media Packaging 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>

View File

@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:30 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:08 for DASH Media Packaging 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>

View File

@ -224,7 +224,7 @@ Static Public Member Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -173,7 +173,7 @@ Additional Inherited Members</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:29 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:08 for DASH Media Packaging 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>

View File

@ -222,7 +222,7 @@ Static Public Member Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:25 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:02 for DASH Media Packaging 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>

View File

@ -165,7 +165,7 @@ AES_KEY *&#160;</td><td class="memItemRight" valign="bottom"><b>mutable_aes_key<
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:25 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:01 for DASH Media Packaging 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>

View File

@ -177,169 +177,170 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; widevine_key_source-&gt;set_signer(std::move(request_signer));</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; }</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; Status status =</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; widevine_key_source-&gt;FetchKeys(widevine.content_id, widevine.policy);</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keywordflow">if</span> (!status.ok()) {</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Widevine encryption key source failed to fetch keys: &quot;</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; &lt;&lt; status.ToString();</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; }</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; encryption_key_source = std::move(widevine_key_source);</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; }</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordflow">case</span> KeyProvider::kRawKey: {</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keyword">const</span> RawKeyEncryptionParams&amp; raw_key = encryption_params.raw_key;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keyword">const</span> std::string kDefaultTrackType;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="comment">// TODO(kqyang): Refactor FixedKeySource.</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; encryption_key_source = <a class="code" href="../../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#aebde54a272565d4b81a1139ea35fab63">FixedKeySource::Create</a>(</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; raw_key.key_map.find(<span class="stringliteral">&quot;&quot;</span>)-&gt;second.key_id,</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; raw_key.key_map.find(<span class="stringliteral">&quot;&quot;</span>)-&gt;second.key, raw_key.pssh, raw_key.iv);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; }</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordflow">case</span> KeyProvider::kPlayready: {</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keyword">const</span> PlayreadyEncryptionParams&amp; playready = encryption_params.playready;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keywordflow">if</span> (!playready.key_id.empty() &amp;&amp; !playready.key.empty()) {</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; encryption_key_source = <a class="code" href="../../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#a76f18b778d83492e5b7ed90637124b2c">PlayReadyKeySource::CreateFromKeyAndKeyId</a>(</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; playready.key_id, playready.key);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!playready.key_server_url.empty() &amp;&amp;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; !playready.program_identifier.empty()) {</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; std::unique_ptr&lt;PlayReadyKeySource&gt; playready_key_source;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordflow">if</span> (!playready.client_cert_file.empty() &amp;&amp;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; !playready.client_cert_private_key_file.empty() &amp;&amp;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; !playready.client_cert_private_key_password.empty()) {</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; playready_key_source.reset(<span class="keyword">new</span> PlayReadyKeySource(</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; playready.key_server_url, playready.client_cert_file,</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; playready.client_cert_private_key_file,</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; playready.client_cert_private_key_password));</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; playready_key_source.reset(</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keyword">new</span> PlayReadyKeySource(playready.key_server_url));</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; }</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keywordflow">if</span> (!playready.ca_file.empty()) {</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; playready_key_source-&gt;<a class="code" href="../../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#adeac90b9cff39bfa259f81ff3e93679c">SetCaFile</a>(playready.ca_file);</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; }</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; playready_key_source-&gt;FetchKeysWithProgramIdentifier(</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; playready.program_identifier);</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; encryption_key_source = std::move(playready_key_source);</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Error creating PlayReady key source.&quot;</span>;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; }</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; }</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="keywordflow">case</span> KeyProvider::kNone:</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; }</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keywordflow">return</span> encryption_key_source;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;}</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;std::unique_ptr&lt;KeySource&gt; CreateDecryptionKeySource(</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keyword">const</span> DecryptionParams&amp; decryption_params) {</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; std::unique_ptr&lt;KeySource&gt; decryption_key_source;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keywordflow">switch</span> (decryption_params.key_provider) {</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keywordflow">case</span> KeyProvider::kWidevine: {</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keyword">const</span> WidevineDecryptionParams&amp; widevine = decryption_params.widevine;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordflow">if</span> (widevine.key_server_url.empty()) {</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;&#39;key_server_url&#39; should not be empty.&quot;</span>;</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; }</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; std::unique_ptr&lt;WidevineKeySource&gt; widevine_key_source(</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keyword">new</span> WidevineKeySource(widevine.key_server_url,</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keyword">true</span> <span class="comment">/* commmon pssh, does not matter here */</span>));</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordflow">if</span> (!widevine.signer.signer_name.empty()) {</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; std::unique_ptr&lt;RequestSigner&gt; request_signer(</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; CreateSigner(widevine.signer));</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keywordflow">if</span> (!request_signer)</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; widevine_key_source-&gt;set_signer(std::move(request_signer));</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; }</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; decryption_key_source = std::move(widevine_key_source);</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; }</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keywordflow">case</span> KeyProvider::kRawKey: {</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keyword">const</span> RawKeyDecryptionParams&amp; raw_key = decryption_params.raw_key;</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keyword">const</span> std::vector&lt;uint8_t&gt; kNoPssh;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keyword">const</span> std::vector&lt;uint8_t&gt; kNoIv;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; decryption_key_source = <a class="code" href="../../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#aebde54a272565d4b81a1139ea35fab63">FixedKeySource::Create</a>(</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; raw_key.key_map.find(<span class="stringliteral">&quot;&quot;</span>)-&gt;second.key_id,</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; raw_key.key_map.find(<span class="stringliteral">&quot;&quot;</span>)-&gt;second.key, kNoPssh, kNoIv);</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; }</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordflow">case</span> KeyProvider::kNone:</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordflow">case</span> KeyProvider::kPlayready:</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; }</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordflow">return</span> decryption_key_source;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;}</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;ChunkingOptions GetChunkingOptions(<span class="keyword">const</span> ChunkingParams&amp; chunking_params) {</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; ChunkingOptions chunking_options;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; chunking_options.<a class="code" href="../../db/d02/structshaka_1_1media_1_1ChunkingOptions.html#a1cdbde61303f629cc9b4cbcd98f2d711">segment_duration_in_seconds</a> =</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; chunking_params.segment_duration_in_seconds;</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; chunking_options.subsegment_duration_in_seconds =</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; chunking_params.subsegment_duration_in_seconds;</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; chunking_options.segment_sap_aligned = chunking_params.segment_sap_aligned;</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; chunking_options.subsegment_sap_aligned =</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; chunking_params.subsegment_sap_aligned;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordflow">return</span> chunking_options;</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;}</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;EncryptionOptions GetEncryptionOptions(</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <span class="keyword">const</span> EncryptionParams&amp; encryption_params) {</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; EncryptionOptions encryption_options;</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; encryption_options.<a class="code" href="../../d6/d82/structshaka_1_1media_1_1EncryptionOptions.html#a3d58dc01a4af0ebfb56f3c4979f745f7">clear_lead_in_seconds</a> =</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; encryption_params.clear_lead_in_seconds;</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; encryption_options.protection_scheme =</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; GetProtectionScheme(encryption_params.protection_scheme);</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; encryption_options.crypto_period_duration_in_seconds =</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; encryption_params.crypto_period_duration_in_seconds;</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; encryption_options.vp9_subsample_encryption =</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; encryption_params.vp9_subsample_encryption;</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; encryption_options.stream_label_func = encryption_params.stream_label_func;</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="keywordflow">return</span> encryption_options;</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;}</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;MuxerOptions GetMuxerOptions(<span class="keyword">const</span> std::string&amp; temp_dir,</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <span class="keyword">const</span> Mp4OutputParams&amp; mp4_params) {</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; MuxerOptions muxer_options;</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; muxer_options.<a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece">num_subsegments_per_sidx</a> = mp4_params.num_subsegments_per_sidx;</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; muxer_options.mp4_include_pssh_in_stream = mp4_params.include_pssh_in_stream;</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; muxer_options.mp4_use_decoding_timestamp_in_timeline =</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; mp4_params.use_decoding_timestamp_in_timeline;</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; muxer_options.temp_dir = temp_dir;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="keywordflow">return</span> muxer_options;</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;}</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;MpdOptions GetMpdOptions(<span class="keywordtype">bool</span> on_demand_profile, <span class="keyword">const</span> MpdParams&amp; mpd_params) {</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; MpdOptions mpd_options;</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; mpd_options.dash_profile =</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; on_demand_profile ? DashProfile::kOnDemand : DashProfile::kLive;</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; mpd_options.mpd_type =</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; (on_demand_profile || mpd_params.generate_static_live_mpd)</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; ? MpdType::kStatic</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; : MpdType::kDynamic;</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; mpd_options.minimum_update_period = mpd_params.minimum_update_period;</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; mpd_options.min_buffer_time = mpd_params.min_buffer_time;</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; mpd_options.time_shift_buffer_depth = mpd_params.time_shift_buffer_depth;</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; mpd_options.suggested_presentation_delay =</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; mpd_params.suggested_presentation_delay;</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; mpd_options.default_language = mpd_params.default_language;</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="keywordflow">return</span> mpd_options;</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;}</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;Status ConnectHandlers(std::vector&lt;std::shared_ptr&lt;MediaHandler&gt;&gt;&amp; handlers) {</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordtype">size_t</span> num_handlers = handlers.size();</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; Status status;</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 1; i &lt; num_handlers; ++i) {</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; status.Update(handlers[i - 1]-&gt;AddHandler(handlers[i]));</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; }</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordflow">return</span> status;</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;}</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;} <span class="comment">// namespace media</span></div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;} <span class="comment">// namespace shaka</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; widevine_key_source-&gt;set_group_id(widevine.group_id);</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; Status status =</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; widevine_key_source-&gt;FetchKeys(widevine.content_id, widevine.policy);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keywordflow">if</span> (!status.ok()) {</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Widevine encryption key source failed to fetch keys: &quot;</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; &lt;&lt; status.ToString();</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; }</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; encryption_key_source = std::move(widevine_key_source);</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; }</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordflow">case</span> KeyProvider::kRawKey: {</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keyword">const</span> RawKeyEncryptionParams&amp; raw_key = encryption_params.raw_key;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keyword">const</span> std::string kDefaultTrackType;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="comment">// TODO(kqyang): Refactor FixedKeySource.</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; encryption_key_source = <a class="code" href="../../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#aebde54a272565d4b81a1139ea35fab63">FixedKeySource::Create</a>(</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; raw_key.key_map.find(<span class="stringliteral">&quot;&quot;</span>)-&gt;second.key_id,</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; raw_key.key_map.find(<span class="stringliteral">&quot;&quot;</span>)-&gt;second.key, raw_key.pssh, raw_key.iv);</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; }</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">case</span> KeyProvider::kPlayready: {</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keyword">const</span> PlayreadyEncryptionParams&amp; playready = encryption_params.playready;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordflow">if</span> (!playready.key_id.empty() &amp;&amp; !playready.key.empty()) {</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; encryption_key_source = <a class="code" href="../../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#a76f18b778d83492e5b7ed90637124b2c">PlayReadyKeySource::CreateFromKeyAndKeyId</a>(</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; playready.key_id, playready.key);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!playready.key_server_url.empty() &amp;&amp;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; !playready.program_identifier.empty()) {</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; std::unique_ptr&lt;PlayReadyKeySource&gt; playready_key_source;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordflow">if</span> (!playready.client_cert_file.empty() &amp;&amp;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; !playready.client_cert_private_key_file.empty() &amp;&amp;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; !playready.client_cert_private_key_password.empty()) {</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; playready_key_source.reset(<span class="keyword">new</span> PlayReadyKeySource(</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; playready.key_server_url, playready.client_cert_file,</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; playready.client_cert_private_key_file,</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; playready.client_cert_private_key_password));</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; playready_key_source.reset(</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keyword">new</span> PlayReadyKeySource(playready.key_server_url));</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; }</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keywordflow">if</span> (!playready.ca_file.empty()) {</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; playready_key_source-&gt;<a class="code" href="../../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#adeac90b9cff39bfa259f81ff3e93679c">SetCaFile</a>(playready.ca_file);</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; }</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; playready_key_source-&gt;FetchKeysWithProgramIdentifier(</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; playready.program_identifier);</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; encryption_key_source = std::move(playready_key_source);</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Error creating PlayReady key source.&quot;</span>;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; }</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; }</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keywordflow">case</span> KeyProvider::kNone:</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; }</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keywordflow">return</span> encryption_key_source;</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;}</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;std::unique_ptr&lt;KeySource&gt; CreateDecryptionKeySource(</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keyword">const</span> DecryptionParams&amp; decryption_params) {</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; std::unique_ptr&lt;KeySource&gt; decryption_key_source;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keywordflow">switch</span> (decryption_params.key_provider) {</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordflow">case</span> KeyProvider::kWidevine: {</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keyword">const</span> WidevineDecryptionParams&amp; widevine = decryption_params.widevine;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordflow">if</span> (widevine.key_server_url.empty()) {</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;&#39;key_server_url&#39; should not be empty.&quot;</span>;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</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; std::unique_ptr&lt;WidevineKeySource&gt; widevine_key_source(</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keyword">new</span> WidevineKeySource(widevine.key_server_url,</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keyword">true</span> <span class="comment">/* commmon pssh, does not matter here */</span>));</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordflow">if</span> (!widevine.signer.signer_name.empty()) {</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; std::unique_ptr&lt;RequestSigner&gt; request_signer(</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; CreateSigner(widevine.signer));</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">if</span> (!request_signer)</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; widevine_key_source-&gt;set_signer(std::move(request_signer));</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;</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; decryption_key_source = std::move(widevine_key_source);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; }</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keywordflow">case</span> KeyProvider::kRawKey: {</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keyword">const</span> RawKeyDecryptionParams&amp; raw_key = decryption_params.raw_key;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keyword">const</span> std::vector&lt;uint8_t&gt; kNoPssh;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keyword">const</span> std::vector&lt;uint8_t&gt; kNoIv;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; decryption_key_source = <a class="code" href="../../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#aebde54a272565d4b81a1139ea35fab63">FixedKeySource::Create</a>(</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; raw_key.key_map.find(<span class="stringliteral">&quot;&quot;</span>)-&gt;second.key_id,</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; raw_key.key_map.find(<span class="stringliteral">&quot;&quot;</span>)-&gt;second.key, kNoPssh, kNoIv);</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; }</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordflow">case</span> KeyProvider::kNone:</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordflow">case</span> KeyProvider::kPlayready:</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; }</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keywordflow">return</span> decryption_key_source;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;}</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;ChunkingOptions GetChunkingOptions(<span class="keyword">const</span> ChunkingParams&amp; chunking_params) {</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; ChunkingOptions chunking_options;</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; chunking_options.<a class="code" href="../../db/d02/structshaka_1_1media_1_1ChunkingOptions.html#a1cdbde61303f629cc9b4cbcd98f2d711">segment_duration_in_seconds</a> =</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; chunking_params.segment_duration_in_seconds;</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; chunking_options.subsegment_duration_in_seconds =</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; chunking_params.subsegment_duration_in_seconds;</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; chunking_options.segment_sap_aligned = chunking_params.segment_sap_aligned;</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; chunking_options.subsegment_sap_aligned =</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; chunking_params.subsegment_sap_aligned;</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordflow">return</span> chunking_options;</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;}</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;EncryptionOptions GetEncryptionOptions(</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keyword">const</span> EncryptionParams&amp; encryption_params) {</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; EncryptionOptions encryption_options;</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; encryption_options.<a class="code" href="../../d6/d82/structshaka_1_1media_1_1EncryptionOptions.html#a3d58dc01a4af0ebfb56f3c4979f745f7">clear_lead_in_seconds</a> =</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; encryption_params.clear_lead_in_seconds;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; encryption_options.protection_scheme =</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; GetProtectionScheme(encryption_params.protection_scheme);</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; encryption_options.crypto_period_duration_in_seconds =</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; encryption_params.crypto_period_duration_in_seconds;</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; encryption_options.vp9_subsample_encryption =</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; encryption_params.vp9_subsample_encryption;</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; encryption_options.stream_label_func = encryption_params.stream_label_func;</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keywordflow">return</span> encryption_options;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;}</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;MuxerOptions GetMuxerOptions(<span class="keyword">const</span> std::string&amp; temp_dir,</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="keyword">const</span> Mp4OutputParams&amp; mp4_params) {</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; MuxerOptions muxer_options;</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; muxer_options.<a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece">num_subsegments_per_sidx</a> = mp4_params.num_subsegments_per_sidx;</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; muxer_options.mp4_include_pssh_in_stream = mp4_params.include_pssh_in_stream;</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; muxer_options.mp4_use_decoding_timestamp_in_timeline =</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; mp4_params.use_decoding_timestamp_in_timeline;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; muxer_options.temp_dir = temp_dir;</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="keywordflow">return</span> muxer_options;</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;}</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;MpdOptions GetMpdOptions(<span class="keywordtype">bool</span> on_demand_profile, <span class="keyword">const</span> MpdParams&amp; mpd_params) {</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; MpdOptions mpd_options;</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; mpd_options.dash_profile =</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; on_demand_profile ? DashProfile::kOnDemand : DashProfile::kLive;</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; mpd_options.mpd_type =</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; (on_demand_profile || mpd_params.generate_static_live_mpd)</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; ? MpdType::kStatic</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; : MpdType::kDynamic;</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; mpd_options.minimum_update_period = mpd_params.minimum_update_period;</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; mpd_options.min_buffer_time = mpd_params.min_buffer_time;</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; mpd_options.time_shift_buffer_depth = mpd_params.time_shift_buffer_depth;</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; mpd_options.suggested_presentation_delay =</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; mpd_params.suggested_presentation_delay;</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; mpd_options.default_language = mpd_params.default_language;</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="keywordflow">return</span> mpd_options;</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;}</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;Status ConnectHandlers(std::vector&lt;std::shared_ptr&lt;MediaHandler&gt;&gt;&amp; handlers) {</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <span class="keywordtype">size_t</span> num_handlers = handlers.size();</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; Status status;</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 1; i &lt; num_handlers; ++i) {</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; status.Update(handlers[i - 1]-&gt;AddHandler(handlers[i]));</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; }</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <span class="keywordflow">return</span> status;</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;}</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;} <span class="comment">// namespace media</span></div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;} <span class="comment">// namespace shaka</span></div>
<div class="ttc" id="classshaka_1_1media_1_1RsaRequestSigner_html_af6af635a7c0a01bb638befb71b88386c"><div class="ttname"><a href="../../d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html#af6af635a7c0a01bb638befb71b88386c">shaka::media::RsaRequestSigner::CreateSigner</a></div><div class="ttdeci">static RsaRequestSigner * CreateSigner(const std::string &amp;signer_name, const std::string &amp;pkcs1_rsa_key)</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/df5/request__signer_8cc_source.html#l00053">request_signer.cc:53</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1AesRequestSigner_html_a8ae2058318e5894422acb95586e3c471"><div class="ttname"><a href="../../d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html#a8ae2058318e5894422acb95586e3c471">shaka::media::AesRequestSigner::CreateSigner</a></div><div class="ttdeci">static AesRequestSigner * CreateSigner(const std::string &amp;signer_name, const std::vector&lt; uint8_t &gt; &amp;aes_key, const std::vector&lt; uint8_t &gt; &amp;iv)</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/df5/request__signer_8cc_source.html#l00028">request_signer.cc:28</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1PlayReadyKeySource_html_adeac90b9cff39bfa259f81ff3e93679c"><div class="ttname"><a href="../../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#adeac90b9cff39bfa259f81ff3e93679c">shaka::media::PlayReadyKeySource::SetCaFile</a></div><div class="ttdeci">void SetCaFile(const std::string &amp;ca_file)</div><div class="ttdoc">Sets the Certificate Authority file for validating self-signed certificates. </div><div class="ttdef"><b>Definition:</b> <a href="../../df/d00/playready__key__source_8h_source.html#l00062">playready_key_source.h:62</a></div></div>
@ -351,7 +352,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:28 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:07 for DASH Media Packaging 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>

View File

@ -135,7 +135,7 @@ base::Optional&lt; <a class="el" href="../../d9/de0/structshaka_1_1media_1_1Rang
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:05 for DASH Media Packaging 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>

View File

@ -376,7 +376,7 @@ File *&#160;</td><td class="memItemRight" valign="bottom"><b>file</b> ()</td></t
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:05 for DASH Media Packaging 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>

View File

@ -242,7 +242,7 @@ int&#160;</td><td class="memItemRight" valign="bottom"><b>chroma_array_type</b><
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:04 for DASH Media Packaging 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>

View File

@ -245,7 +245,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:06 for DASH Media Packaging 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>

View File

@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -279,7 +279,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:25 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:01 for DASH Media Packaging 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>

View File

@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -320,7 +320,7 @@ Public Member Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -235,7 +235,7 @@ Public Member Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:29 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:08 for DASH Media Packaging 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>

View File

@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:05 for DASH Media Packaging 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>

View File

@ -206,7 +206,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:29 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:07 for DASH Media Packaging 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>

View File

@ -385,7 +385,7 @@ class&#160;</td><td class="memItemRight" valign="bottom"><b>BoxBuffer</b></td></
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:28 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:06 for DASH Media Packaging 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>

View File

@ -408,7 +408,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:25 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:02 for DASH Media Packaging 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>

View File

@ -142,7 +142,7 @@ Additional Inherited Members</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:06 for DASH Media Packaging 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>

View File

@ -419,7 +419,7 @@ bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../.
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:30 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:08 for DASH Media Packaging 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>

View File

@ -122,7 +122,7 @@ uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>cipher_bytes</b><
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -269,7 +269,7 @@ std::vector&lt; std::unique_ptr<br class="typebreak"/>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:00 for DASH Media Packaging 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>

View File

@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -176,7 +176,7 @@ Additional Inherited Members</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:29 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:07 for DASH Media Packaging 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>

View File

@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:02 for DASH Media Packaging 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>

View File

@ -168,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:25 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:01 for DASH Media Packaging 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>

View File

@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

View File

@ -222,7 +222,7 @@ Additional Inherited Members</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:29 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:07 for DASH Media Packaging 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>

View File

@ -289,7 +289,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:00 for DASH Media Packaging 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>

View File

@ -231,7 +231,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -535,7 +535,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:00 for DASH Media Packaging 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>

View File

@ -152,7 +152,7 @@ int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href=".
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:04 for DASH Media Packaging 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>

View File

@ -334,7 +334,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:25 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:02 for DASH Media Packaging 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>

View File

@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:04 for DASH Media Packaging 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>

View File

@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:25 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:01 for DASH Media Packaging 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>

View File

@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:27 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:05 for DASH Media Packaging 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>

View File

@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:25 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:01 for DASH Media Packaging 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>

View File

@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:24 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:09:59 for DASH Media Packaging 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>

View File

@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:04 for DASH Media Packaging 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>

View File

@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 17 2017 20:24:26 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Jul 20 2017 17:10:03 for DASH Media Packaging 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>

Some files were not shown because too many files have changed in this diff Show More