Generate SDK documents for commit 160700b452

This commit is contained in:
Widevine Buildbot 2017-03-16 20:58:57 +00:00
parent 9cdf629f7c
commit 52417f7df4
1002 changed files with 4194 additions and 4269 deletions

View File

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

@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:49:00 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:55 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 Wed Mar 15 2017 20:48:58 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:54 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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,49 +107,37 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html">MuxerOptions</a>();</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; ~<a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html">MuxerOptions</a>();</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4e98ad5fc7bbc2df0cb95df3f1db9687"> 26</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4e98ad5fc7bbc2df0cb95df3f1db9687">segment_duration</a> = 0;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a0dbe637b21f1f22f248437b59ad62a38"> 30</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a0dbe637b21f1f22f248437b59ad62a38">fragment_duration</a> = 0;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a1f1336e9be8b12733fe28da083eaf93f"> 34</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a1f1336e9be8b12733fe28da083eaf93f">segment_sap_aligned</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece"> 27</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece">num_subsegments_per_sidx</a> = 0;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4d3d8c1923a2e0f684c2591cd7f4a890"> 34</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4d3d8c1923a2e0f684c2591cd7f4a890">mp4_use_decoding_timestamp_in_timeline</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#acb335182d4bd226c1f044cc83705f4fc"> 39</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#acb335182d4bd226c1f044cc83705f4fc">fragment_sap_aligned</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a5397ee8759a663aea68261600e528d82"> 39</a></span>&#160; std::string <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a5397ee8759a663aea68261600e528d82">output_file_name</a>;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece"> 46</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece">num_subsegments_per_sidx</a> = 0;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4d3d8c1923a2e0f684c2591cd7f4a890"> 53</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4d3d8c1923a2e0f684c2591cd7f4a890">mp4_use_decoding_timestamp_in_timeline</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a5397ee8759a663aea68261600e528d82"> 58</a></span>&#160; std::string <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a5397ee8759a663aea68261600e528d82">output_file_name</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#ab98cfd28046fc5c52ab2a45dba1a339a"> 64</a></span>&#160; std::string <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#ab98cfd28046fc5c52ab2a45dba1a339a">segment_template</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a872d1150a71d9f0fb5db0ab81334d614"> 67</a></span>&#160; std::string <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a872d1150a71d9f0fb5db0ab81334d614">temp_dir</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a930587b1f3a3e38cf1e7974f01d8ce1e"> 71</a></span>&#160; uint32_t <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a930587b1f3a3e38cf1e7974f01d8ce1e">bandwidth</a> = 0;</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"> 73</span>&#160; <span class="comment">// Enable/disable subsample encryption for WebM containers.</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordtype">bool</span> webm_subsample_encryption = <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;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;} <span class="comment">// namespace media</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;} <span class="comment">// namespace shaka</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor">#endif // MEDIA_BASE_MUXER_OPTIONS_H_</span></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_acb335182d4bd226c1f044cc83705f4fc"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#acb335182d4bd226c1f044cc83705f4fc">shaka::media::MuxerOptions::fragment_sap_aligned</a></div><div class="ttdeci">bool fragment_sap_aligned</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00039">muxer_options.h:39</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a5397ee8759a663aea68261600e528d82"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a5397ee8759a663aea68261600e528d82">shaka::media::MuxerOptions::output_file_name</a></div><div class="ttdeci">std::string output_file_name</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00058">muxer_options.h:58</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a4d3d8c1923a2e0f684c2591cd7f4a890"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4d3d8c1923a2e0f684c2591cd7f4a890">shaka::media::MuxerOptions::mp4_use_decoding_timestamp_in_timeline</a></div><div class="ttdeci">bool mp4_use_decoding_timestamp_in_timeline</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00053">muxer_options.h:53</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a1f1336e9be8b12733fe28da083eaf93f"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a1f1336e9be8b12733fe28da083eaf93f">shaka::media::MuxerOptions::segment_sap_aligned</a></div><div class="ttdeci">bool segment_sap_aligned</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00034">muxer_options.h:34</a></div></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#ab98cfd28046fc5c52ab2a45dba1a339a"> 45</a></span>&#160; std::string <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#ab98cfd28046fc5c52ab2a45dba1a339a">segment_template</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a872d1150a71d9f0fb5db0ab81334d614"> 48</a></span>&#160; std::string <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a872d1150a71d9f0fb5db0ab81334d614">temp_dir</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a930587b1f3a3e38cf1e7974f01d8ce1e"> 52</a></span>&#160; uint32_t <a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a930587b1f3a3e38cf1e7974f01d8ce1e">bandwidth</a> = 0;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="comment">// Enable/disable subsample encryption for WebM containers.</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordtype">bool</span> webm_subsample_encryption = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;};</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;} <span class="comment">// namespace media</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;} <span class="comment">// namespace shaka</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor">#endif // MEDIA_BASE_MUXER_OPTIONS_H_</span></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a5397ee8759a663aea68261600e528d82"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a5397ee8759a663aea68261600e528d82">shaka::media::MuxerOptions::output_file_name</a></div><div class="ttdeci">std::string output_file_name</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00039">muxer_options.h:39</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a4d3d8c1923a2e0f684c2591cd7f4a890"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4d3d8c1923a2e0f684c2591cd7f4a890">shaka::media::MuxerOptions::mp4_use_decoding_timestamp_in_timeline</a></div><div class="ttdeci">bool mp4_use_decoding_timestamp_in_timeline</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00034">muxer_options.h:34</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html">shaka::media::MuxerOptions</a></div><div class="ttdoc">This structure contains the list of configuration options for Muxer. </div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00018">muxer_options.h:18</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a2db773300dadf681c40bef0b3eca3ece"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece">shaka::media::MuxerOptions::num_subsegments_per_sidx</a></div><div class="ttdeci">int num_subsegments_per_sidx</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00046">muxer_options.h:46</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a0dbe637b21f1f22f248437b59ad62a38"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a0dbe637b21f1f22f248437b59ad62a38">shaka::media::MuxerOptions::fragment_duration</a></div><div class="ttdeci">double fragment_duration</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00030">muxer_options.h:30</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a872d1150a71d9f0fb5db0ab81334d614"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a872d1150a71d9f0fb5db0ab81334d614">shaka::media::MuxerOptions::temp_dir</a></div><div class="ttdeci">std::string temp_dir</div><div class="ttdoc">Specify temporary directory for intermediate files. </div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00067">muxer_options.h:67</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a4e98ad5fc7bbc2df0cb95df3f1db9687"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4e98ad5fc7bbc2df0cb95df3f1db9687">shaka::media::MuxerOptions::segment_duration</a></div><div class="ttdeci">double segment_duration</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00026">muxer_options.h:26</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a930587b1f3a3e38cf1e7974f01d8ce1e"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a930587b1f3a3e38cf1e7974f01d8ce1e">shaka::media::MuxerOptions::bandwidth</a></div><div class="ttdeci">uint32_t bandwidth</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00071">muxer_options.h:71</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_ab98cfd28046fc5c52ab2a45dba1a339a"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#ab98cfd28046fc5c52ab2a45dba1a339a">shaka::media::MuxerOptions::segment_template</a></div><div class="ttdeci">std::string segment_template</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00064">muxer_options.h:64</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a2db773300dadf681c40bef0b3eca3ece"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece">shaka::media::MuxerOptions::num_subsegments_per_sidx</a></div><div class="ttdeci">int num_subsegments_per_sidx</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00027">muxer_options.h:27</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a872d1150a71d9f0fb5db0ab81334d614"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a872d1150a71d9f0fb5db0ab81334d614">shaka::media::MuxerOptions::temp_dir</a></div><div class="ttdeci">std::string temp_dir</div><div class="ttdoc">Specify temporary directory for intermediate files. </div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00048">muxer_options.h:48</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a930587b1f3a3e38cf1e7974f01d8ce1e"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a930587b1f3a3e38cf1e7974f01d8ce1e">shaka::media::MuxerOptions::bandwidth</a></div><div class="ttdeci">uint32_t bandwidth</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00052">muxer_options.h:52</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_ab98cfd28046fc5c52ab2a45dba1a339a"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#ab98cfd28046fc5c52ab2a45dba1a339a">shaka::media::MuxerOptions::segment_template</a></div><div class="ttdeci">std::string segment_template</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00045">muxer_options.h:45</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:58 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:53 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 Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:55 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 Wed Mar 15 2017 20:48:58 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:53 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,14 +101,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a4e98ad5fc7bbc2df0cb95df3f1db9687"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4e98ad5fc7bbc2df0cb95df3f1db9687">segment_duration</a> = 0</td></tr>
<tr class="separator:a4e98ad5fc7bbc2df0cb95df3f1db9687"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dbe637b21f1f22f248437b59ad62a38"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a0dbe637b21f1f22f248437b59ad62a38">fragment_duration</a> = 0</td></tr>
<tr class="separator:a0dbe637b21f1f22f248437b59ad62a38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f1336e9be8b12733fe28da083eaf93f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a1f1336e9be8b12733fe28da083eaf93f">segment_sap_aligned</a> = false</td></tr>
<tr class="separator:a1f1336e9be8b12733fe28da083eaf93f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb335182d4bd226c1f044cc83705f4fc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#acb335182d4bd226c1f044cc83705f4fc">fragment_sap_aligned</a> = false</td></tr>
<tr class="separator:acb335182d4bd226c1f044cc83705f4fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2db773300dadf681c40bef0b3eca3ece"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece">num_subsegments_per_sidx</a> = 0</td></tr>
<tr class="separator:a2db773300dadf681c40bef0b3eca3ece"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d3d8c1923a2e0f684c2591cd7f4a890"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4d3d8c1923a2e0f684c2591cd7f4a890">mp4_use_decoding_timestamp_in_timeline</a> = false</td></tr>
@ -143,37 +135,7 @@ bool&#160;</td><td class="memItemRight" valign="bottom"><b>webm_subsample_encryp
</div><div class="memdoc">
<p>User-specified bit rate for the media stream. If zero, the muxer will attempt to estimate. </p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00071">71</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0dbe637b21f1f22f248437b59ad62a38"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double shaka::media::MuxerOptions::fragment_duration = 0</td>
</tr>
</table>
</div><div class="memdoc">
<p>Fragment duration in seconds. Should not be larger than the segment duration. </p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00030">30</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
</div>
</div>
<a class="anchor" id="acb335182d4bd226c1f044cc83705f4fc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool shaka::media::MuxerOptions::fragment_sap_aligned = false</td>
</tr>
</table>
</div><div class="memdoc">
<p>Force fragments to begin with stream access points. Fragment duration may not be exactly what specified by segment_duration. Setting to true implies that segment_sap_aligned is true as well. </p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00039">39</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00052">52</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
</div>
</div>
@ -188,7 +150,7 @@ bool&#160;</td><td class="memItemRight" valign="bottom"><b>webm_subsample_encryp
</div><div class="memdoc">
<p>For ISO BMFF only. Set the flag use_decoding_timestamp_in_timeline, which if set to true, use decoding timestamp instead of presentation timestamp in media timeline, which is needed to workaround a Chromium bug that decoding timestamp is used in buffered range, <a href="https://crbug.com/398130">https://crbug.com/398130</a>. </p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00053">53</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00034">34</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
</div>
</div>
@ -203,7 +165,7 @@ bool&#160;</td><td class="memItemRight" valign="bottom"><b>webm_subsample_encryp
</div><div class="memdoc">
<p>For ISO BMFF only. Set the number of subsegments in each SIDX box. If 0, a single SIDX box is used per segment. If -1, no SIDX box is used. Otherwise, the <a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html">Muxer</a> will pack N subsegments in the root SIDX of the segment, with segment_duration/N/fragment_duration fragments per subsegment. </p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00046">46</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00027">27</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
</div>
</div>
@ -218,37 +180,7 @@ bool&#160;</td><td class="memItemRight" valign="bottom"><b>webm_subsample_encryp
</div><div class="memdoc">
<p>Output file name. If segment_template is not specified, the <a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html">Muxer</a> generates this single output file with all segments concatenated; Otherwise, it specifies the init segment name. </p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00058">58</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4e98ad5fc7bbc2df0cb95df3f1db9687"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double shaka::media::MuxerOptions::segment_duration = 0</td>
</tr>
</table>
</div><div class="memdoc">
<p>Segment duration in seconds. If single_segment is specified, this parameter sets the duration of a subsegment; otherwise, this parameter sets the duration of a segment. A segment can contain one or many fragments. </p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00026">26</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
</div>
</div>
<a class="anchor" id="a1f1336e9be8b12733fe28da083eaf93f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool shaka::media::MuxerOptions::segment_sap_aligned = false</td>
</tr>
</table>
</div><div class="memdoc">
<p>Force segments to begin with stream access points. Segment duration may not be exactly what specified by segment_duration. </p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00034">34</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00039">39</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
</div>
</div>
@ -263,7 +195,7 @@ bool&#160;</td><td class="memItemRight" valign="bottom"><b>webm_subsample_encryp
</div><div class="memdoc">
<p>Specify output segment name pattern for generated segments. It can furthermore be configured by using a subset of the SegmentTemplate identifiers: $RepresentationID$, $Number$, $Bandwidth$ and $Time. Optional. </p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00064">64</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
<p>Definition at line <a class="el" href="../../d0/d0e/muxer__options_8h_source.html#l00045">45</a> of file <a class="el" href="../../d0/d0e/muxer__options_8h_source.html">muxer_options.h</a>.</p>
</div>
</div>
@ -274,7 +206,7 @@ bool&#160;</td><td class="memItemRight" valign="bottom"><b>webm_subsample_encryp
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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

@ -233,7 +233,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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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

@ -318,7 +318,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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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 Wed Mar 15 2017 20:48:58 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:53 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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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

@ -284,7 +284,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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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

@ -248,7 +248,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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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

@ -233,11 +233,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
<div class="ttc" id="classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener_html_ae0a573e1c785164f40bfbfba2ced6a16"><div class="ttname"><a href="../../db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html#ae0a573e1c785164f40bfbfba2ced6a16">shaka::media::VodMediaInfoDumpMuxerListener::WriteMediaInfoToFile</a></div><div class="ttdeci">static bool WriteMediaInfoToFile(const MediaInfo &amp;media_info, const std::string &amp;output_file_path)</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d49/vod__media__info__dump__muxer__listener_8cc_source.html#l00105">vod_media_info_dump_muxer_listener.cc:105</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener_html_a683882564ac762e2e94795964f8be4b8"><div class="ttname"><a href="../../db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html#a683882564ac762e2e94795964f8be4b8">shaka::media::VodMediaInfoDumpMuxerListener::OnEncryptionInfoReady</a></div><div class="ttdeci">void OnEncryptionInfoReady(bool is_initial_encryption_info, FourCC protection_scheme, const std::vector&lt; uint8_t &gt; &amp;default_key_id, const std::vector&lt; uint8_t &gt; &amp;iv, const std::vector&lt; ProtectionSystemSpecificInfo &gt; &amp;key_system_info) override</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d49/vod__media__info__dump__muxer__listener_8cc_source.html#l00028">vod_media_info_dump_muxer_listener.cc:28</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener_html_adabba5568154b8f22b02a9b0572db32e"><div class="ttname"><a href="../../db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html#adabba5568154b8f22b02a9b0572db32e">shaka::media::VodMediaInfoDumpMuxerListener::OnMediaEnd</a></div><div class="ttdeci">void OnMediaEnd(bool has_init_range, uint64_t init_range_start, uint64_t init_range_end, bool has_index_range, uint64_t index_range_start, uint64_t index_range_end, float duration_seconds, uint64_t file_size) override</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d49/vod__media__info__dump__muxer__listener_8cc_source.html#l00075">vod_media_info_dump_muxer_listener.cc:75</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_ab98cfd28046fc5c52ab2a45dba1a339a"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#ab98cfd28046fc5c52ab2a45dba1a339a">shaka::media::MuxerOptions::segment_template</a></div><div class="ttdeci">std::string segment_template</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00064">muxer_options.h:64</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_ab98cfd28046fc5c52ab2a45dba1a339a"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#ab98cfd28046fc5c52ab2a45dba1a339a">shaka::media::MuxerOptions::segment_template</a></div><div class="ttdeci">std::string segment_template</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00045">muxer_options.h:45</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:54 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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

@ -143,7 +143,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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:58 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:53 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 Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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

@ -438,7 +438,7 @@ Additional Inherited Members</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:53 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

@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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 Wed Mar 15 2017 20:48:58 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:54 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 Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:54 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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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

@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 @@ static const <a class="el" href="../../d0/d93/classshaka_1_1media_1_1Status.html
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:54 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

@ -329,7 +329,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 Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:49:00 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:55 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

@ -293,7 +293,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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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

@ -123,8 +123,10 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a871281f21d7c5e4194febe925860305c inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a464a30159b8888a54254356d191947ac inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d93/classshaka_1_1media_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a464a30159b8888a54254356d191947ac">Finalize</a> ()</td></tr>
<tr class="separator:a464a30159b8888a54254356d191947ac inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab73caca6e3c9821a5f17c236bd798a1b inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d93/classshaka_1_1media_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#ab73caca6e3c9821a5f17c236bd798a1b">AddSample</a> (const <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &amp;stream_Info, std::shared_ptr&lt; <a class="el" href="../../d7/d6d/classshaka_1_1media_1_1MediaSample.html">MediaSample</a> &gt; sample)</td></tr>
<tr class="separator:ab73caca6e3c9821a5f17c236bd798a1b inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3be336ca9df9686a9f186b51bbd8b021 inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d93/classshaka_1_1media_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a3be336ca9df9686a9f186b51bbd8b021">AddSample</a> (int stream_id, std::shared_ptr&lt; <a class="el" href="../../d7/d6d/classshaka_1_1media_1_1MediaSample.html">MediaSample</a> &gt; sample)</td></tr>
<tr class="separator:a3be336ca9df9686a9f186b51bbd8b021 inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21fcf0f3074416762a52fd54b4ec8a03 inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d93/classshaka_1_1media_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a21fcf0f3074416762a52fd54b4ec8a03">FinalizeSegment</a> (int stream_id, bool is_subsegment)</td></tr>
<tr class="separator:a21fcf0f3074416762a52fd54b4ec8a03 inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade1d84a501370686f3537840ae3a9fbc inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade1d84a501370686f3537840ae3a9fbc"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>GetReferenceTimeScale</b> () const </td></tr>
<tr class="separator:ade1d84a501370686f3537840ae3a9fbc inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -170,7 +172,7 @@ void&#160;</td><td class="memItemRight" valign="bottom"><b>set_progress_target</
<tr class="separator:a27aa9f749f1151582732cdbae8fb4f66 inherit pro_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="../../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html">Segmenter</a> for MP4 Dash Video-On-Demand profile. A single MP4 file with a single segment is created, i.e. with only one SIDX box. The generated media file can contain one or many subsegments with subsegment duration defined by <b><a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4e98ad5fc7bbc2df0cb95df3f1db9687">MuxerOptions.segment_duration</a></b>. A subsegment can contain one or many fragments with fragment duration defined by <b><a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a0dbe637b21f1f22f248437b59ad62a38">MuxerOptions.fragment_duration</a></b>. The actual subsegment or fragment duration may not match the requested duration exactly, but will be approximated. That is, the <a class="el" href="../../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html">Segmenter</a> tries to end subsegment/fragment at the first sample with overall subsegment/fragment duration not smaller than defined duration and yet meet SAP requirements. <a class="el" href="../../d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html">SingleSegmentSegmenter</a> ignores <b><a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece">MuxerOptions.num_subsegments_per_sidx</a></b>. </p>
<div class="textblock"><p><a class="el" href="../../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html">Segmenter</a> for MP4 Dash Video-On-Demand profile. A single MP4 file with a single segment is created, i.e. with only one SIDX box. The generated media file can contain one or many subsegments with subsegment duration defined by <b>MuxerOptions.segment_duration</b>. A subsegment can contain one or many fragments with fragment duration defined by <b>MuxerOptions.fragment_duration</b>. The actual subsegment or fragment duration may not match the requested duration exactly, but will be approximated. That is, the <a class="el" href="../../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html">Segmenter</a> tries to end subsegment/fragment at the first sample with overall subsegment/fragment duration not smaller than defined duration and yet meet SAP requirements. <a class="el" href="../../d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html">SingleSegmentSegmenter</a> ignores <b><a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece">MuxerOptions.num_subsegments_per_sidx</a></b>. </p>
<p>Definition at line <a class="el" href="../../d9/d01/mp4_2single__segment__segmenter_8h_source.html#l00028">28</a> of file <a class="el" href="../../d9/d01/mp4_2single__segment__segmenter_8h_source.html">single_segment_segmenter.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
@ -259,7 +261,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 Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:55 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 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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

@ -482,7 +482,7 @@ Additional Inherited Members</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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

@ -95,11 +95,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#aad137d0ae95d3e47a32725276970e324">AddSample</a>(std::shared_ptr&lt; MediaSample &gt; sample)</td><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>cluster</b>() (defined in <a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a>)</td><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>cluster_length_in_time_scale</b>() const (defined in <a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a>)</td><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>cues</b>() (defined in <a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a>)</td><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>DoFinalize</b>() override (defined in <a class="el" href="../../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html">shaka::media::webm::MultiSegmentSegmenter</a>)</td><td class="entry"><a class="el" href="../../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html">shaka::media::webm::MultiSegmentSegmenter</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>DoInitialize</b>(std::unique_ptr&lt; MkvWriter &gt; writer) override (defined in <a class="el" href="../../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html">shaka::media::webm::MultiSegmentSegmenter</a>)</td><td class="entry"><a class="el" href="../../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html">shaka::media::webm::MultiSegmentSegmenter</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#aa84782877f1afaf9519a552ac3d5d417">Finalize</a>()</td><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>cues</b>() (defined in <a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a>)</td><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>DoFinalize</b>() override (defined in <a class="el" href="../../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html">shaka::media::webm::MultiSegmentSegmenter</a>)</td><td class="entry"><a class="el" href="../../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html">shaka::media::webm::MultiSegmentSegmenter</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>DoInitialize</b>(std::unique_ptr&lt; MkvWriter &gt; writer) override (defined in <a class="el" href="../../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html">shaka::media::webm::MultiSegmentSegmenter</a>)</td><td class="entry"><a class="el" href="../../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html">shaka::media::webm::MultiSegmentSegmenter</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#aa84782877f1afaf9519a552ac3d5d417">Finalize</a>()</td><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html#a5d7029844e7c14bf88c70d3b34d96adf">FinalizeSegment</a>(uint64_t start_timescale, uint64_t duration_timescale, bool is_subsegment) override</td><td class="entry"><a class="el" href="../../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html">shaka::media::webm::MultiSegmentSegmenter</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a66c49dfab5316bea5b7b318871aef129">FromBMFFTimescale</a>(uint64_t time_timescale)</td><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a8de27c5b6480f968cbef9eafec3731d7">FromWebMTimecode</a>(uint64_t time_webm_timecode)</td><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a277aeb59ed41fc484a86101d565017ae">GetDuration</a>() const </td><td class="entry"><a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">shaka::media::webm::Segmenter</a></td><td class="entry"></td></tr>
@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:49:00 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:55 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 @@ int64_t&#160;</td><td class="memItemRight" valign="bottom"><b>duration</b> = 0</
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:55 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

@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:49:00 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:55 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:55 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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

@ -201,10 +201,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="preprocessor">#endif // MEDIA_FORMATS_WEBM_SEGMENTER_TEST_UTILS_H_</span></div>
<div class="ttc" id="classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser_html"><div class="ttname"><a href="../../d2/df8/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser.html">shaka::media::SegmentTestBase::ClusterParser</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d0/dee/segmenter__test__base_8h_source.html#l00081">segmenter_test_base.h:81</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1StreamInfo_html"><div class="ttname"><a href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">shaka::media::StreamInfo</a></div><div class="ttdoc">Abstract class holds stream information. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/daa/stream__info_8h_source.html#l00058">stream_info.h:58</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1SegmentTestBase_html_a7e34fd92e43914bd2f032835cdc9b8a7"><div class="ttname"><a href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a7e34fd92e43914bd2f032835cdc9b8a7">shaka::media::SegmentTestBase::CreateVideoStreamInfo</a></div><div class="ttdeci">VideoStreamInfo * CreateVideoStreamInfo() const </div><div class="ttdoc">Creates a video stream info object for testing. </div><div class="ttdef"><b>Definition:</b> <a href="../../d4/da7/segmenter__test__base_8cc_source.html#l00088">segmenter_test_base.cc:88</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a5397ee8759a663aea68261600e528d82"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a5397ee8759a663aea68261600e528d82">shaka::media::MuxerOptions::output_file_name</a></div><div class="ttdeci">std::string output_file_name</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00058">muxer_options.h:58</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1SegmentTestBase_html_a7e34fd92e43914bd2f032835cdc9b8a7"><div class="ttname"><a href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a7e34fd92e43914bd2f032835cdc9b8a7">shaka::media::SegmentTestBase::CreateVideoStreamInfo</a></div><div class="ttdeci">VideoStreamInfo * CreateVideoStreamInfo() const </div><div class="ttdoc">Creates a video stream info object for testing. </div><div class="ttdef"><b>Definition:</b> <a href="../../d4/da7/segmenter__test__base_8cc_source.html#l00084">segmenter_test_base.cc:84</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a5397ee8759a663aea68261600e528d82"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a5397ee8759a663aea68261600e528d82">shaka::media::MuxerOptions::output_file_name</a></div><div class="ttdeci">std::string output_file_name</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00039">muxer_options.h:39</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html">shaka::media::MuxerOptions</a></div><div class="ttdoc">This structure contains the list of configuration options for Muxer. </div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00018">muxer_options.h:18</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1SegmentTestBase_html_ace8082bd6dcd3aa07177c648f6ad7ecf"><div class="ttname"><a href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#ace8082bd6dcd3aa07177c648f6ad7ecf">shaka::media::SegmentTestBase::OutputFileName</a></div><div class="ttdeci">std::string OutputFileName() const </div><div class="ttdoc">Gets the file name of the current output file. </div><div class="ttdef"><b>Definition:</b> <a href="../../d4/da7/segmenter__test__base_8cc_source.html#l00095">segmenter_test_base.cc:95</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1SegmentTestBase_html_ace8082bd6dcd3aa07177c648f6ad7ecf"><div class="ttname"><a href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#ace8082bd6dcd3aa07177c648f6ad7ecf">shaka::media::SegmentTestBase::OutputFileName</a></div><div class="ttdeci">std::string OutputFileName() const </div><div class="ttdoc">Gets the file name of the current output file. </div><div class="ttdef"><b>Definition:</b> <a href="../../d4/da7/segmenter__test__base_8cc_source.html#l00091">segmenter_test_base.cc:91</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1SegmentTestBase_html_afd8845d029698f556ca09436da0c62ef"><div class="ttname"><a href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#afd8845d029698f556ca09436da0c62ef">shaka::media::SegmentTestBase::CreateSample</a></div><div class="ttdeci">std::shared_ptr&lt; MediaSample &gt; CreateSample(KeyFrameFlag key_frame_flag, uint64_t duration, SideDataFlag side_data_flag)</div><div class="ttdoc">Creates a new media sample. </div><div class="ttdef"><b>Definition:</b> <a href="../../d4/da7/segmenter__test__base_8cc_source.html#l00052">segmenter_test_base.cc:52</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1MkvWriter_html"><div class="ttname"><a href="../../d1/d0a/classshaka_1_1media_1_1MkvWriter.html">shaka::media::MkvWriter</a></div><div class="ttdoc">An implementation of IMkvWriter using our File type. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/dd6/mkv__writer_8h_source.html#l00021">mkv_writer.h:21</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1SegmentTestBase_html_a742824b930ae928f12214a5e350adc64"><div class="ttname"><a href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a742824b930ae928f12214a5e350adc64">shaka::media::SegmentTestBase::CreateAndInitializeSegmenter</a></div><div class="ttdeci">void CreateAndInitializeSegmenter(const MuxerOptions &amp;options, StreamInfo *info, KeySource *key_source, std::unique_ptr&lt; webm::Segmenter &gt; *result) const </div><div class="ttdoc">Creates a Segmenter of the given type and initializes it. </div><div class="ttdef"><b>Definition:</b> <a href="../../d0/dee/segmenter__test__base_8h_source.html#l00047">segmenter_test_base.h:47</a></div></div>
@ -217,7 +217,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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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

@ -110,184 +110,187 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;packager/media/base/playready_key_source.h&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;packager/media/base/request_signer.h&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;packager/media/base/widevine_key_source.h&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;packager/media/file/file.h&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;packager/mpd/base/mpd_options.h&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;DEFINE_bool(mp4_use_decoding_timestamp_in_timeline,</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keyword">false</span>,</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="stringliteral">&quot;If set, decoding timestamp instead of presentation timestamp will &quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="stringliteral">&quot;be used when generating media timeline, e.g. timestamps in sidx &quot;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="stringliteral">&quot;and mpd. This is to workaround a Chromium bug that decoding &quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="stringliteral">&quot;timestamp is used in buffered range, https://crbug.com/398130.&quot;</span>);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;DEFINE_bool(dump_stream_info, <span class="keyword">false</span>, <span class="stringliteral">&quot;Dump demuxed stream info.&quot;</span>);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">namespace </span>shaka {</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">namespace </span>media {</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;std::unique_ptr&lt;RequestSigner&gt; CreateSigner() {</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; std::unique_ptr&lt;RequestSigner&gt; signer;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordflow">if</span> (!FLAGS_aes_signing_key.empty()) {</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; signer.reset(<a class="code" href="../../d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html#a43f4cc9fad9901fa905805be81f7d58c">AesRequestSigner::CreateSigner</a>(</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; FLAGS_signer, FLAGS_aes_signing_key, FLAGS_aes_signing_iv));</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordflow">if</span> (!signer) {</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Cannot create an AES signer object from &#39;&quot;</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; &lt;&lt; FLAGS_aes_signing_key &lt;&lt; <span class="stringliteral">&quot;&#39;:&#39;&quot;</span> &lt;&lt; FLAGS_aes_signing_iv</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; &lt;&lt; <span class="stringliteral">&quot;&#39;.&quot;</span>;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;RequestSigner&gt;();</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; }</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!FLAGS_rsa_signing_key_path.empty()) {</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; std::string rsa_private_key;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#a622dbc8abacebb40b816aa0174ba7c60">File::ReadFileToString</a>(FLAGS_rsa_signing_key_path.c_str(),</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; &amp;rsa_private_key)) {</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Failed to read from &#39;&quot;</span> &lt;&lt; FLAGS_rsa_signing_key_path</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; &lt;&lt; <span class="stringliteral">&quot;&#39;.&quot;</span>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;RequestSigner&gt;();</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; }</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; signer.reset(<a class="code" href="../../d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html#af6af635a7c0a01bb638befb71b88386c">RsaRequestSigner::CreateSigner</a>(FLAGS_signer, rsa_private_key));</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordflow">if</span> (!signer) {</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Cannot create a RSA signer object from &#39;&quot;</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; &lt;&lt; FLAGS_rsa_signing_key_path &lt;&lt; <span class="stringliteral">&quot;&#39;.&quot;</span>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;RequestSigner&gt;();</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; }</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; }</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordflow">return</span> signer;</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;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;std::unique_ptr&lt;KeySource&gt; CreateEncryptionKeySource() {</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; std::unique_ptr&lt;KeySource&gt; encryption_key_source;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordflow">if</span> (FLAGS_enable_widevine_encryption) {</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; std::unique_ptr&lt;WidevineKeySource&gt; widevine_key_source(</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keyword">new</span> WidevineKeySource(FLAGS_key_server_url, FLAGS_include_common_pssh));</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordflow">if</span> (!FLAGS_signer.empty()) {</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; std::unique_ptr&lt;RequestSigner&gt; request_signer(CreateSigner());</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keywordflow">if</span> (!request_signer)</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; widevine_key_source-&gt;set_signer(std::move(request_signer));</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; }</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; std::vector&lt;uint8_t&gt; content_id;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordflow">if</span> (!base::HexStringToBytes(FLAGS_content_id, &amp;content_id)) {</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Invalid content_id hex string specified.&quot;</span>;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; }</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; Status status = widevine_key_source-&gt;FetchKeys(content_id, FLAGS_policy);</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordflow">if</span> (!status.ok()) {</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</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="l00088"></a><span class="lineno"> 88</span>&#160; &lt;&lt; status.ToString();</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</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; encryption_key_source = std::move(widevine_key_source);</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (FLAGS_enable_fixed_key_encryption) {</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; encryption_key_source = <a class="code" href="../../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a9a91ba439d785022a1e2ceeaa9ebe81a">FixedKeySource::CreateFromHexStrings</a>(</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; FLAGS_key_id, FLAGS_key, FLAGS_pssh, FLAGS_iv);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (FLAGS_enable_playready_encryption) {</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keywordflow">if</span> (!FLAGS_playready_key_id.empty() &amp;&amp; !FLAGS_playready_key.empty()) {</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; encryption_key_source = <a class="code" href="../../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#a4f539e8a54fef68aea5629489669508b">PlayReadyKeySource::CreateFromKeyAndKeyId</a>(</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; FLAGS_playready_key_id, FLAGS_playready_key);</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!FLAGS_playready_server_url.empty() &amp;&amp;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; !FLAGS_program_identifier.empty()) {</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; std::unique_ptr&lt;PlayReadyKeySource&gt; playready_key_source;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordflow">if</span> (!FLAGS_client_cert_file.empty() &amp;&amp;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; !FLAGS_client_cert_private_key_file.empty() &amp;&amp;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; !FLAGS_client_cert_private_key_password.empty()) {</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; playready_key_source.reset(<span class="keyword">new</span> PlayReadyKeySource(</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; FLAGS_playready_server_url,</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; FLAGS_client_cert_file,</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; FLAGS_client_cert_private_key_file,</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; FLAGS_client_cert_private_key_password));</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; playready_key_source.reset(<span class="keyword">new</span> PlayReadyKeySource(</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; FLAGS_playready_server_url));</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; }</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordflow">if</span> (!FLAGS_ca_file.empty()) {</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; playready_key_source-&gt;<a class="code" href="../../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#adeac90b9cff39bfa259f81ff3e93679c">SetCaFile</a>(FLAGS_ca_file);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; }</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; playready_key_source-&gt;FetchKeysWithProgramIdentifier(FLAGS_program_identifier);</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; encryption_key_source = std::move(playready_key_source);</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Error creating PlayReady key source.&quot;</span>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; }</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; <span class="keywordflow">return</span> encryption_key_source;</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;</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;std::unique_ptr&lt;KeySource&gt; CreateDecryptionKeySource() {</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; std::unique_ptr&lt;KeySource&gt; decryption_key_source;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordflow">if</span> (FLAGS_enable_widevine_decryption) {</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; std::unique_ptr&lt;WidevineKeySource&gt; widevine_key_source(</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keyword">new</span> WidevineKeySource(FLAGS_key_server_url, FLAGS_include_common_pssh));</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordflow">if</span> (!FLAGS_signer.empty()) {</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; std::unique_ptr&lt;RequestSigner&gt; request_signer(CreateSigner());</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordflow">if</span> (!request_signer)</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; widevine_key_source-&gt;set_signer(std::move(request_signer));</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;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; decryption_key_source = std::move(widevine_key_source);</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (FLAGS_enable_fixed_key_decryption) {</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> kNoPssh[] = <span class="stringliteral">&quot;&quot;</span>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> kNoIv[] = <span class="stringliteral">&quot;&quot;</span>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; decryption_key_source = <a class="code" href="../../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a9a91ba439d785022a1e2ceeaa9ebe81a">FixedKeySource::CreateFromHexStrings</a>(</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; FLAGS_key_id, FLAGS_key, kNoPssh, kNoIv);</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> decryption_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;<span class="keywordtype">bool</span> GetMuxerOptions(MuxerOptions* muxer_options) {</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; DCHECK(muxer_options);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; muxer_options-&gt;segment_duration = FLAGS_segment_duration;</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; muxer_options-&gt;fragment_duration = FLAGS_fragment_duration;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; muxer_options-&gt;segment_sap_aligned = FLAGS_segment_sap_aligned;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; muxer_options-&gt;fragment_sap_aligned = FLAGS_fragment_sap_aligned;</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; muxer_options-&gt;num_subsegments_per_sidx = FLAGS_num_subsegments_per_sidx;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; muxer_options-&gt;webm_subsample_encryption = FLAGS_webm_subsample_encryption;</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordflow">if</span> (FLAGS_mp4_use_decoding_timestamp_in_timeline) {</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; LOG(WARNING) &lt;&lt; <span class="stringliteral">&quot;Flag --mp4_use_decoding_timestamp_in_timeline is set. &quot;</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="stringliteral">&quot;Note that it is a temporary hack to workaround Chromium &quot;</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="stringliteral">&quot;bug https://crbug.com/398130. The flag may be removed &quot;</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="stringliteral">&quot;when the Chromium bug is fixed.&quot;</span>;</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; }</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; muxer_options-&gt;mp4_use_decoding_timestamp_in_timeline =</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; FLAGS_mp4_use_decoding_timestamp_in_timeline;</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; muxer_options-&gt;temp_dir = FLAGS_temp_dir;</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</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;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;<span class="keywordtype">bool</span> GetMpdOptions(<span class="keywordtype">bool</span> on_demand_profile, MpdOptions* mpd_options) {</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; DCHECK(mpd_options);</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; mpd_options-&gt;dash_profile =</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; on_demand_profile ? DashProfile::kOnDemand : DashProfile::kLive;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; mpd_options-&gt;mpd_type =</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; (on_demand_profile || FLAGS_generate_static_mpd)</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; ? MpdType::kStatic</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; : MpdType::kDynamic;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; mpd_options-&gt;availability_time_offset = FLAGS_availability_time_offset;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; mpd_options-&gt;minimum_update_period = FLAGS_minimum_update_period;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; mpd_options-&gt;min_buffer_time = FLAGS_min_buffer_time;</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; mpd_options-&gt;time_shift_buffer_depth = FLAGS_time_shift_buffer_depth;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; mpd_options-&gt;suggested_presentation_delay =</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; FLAGS_suggested_presentation_delay;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; mpd_options-&gt;default_language = FLAGS_default_language;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</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;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;} <span class="comment">// namespace media</span></div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;} <span class="comment">// namespace shaka</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;packager/media/chunking/chunking_handler.h&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;packager/media/file/file.h&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;packager/mpd/base/mpd_options.h&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;DEFINE_bool(mp4_use_decoding_timestamp_in_timeline,</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keyword">false</span>,</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="stringliteral">&quot;If set, decoding timestamp instead of presentation timestamp will &quot;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="stringliteral">&quot;be used when generating media timeline, e.g. timestamps in sidx &quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="stringliteral">&quot;and mpd. This is to workaround a Chromium bug that decoding &quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="stringliteral">&quot;timestamp is used in buffered range, https://crbug.com/398130.&quot;</span>);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;DEFINE_bool(dump_stream_info, <span class="keyword">false</span>, <span class="stringliteral">&quot;Dump demuxed stream info.&quot;</span>);</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">namespace </span>shaka {</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">namespace </span>media {</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;std::unique_ptr&lt;RequestSigner&gt; CreateSigner() {</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; std::unique_ptr&lt;RequestSigner&gt; signer;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordflow">if</span> (!FLAGS_aes_signing_key.empty()) {</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; signer.reset(<a class="code" href="../../d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html#a43f4cc9fad9901fa905805be81f7d58c">AesRequestSigner::CreateSigner</a>(</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; FLAGS_signer, FLAGS_aes_signing_key, FLAGS_aes_signing_iv));</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keywordflow">if</span> (!signer) {</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Cannot create an AES signer object from &#39;&quot;</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; &lt;&lt; FLAGS_aes_signing_key &lt;&lt; <span class="stringliteral">&quot;&#39;:&#39;&quot;</span> &lt;&lt; FLAGS_aes_signing_iv</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; &lt;&lt; <span class="stringliteral">&quot;&#39;.&quot;</span>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;RequestSigner&gt;();</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; }</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!FLAGS_rsa_signing_key_path.empty()) {</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; std::string rsa_private_key;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#a622dbc8abacebb40b816aa0174ba7c60">File::ReadFileToString</a>(FLAGS_rsa_signing_key_path.c_str(),</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; &amp;rsa_private_key)) {</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Failed to read from &#39;&quot;</span> &lt;&lt; FLAGS_rsa_signing_key_path</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; &lt;&lt; <span class="stringliteral">&quot;&#39;.&quot;</span>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;RequestSigner&gt;();</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; }</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; signer.reset(<a class="code" href="../../d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html#af6af635a7c0a01bb638befb71b88386c">RsaRequestSigner::CreateSigner</a>(FLAGS_signer, rsa_private_key));</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordflow">if</span> (!signer) {</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Cannot create a RSA signer object from &#39;&quot;</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; &lt;&lt; FLAGS_rsa_signing_key_path &lt;&lt; <span class="stringliteral">&quot;&#39;.&quot;</span>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;RequestSigner&gt;();</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; }</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; }</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keywordflow">return</span> signer;</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;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;std::unique_ptr&lt;KeySource&gt; CreateEncryptionKeySource() {</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; std::unique_ptr&lt;KeySource&gt; encryption_key_source;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordflow">if</span> (FLAGS_enable_widevine_encryption) {</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; std::unique_ptr&lt;WidevineKeySource&gt; widevine_key_source(</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keyword">new</span> WidevineKeySource(FLAGS_key_server_url, FLAGS_include_common_pssh));</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordflow">if</span> (!FLAGS_signer.empty()) {</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; std::unique_ptr&lt;RequestSigner&gt; request_signer(CreateSigner());</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordflow">if</span> (!request_signer)</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; widevine_key_source-&gt;set_signer(std::move(request_signer));</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; }</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; std::vector&lt;uint8_t&gt; content_id;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordflow">if</span> (!base::HexStringToBytes(FLAGS_content_id, &amp;content_id)) {</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Invalid content_id hex string specified.&quot;</span>;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; }</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; Status status = widevine_key_source-&gt;FetchKeys(content_id, FLAGS_policy);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordflow">if</span> (!status.ok()) {</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</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="l00089"></a><span class="lineno"> 89</span>&#160; &lt;&lt; status.ToString();</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</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; encryption_key_source = std::move(widevine_key_source);</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (FLAGS_enable_fixed_key_encryption) {</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; encryption_key_source = <a class="code" href="../../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a9a91ba439d785022a1e2ceeaa9ebe81a">FixedKeySource::CreateFromHexStrings</a>(</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; FLAGS_key_id, FLAGS_key, FLAGS_pssh, FLAGS_iv);</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (FLAGS_enable_playready_encryption) {</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keywordflow">if</span> (!FLAGS_playready_key_id.empty() &amp;&amp; !FLAGS_playready_key.empty()) {</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; encryption_key_source = <a class="code" href="../../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#a4f539e8a54fef68aea5629489669508b">PlayReadyKeySource::CreateFromKeyAndKeyId</a>(</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; FLAGS_playready_key_id, FLAGS_playready_key);</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!FLAGS_playready_server_url.empty() &amp;&amp;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; !FLAGS_program_identifier.empty()) {</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; std::unique_ptr&lt;PlayReadyKeySource&gt; playready_key_source;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordflow">if</span> (!FLAGS_client_cert_file.empty() &amp;&amp;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; !FLAGS_client_cert_private_key_file.empty() &amp;&amp;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; !FLAGS_client_cert_private_key_password.empty()) {</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; playready_key_source.reset(<span class="keyword">new</span> PlayReadyKeySource(</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; FLAGS_playready_server_url,</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; FLAGS_client_cert_file,</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; FLAGS_client_cert_private_key_file,</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; FLAGS_client_cert_private_key_password));</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; playready_key_source.reset(<span class="keyword">new</span> PlayReadyKeySource(</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; FLAGS_playready_server_url));</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; }</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keywordflow">if</span> (!FLAGS_ca_file.empty()) {</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; playready_key_source-&gt;<a class="code" href="../../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#adeac90b9cff39bfa259f81ff3e93679c">SetCaFile</a>(FLAGS_ca_file);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; }</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; playready_key_source-&gt;FetchKeysWithProgramIdentifier(FLAGS_program_identifier);</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; encryption_key_source = std::move(playready_key_source);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; LOG(ERROR) &lt;&lt; <span class="stringliteral">&quot;Error creating PlayReady key source.&quot;</span>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</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">return</span> encryption_key_source;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;}</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;std::unique_ptr&lt;KeySource&gt; CreateDecryptionKeySource() {</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; std::unique_ptr&lt;KeySource&gt; decryption_key_source;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keywordflow">if</span> (FLAGS_enable_widevine_decryption) {</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; std::unique_ptr&lt;WidevineKeySource&gt; widevine_key_source(</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keyword">new</span> WidevineKeySource(FLAGS_key_server_url, FLAGS_include_common_pssh));</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordflow">if</span> (!FLAGS_signer.empty()) {</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; std::unique_ptr&lt;RequestSigner&gt; request_signer(CreateSigner());</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordflow">if</span> (!request_signer)</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordflow">return</span> std::unique_ptr&lt;KeySource&gt;();</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; widevine_key_source-&gt;set_signer(std::move(request_signer));</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; }</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; decryption_key_source = std::move(widevine_key_source);</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (FLAGS_enable_fixed_key_decryption) {</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> kNoPssh[] = <span class="stringliteral">&quot;&quot;</span>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> kNoIv[] = <span class="stringliteral">&quot;&quot;</span>;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; decryption_key_source = <a class="code" href="../../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a9a91ba439d785022a1e2ceeaa9ebe81a">FixedKeySource::CreateFromHexStrings</a>(</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; FLAGS_key_id, FLAGS_key, kNoPssh, kNoIv);</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="keywordflow">return</span> decryption_key_source;</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;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;ChunkingOptions GetChunkingOptions() {</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; ChunkingOptions chunking_options;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; chunking_options.<a class="code" href="../../db/d02/structshaka_1_1media_1_1ChunkingOptions.html#a1cdbde61303f629cc9b4cbcd98f2d711">segment_duration_in_seconds</a> = FLAGS_segment_duration;</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; chunking_options.subsegment_duration_in_seconds = FLAGS_fragment_duration;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; chunking_options.segment_sap_aligned = FLAGS_segment_sap_aligned;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; chunking_options.subsegment_sap_aligned = FLAGS_fragment_sap_aligned;</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordflow">return</span> chunking_options;</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;</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;MuxerOptions GetMuxerOptions() {</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; MuxerOptions muxer_options;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; muxer_options.<a class="code" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece">num_subsegments_per_sidx</a> = FLAGS_num_subsegments_per_sidx;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; muxer_options.webm_subsample_encryption = FLAGS_webm_subsample_encryption;</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordflow">if</span> (FLAGS_mp4_use_decoding_timestamp_in_timeline) {</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; LOG(WARNING) &lt;&lt; <span class="stringliteral">&quot;Flag --mp4_use_decoding_timestamp_in_timeline is set. &quot;</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="stringliteral">&quot;Note that it is a temporary hack to workaround Chromium &quot;</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="stringliteral">&quot;bug https://crbug.com/398130. The flag may be removed &quot;</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="stringliteral">&quot;when the Chromium bug is fixed.&quot;</span>;</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; }</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; muxer_options.mp4_use_decoding_timestamp_in_timeline =</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; FLAGS_mp4_use_decoding_timestamp_in_timeline;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; muxer_options.temp_dir = FLAGS_temp_dir;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keywordflow">return</span> muxer_options;</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;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;MpdOptions GetMpdOptions(<span class="keywordtype">bool</span> on_demand_profile) {</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; MpdOptions mpd_options;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; mpd_options.dash_profile =</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; on_demand_profile ? DashProfile::kOnDemand : DashProfile::kLive;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; mpd_options.mpd_type = (on_demand_profile || FLAGS_generate_static_mpd)</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; ? MpdType::kStatic</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; : MpdType::kDynamic;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; mpd_options.availability_time_offset = FLAGS_availability_time_offset;</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; mpd_options.minimum_update_period = FLAGS_minimum_update_period;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; mpd_options.min_buffer_time = FLAGS_min_buffer_time;</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; mpd_options.time_shift_buffer_depth = FLAGS_time_shift_buffer_depth;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; mpd_options.suggested_presentation_delay = FLAGS_suggested_presentation_delay;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; mpd_options.default_language = FLAGS_default_language;</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keywordflow">return</span> mpd_options;</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;}</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;} <span class="comment">// namespace media</span></div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</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#l00064">request_signer.cc:64</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1AesRequestSigner_html_a43f4cc9fad9901fa905805be81f7d58c"><div class="ttname"><a href="../../d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html#a43f4cc9fad9901fa905805be81f7d58c">shaka::media::AesRequestSigner::CreateSigner</a></div><div class="ttdeci">static AesRequestSigner * CreateSigner(const std::string &amp;signer_name, const std::string &amp;aes_key_hex, const std::string &amp;iv_hex)</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/df5/request__signer_8cc_source.html#l00029">request_signer.cc:29</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1FixedKeySource_html_a9a91ba439d785022a1e2ceeaa9ebe81a"><div class="ttname"><a href="../../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a9a91ba439d785022a1e2ceeaa9ebe81a">shaka::media::FixedKeySource::CreateFromHexStrings</a></div><div class="ttdeci">static std::unique_ptr&lt; FixedKeySource &gt; CreateFromHexStrings(const std::string &amp;key_id_hex, const std::string &amp;key_hex, const std::string &amp;pssh_boxes_hex, const std::string &amp;iv_hex)</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d6b/fixed__key__source_8cc_source.html#l00087">fixed_key_source.cc:87</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#l00065">playready_key_source.h:65</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1MuxerOptions_html_a2db773300dadf681c40bef0b3eca3ece"><div class="ttname"><a href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a2db773300dadf681c40bef0b3eca3ece">shaka::media::MuxerOptions::num_subsegments_per_sidx</a></div><div class="ttdeci">int num_subsegments_per_sidx</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d0e/muxer__options_8h_source.html#l00027">muxer_options.h:27</a></div></div>
<div class="ttc" id="structshaka_1_1media_1_1ChunkingOptions_html_a1cdbde61303f629cc9b4cbcd98f2d711"><div class="ttname"><a href="../../db/d02/structshaka_1_1media_1_1ChunkingOptions.html#a1cdbde61303f629cc9b4cbcd98f2d711">shaka::media::ChunkingOptions::segment_duration_in_seconds</a></div><div class="ttdeci">double segment_duration_in_seconds</div><div class="ttdoc">Segment duration in seconds. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d79/chunking__handler_8h_source.html#l00019">chunking_handler.h:19</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1File_html_a622dbc8abacebb40b816aa0174ba7c60"><div class="ttname"><a href="../../d3/d61/classshaka_1_1media_1_1File.html#a622dbc8abacebb40b816aa0174ba7c60">shaka::media::File::ReadFileToString</a></div><div class="ttdeci">static bool ReadFileToString(const char *file_name, std::string *contents)</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/dfc/file_8cc_source.html#l00185">file.cc:185</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1PlayReadyKeySource_html_a4f539e8a54fef68aea5629489669508b"><div class="ttname"><a href="../../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#a4f539e8a54fef68aea5629489669508b">shaka::media::PlayReadyKeySource::CreateFromKeyAndKeyId</a></div><div class="ttdeci">static std::unique_ptr&lt; PlayReadyKeySource &gt; CreateFromKeyAndKeyId(const std::string &amp;key_id_hex, const std::string &amp;key_hex)</div><div class="ttdef"><b>Definition:</b> <a href="../../da/dd0/playready__key__source_8cc_source.html#l00184">playready_key_source.cc:184</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:58 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:54 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 @@ Public Member Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:53 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 Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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

@ -256,7 +256,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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:53 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

@ -249,7 +249,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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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,106 +176,103 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
<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;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;Status TwoPassSingleSegmentSegmenter::DoFinalize() {</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordflow">if</span> (!cluster()-&gt;Finalize())</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">&quot;Error finalizing cluster.&quot;</span>);</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; <span class="keyword">const</span> uint64_t header_size = init_end() + 1;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keyword">const</span> uint64_t cues_pos = header_size - segment_payload_pos();</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keyword">const</span> uint64_t cues_size = UpdateCues(cues());</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; seek_head()-&gt;set_cues_pos(cues_pos);</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; seek_head()-&gt;set_cluster_pos(cues_pos + cues_size);</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; <span class="comment">// Write the header to the real output file.</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keyword">const</span> uint64_t file_size = writer()-&gt;<a class="code" href="../../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a468dcd83a7c087cc83e755703488e92b">Position</a>() + cues_size;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; Status temp = WriteSegmentHeader(file_size, real_writer_.get());</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordflow">if</span> (!temp.ok())</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordflow">return</span> temp;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; DCHECK_EQ(real_writer_-&gt;Position(), <span class="keyword">static_cast&lt;</span>int64_t<span class="keyword">&gt;</span>(header_size));</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="comment">// Write the cues to the real output file.</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; set_index_start(real_writer_-&gt;Position());</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">if</span> (!cues()-&gt;Write(real_writer_.get()))</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">&quot;Error writing Cues data.&quot;</span>);</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; set_index_end(real_writer_-&gt;Position() - 1);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; DCHECK_EQ(real_writer_-&gt;Position(),</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keyword">static_cast&lt;</span>int64_t<span class="keyword">&gt;</span>(segment_payload_pos() + cues_pos + cues_size));</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="comment">// Close the temp file and open it for reading.</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; set_writer(std::unique_ptr&lt;MkvWriter&gt;());</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; std::unique_ptr&lt;File, FileCloser&gt; temp_reader(</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#aad6b77e734bb22d077ece029c9e735a4">File::Open</a>(temp_file_name_.c_str(), <span class="stringliteral">&quot;r&quot;</span>));</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordflow">if</span> (!temp_reader)</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">&quot;Error opening temp file.&quot;</span>);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="comment">// Skip the header that has already been written.</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keywordflow">if</span> (!ReadSkip(temp_reader.get(), header_size))</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">&quot;Error reading temp file.&quot;</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; <span class="comment">// Copy the rest of the data over.</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <span class="keywordflow">if</span> (!CopyFileWithClusterRewrite(temp_reader.get(), real_writer_.get(),</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; cluster()-&gt;Size())) {</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">&quot;Error copying temp file.&quot;</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;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="comment">// Close and delete the temp file.</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; temp_reader.reset();</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#a92cdfd68e6384dfcc14c78b20c98368e">File::Delete</a>(temp_file_name_.c_str())) {</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; LOG(WARNING) &lt;&lt; <span class="stringliteral">&quot;Unable to delete temporary file &quot;</span> &lt;&lt; temp_file_name_;</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; }</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keyword">const</span> uint64_t header_size = init_end() + 1;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keyword">const</span> uint64_t cues_pos = header_size - segment_payload_pos();</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keyword">const</span> uint64_t cues_size = UpdateCues(cues());</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; seek_head()-&gt;set_cues_pos(cues_pos);</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; seek_head()-&gt;set_cluster_pos(cues_pos + cues_size);</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="comment">// Write the header to the real output file.</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keyword">const</span> uint64_t file_size = writer()-&gt;<a class="code" href="../../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a468dcd83a7c087cc83e755703488e92b">Position</a>() + cues_size;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; Status temp = WriteSegmentHeader(file_size, real_writer_.get());</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordflow">if</span> (!temp.ok())</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordflow">return</span> temp;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; DCHECK_EQ(real_writer_-&gt;Position(), <span class="keyword">static_cast&lt;</span>int64_t<span class="keyword">&gt;</span>(header_size));</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="comment">// Write the cues to the real output file.</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; set_index_start(real_writer_-&gt;Position());</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keywordflow">if</span> (!cues()-&gt;Write(real_writer_.get()))</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">&quot;Error writing Cues data.&quot;</span>);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; set_index_end(real_writer_-&gt;Position() - 1);</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; DCHECK_EQ(real_writer_-&gt;Position(),</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keyword">static_cast&lt;</span>int64_t<span class="keyword">&gt;</span>(segment_payload_pos() + cues_pos + cues_size));</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="comment">// Close the temp file and open it for reading.</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; set_writer(std::unique_ptr&lt;MkvWriter&gt;());</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; std::unique_ptr&lt;File, FileCloser&gt; temp_reader(</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#aad6b77e734bb22d077ece029c9e735a4">File::Open</a>(temp_file_name_.c_str(), <span class="stringliteral">&quot;r&quot;</span>));</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keywordflow">if</span> (!temp_reader)</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">&quot;Error opening temp file.&quot;</span>);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="comment">// Skip the header that has already been written.</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordflow">if</span> (!ReadSkip(temp_reader.get(), header_size))</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">&quot;Error reading temp file.&quot;</span>);</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="comment">// Copy the rest of the data over.</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keywordflow">if</span> (!CopyFileWithClusterRewrite(temp_reader.get(), real_writer_.get(),</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; cluster()-&gt;Size())) {</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">&quot;Error copying temp file.&quot;</span>);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; }</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="comment">// Close and delete the temp file.</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; temp_reader.reset();</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#a92cdfd68e6384dfcc14c78b20c98368e">File::Delete</a>(temp_file_name_.c_str())) {</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; LOG(WARNING) &lt;&lt; <span class="stringliteral">&quot;Unable to delete temporary file &quot;</span> &lt;&lt; temp_file_name_;</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;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordflow">return</span> real_writer_-&gt;Close();</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;}</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">return</span> real_writer_-&gt;Close();</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;}</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="keywordtype">bool</span> TwoPassSingleSegmentSegmenter::CopyFileWithClusterRewrite(</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; File* source,</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; MkvWriter* dest,</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; uint64_t last_size) {</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_id_size = mkvmuxer::GetUIntSize(mkvmuxer::kMkvCluster);</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_size_size = 8; <span class="comment">// The size of the Cluster size integer.</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_header_size = cluster_id_size + cluster_size_size;</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; <span class="comment">// We are at the start of a cluster, so copy the ID.</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordflow">if</span> (dest-&gt;WriteFromFile(source, cluster_id_size) != cluster_id_size)</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; cues()-&gt;cue_entries_size() - 1; ++i) {</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="comment">// Write the size of the cluster.</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keyword">const</span> mkvmuxer::CuePoint* cue = cues()-&gt;GetCueByIndex(i);</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keyword">const</span> mkvmuxer::CuePoint* next_cue = cues()-&gt;GetCueByIndex(i + 1);</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keyword">const</span> int64_t cluster_payload_size =</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; next_cue-&gt;cluster_pos() - cue-&gt;cluster_pos() - cluster_header_size;</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordflow">if</span> (mkvmuxer::WriteUIntSize(dest, cluster_payload_size, cluster_size_size))</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="comment">// Copy the cluster and the next cluster&#39;s ID.</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; int64_t to_copy = cluster_payload_size + cluster_id_size;</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">if</span> (dest-&gt;WriteFromFile(source, to_copy) != to_copy)</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</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; <span class="comment">// Update the progress; need to convert from WebM timecode to ISO BMFF.</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keyword">const</span> uint64_t webm_delta_time = next_cue-&gt;time() - cue-&gt;time();</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keyword">const</span> uint64_t delta_time = FromWebMTimecode(webm_delta_time);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; UpdateProgress(delta_time);</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="comment">// The last cluster takes up until the cues.</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keyword">const</span> uint64_t last_cluster_payload_size = last_size - cluster_header_size;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keywordflow">if</span> (mkvmuxer::WriteUIntSize(dest, last_cluster_payload_size,</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; cluster_size_size))</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</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="comment">// Copy the last cluster.</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordflow">return</span> dest-&gt;WriteFromFile(source) ==</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keyword">static_cast&lt;</span>int64_t<span class="keyword">&gt;</span>(last_cluster_payload_size);</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;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;} <span class="comment">// namespace webm</span></div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;} <span class="comment">// namespace media</span></div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;} <span class="comment">// namespace shaka</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="keywordtype">bool</span> TwoPassSingleSegmentSegmenter::CopyFileWithClusterRewrite(</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; File* source,</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; MkvWriter* dest,</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; uint64_t last_size) {</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_id_size = mkvmuxer::GetUIntSize(mkvmuxer::kMkvCluster);</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_size_size = 8; <span class="comment">// The size of the Cluster size integer.</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_header_size = cluster_id_size + cluster_size_size;</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="comment">// We are at the start of a cluster, so copy the ID.</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keywordflow">if</span> (dest-&gt;WriteFromFile(source, cluster_id_size) != cluster_id_size)</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</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; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; cues()-&gt;cue_entries_size() - 1; ++i) {</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="comment">// Write the size of the cluster.</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keyword">const</span> mkvmuxer::CuePoint* cue = cues()-&gt;GetCueByIndex(i);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keyword">const</span> mkvmuxer::CuePoint* next_cue = cues()-&gt;GetCueByIndex(i + 1);</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keyword">const</span> int64_t cluster_payload_size =</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; next_cue-&gt;cluster_pos() - cue-&gt;cluster_pos() - cluster_header_size;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordflow">if</span> (mkvmuxer::WriteUIntSize(dest, cluster_payload_size, cluster_size_size))</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordflow">return</span> <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="comment">// Copy the cluster and the next cluster&#39;s ID.</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; int64_t to_copy = cluster_payload_size + cluster_id_size;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordflow">if</span> (dest-&gt;WriteFromFile(source, to_copy) != to_copy)</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="comment">// Update the progress; need to convert from WebM timecode to ISO BMFF.</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keyword">const</span> uint64_t webm_delta_time = next_cue-&gt;time() - cue-&gt;time();</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="keyword">const</span> uint64_t delta_time = FromWebMTimecode(webm_delta_time);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; UpdateProgress(delta_time);</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;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="comment">// The last cluster takes up until the cues.</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keyword">const</span> uint64_t last_cluster_payload_size = last_size - cluster_header_size;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keywordflow">if</span> (mkvmuxer::WriteUIntSize(dest, last_cluster_payload_size,</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; cluster_size_size))</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</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; <span class="comment">// Copy the last cluster.</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordflow">return</span> dest-&gt;WriteFromFile(source) ==</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keyword">static_cast&lt;</span>int64_t<span class="keyword">&gt;</span>(last_cluster_payload_size);</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;}</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;} <span class="comment">// namespace webm</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;} <span class="comment">// namespace media</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;} <span class="comment">// namespace shaka</span></div>
<div class="ttc" id="classshaka_1_1media_1_1File_html_aad6b77e734bb22d077ece029c9e735a4"><div class="ttname"><a href="../../d3/d61/classshaka_1_1media_1_1File.html#aad6b77e734bb22d077ece029c9e735a4">shaka::media::File::Open</a></div><div class="ttdeci">virtual bool Open()=0</div><div class="ttdoc">Internal open. Should not be used directly. </div></div>
<div class="ttc" id="namespaceshaka_html_a66e7e156c1f83435fb6c130803e48f62"><div class="ttname"><a href="../../d8/daf/namespaceshaka.html#a66e7e156c1f83435fb6c130803e48f62">shaka::TempFilePath</a></div><div class="ttdeci">bool TempFilePath(const std::string &amp;temp_dir, std::string *temp_file_path)</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d2b/file__util_8cc_source.html#l00027">file_util.cc:27</a></div></div>
<div class="ttc" id="classshaka_1_1media_1_1MkvWriter_html_a468dcd83a7c087cc83e755703488e92b"><div class="ttname"><a href="../../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a468dcd83a7c087cc83e755703488e92b">shaka::media::MkvWriter::Position</a></div><div class="ttdeci">mkvmuxer::int64 Position() const override</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dc8/mkv__writer_8cc_source.html#l00071">mkv_writer.cc:71</a></div></div>
@ -283,7 +280,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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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

@ -410,7 +410,7 @@ static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:55 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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

@ -126,7 +126,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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:53 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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:54 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 Wed Mar 15 2017 20:48:58 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:53 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

@ -483,7 +483,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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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 Wed Mar 15 2017 20:48:58 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:53 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 Wed Mar 15 2017 20:49:00 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:55 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:54 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:54 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

@ -293,7 +293,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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:54 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:50 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 Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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

@ -268,7 +268,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 Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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 Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:52 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 Wed Mar 15 2017 20:48:55 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:51 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 Wed Mar 15 2017 20:48:57 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:53 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

@ -94,37 +94,38 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
<p>This is the complete list of members for <a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html">shaka::media::mp4::KeyRotationFragmenter</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a47bfcdce7bfcf5884fa805130856c5b4">AddSample</a>(std::shared_ptr&lt; MediaSample &gt; sample) override</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a4220479b2dd98b462ff4dd4afcf56d0e">CreateEncryptor</a>()</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>crypt_byte_block</b>() const (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>data</b>() (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>earliest_presentation_time</b>() const (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a0203dc3c39c1c9426ab7986ca31036ee">EncryptingFragmenter</a>(std::shared_ptr&lt; StreamInfo &gt; info, TrackFragment *traf, std::unique_ptr&lt; EncryptionKey &gt; encryption_key, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *listener)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>encryption_key</b>() const (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>encryptor</b>() (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a0de01823838c543cb8f6f8e330712ac2">FinalizeFragment</a>() override</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a5cfbe43af4b1617853cef5fc2243003b">FinalizeFragmentForEncryption</a>()</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>first_sap_time</b>() const (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>fragment_duration</b>() const (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>fragment_finalized</b>() const (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>fragment_initialized</b>() const (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#a1be96f51fc8ea765aab7142df1bf6006">Fragmenter</a>(std::shared_ptr&lt; StreamInfo &gt; info, TrackFragment *traf)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#af1f1d56215c1e9543bfb516136862fa6">GenerateSegmentReference</a>(SegmentReference *reference)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a126294f104809268975fe04391902ad3">InitializeFragment</a>(int64_t first_sample_dts) override</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#ab2ad830e0c019f5cdd7f3389ce536a6d">KeyRotationFragmenter</a>(MovieFragment *moof, std::shared_ptr&lt; StreamInfo &gt; info, TrackFragment *traf, KeySource *encryption_key_source, KeySource::TrackType track_type, int64_t crypto_period_duration, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *muxer_listener)</td><td class="entry"><a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html">shaka::media::mp4::KeyRotationFragmenter</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#a208b7b8dd83e73c4206469695a3216d4">OptimizeSampleEntries</a>(std::vector&lt; T &gt; *entries, T *default_value)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#a3bdb3a237cb8eb1484ee98e195d290a7">PrepareFragmentForEncryption</a>(bool enable_encryption) override</td><td class="entry"><a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html">shaka::media::mp4::KeyRotationFragmenter</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>protection_scheme</b>() const (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>set_encryption_key</b>(std::unique_ptr&lt; EncryptionKey &gt; encryption_key) (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#a6f9d467d7188160ee445b74b6f0905f4">set_use_decoding_timestamp_in_timeline</a>(bool use_decoding_timestamp_in_timeline)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>skip_byte_block</b>() const (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>traf</b>() (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>~EncryptingFragmenter</b>() override (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Fragmenter</b>() (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>~KeyRotationFragmenter</b>() override (defined in <a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html">shaka::media::mp4::KeyRotationFragmenter</a>)</td><td class="entry"><a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html">shaka::media::mp4::KeyRotationFragmenter</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>ClearFragmentFinalized</b>() (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a4220479b2dd98b462ff4dd4afcf56d0e">CreateEncryptor</a>()</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>crypt_byte_block</b>() const (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>data</b>() (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>earliest_presentation_time</b>() const (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a0203dc3c39c1c9426ab7986ca31036ee">EncryptingFragmenter</a>(std::shared_ptr&lt; StreamInfo &gt; info, TrackFragment *traf, std::unique_ptr&lt; EncryptionKey &gt; encryption_key, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *listener)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>encryption_key</b>() const (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>encryptor</b>() (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a0de01823838c543cb8f6f8e330712ac2">FinalizeFragment</a>() override</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a5cfbe43af4b1617853cef5fc2243003b">FinalizeFragmentForEncryption</a>()</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>first_sap_time</b>() const (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>fragment_duration</b>() const (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>fragment_finalized</b>() const (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>fragment_initialized</b>() const (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#a1be96f51fc8ea765aab7142df1bf6006">Fragmenter</a>(std::shared_ptr&lt; StreamInfo &gt; info, TrackFragment *traf)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#af1f1d56215c1e9543bfb516136862fa6">GenerateSegmentReference</a>(SegmentReference *reference)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a126294f104809268975fe04391902ad3">InitializeFragment</a>(int64_t first_sample_dts) override</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#ab2ad830e0c019f5cdd7f3389ce536a6d">KeyRotationFragmenter</a>(MovieFragment *moof, std::shared_ptr&lt; StreamInfo &gt; info, TrackFragment *traf, KeySource *encryption_key_source, KeySource::TrackType track_type, int64_t crypto_period_duration, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *muxer_listener)</td><td class="entry"><a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html">shaka::media::mp4::KeyRotationFragmenter</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#a208b7b8dd83e73c4206469695a3216d4">OptimizeSampleEntries</a>(std::vector&lt; T &gt; *entries, T *default_value)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#a3bdb3a237cb8eb1484ee98e195d290a7">PrepareFragmentForEncryption</a>(bool enable_encryption) override</td><td class="entry"><a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html">shaka::media::mp4::KeyRotationFragmenter</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>protection_scheme</b>() const (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>set_encryption_key</b>(std::unique_ptr&lt; EncryptionKey &gt; encryption_key) (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#a6f9d467d7188160ee445b74b6f0905f4">set_use_decoding_timestamp_in_timeline</a>(bool use_decoding_timestamp_in_timeline)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>skip_byte_block</b>() const (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>traf</b>() (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~EncryptingFragmenter</b>() override (defined in <a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a>)</td><td class="entry"><a class="el" href="../../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html">shaka::media::mp4::EncryptingFragmenter</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>~Fragmenter</b>() (defined in <a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a>)</td><td class="entry"><a class="el" href="../../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html">shaka::media::mp4::Fragmenter</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~KeyRotationFragmenter</b>() override (defined in <a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html">shaka::media::mp4::KeyRotationFragmenter</a>)</td><td class="entry"><a class="el" href="../../d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html">shaka::media::mp4::KeyRotationFragmenter</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:48:59 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 16 2017 20:58:55 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