Generate SDK documents for commit 160700b452
This commit is contained in:
parent
9cdf629f7c
commit
52417f7df4
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:54 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -107,49 +107,37 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <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>  ~<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> </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>  <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> </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>  <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> </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>  <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>  <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> </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>  <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> </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>  <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>  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> </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>  <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> </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>  <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> </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>  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> </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>  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> </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>  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> </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>  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> </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="comment">// Enable/disable subsample encryption for WebM containers.</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <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> };</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> } <span class="comment">// namespace media</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> } <span class="comment">// namespace shaka</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <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>  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> </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>  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> </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>  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> </div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">// Enable/disable subsample encryption for WebM containers.</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <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> };</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> } <span class="comment">// namespace media</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> } <span class="comment">// namespace shaka</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:53 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -121,7 +121,7 @@ uint32_t </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -155,7 +155,7 @@ void </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:53 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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 </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"> </td></tr>
|
||||
<tr class="memitem:a0dbe637b21f1f22f248437b59ad62a38"><td class="memItemLeft" align="right" valign="top">double </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"> </td></tr>
|
||||
<tr class="memitem:a1f1336e9be8b12733fe28da083eaf93f"><td class="memItemLeft" align="right" valign="top">bool </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"> </td></tr>
|
||||
<tr class="memitem:acb335182d4bd226c1f044cc83705f4fc"><td class="memItemLeft" align="right" valign="top">bool </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"> </td></tr>
|
||||
<tr class="memitem:a2db773300dadf681c40bef0b3eca3ece"><td class="memItemLeft" align="right" valign="top">int </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"> </td></tr>
|
||||
<tr class="memitem:a4d3d8c1923a2e0f684c2591cd7f4a890"><td class="memItemLeft" align="right" valign="top">bool </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 </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 </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 </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 </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 </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 </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:53 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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 &media_info, const std::string &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< uint8_t > &default_key_id, const std::vector< uint8_t > &iv, const std::vector< ProtectionSystemSpecificInfo > &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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:54 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -130,7 +130,7 @@ std::shared_ptr< <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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -131,7 +131,7 @@ int64_t </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:53 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:53 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:54 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:54 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:54 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -329,7 +329,7 @@ static const size_t </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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"> </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> </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"> </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> </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> &stream_Info, std::shared_ptr< <a class="el" href="../../d7/d6d/classshaka_1_1media_1_1MediaSample.html">MediaSample</a> > sample)</td></tr>
|
||||
<tr class="separator:ab73caca6e3c9821a5f17c236bd798a1b inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memSeparator" colspan="2"> </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> </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< <a class="el" href="../../d7/d6d/classshaka_1_1media_1_1MediaSample.html">MediaSample</a> > sample)</td></tr>
|
||||
<tr class="separator:a3be336ca9df9686a9f186b51bbd8b021 inherit pub_methods_classshaka_1_1media_1_1mp4_1_1Segmenter"><td class="memSeparator" colspan="2"> </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> </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"> </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 </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"> </td></tr>
|
||||
|
@ -170,7 +172,7 @@ void </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"> </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 </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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< MediaSample > 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< MkvWriter > 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< MkvWriter > 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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -118,7 +118,7 @@ int64_t </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -165,7 +165,7 @@ AES_KEY * </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -201,10 +201,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <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< MediaSample > 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 &options, StreamInfo *info, KeySource *key_source, std::unique_ptr< webm::Segmenter > *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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -110,184 +110,187 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "packager/media/base/playready_key_source.h"</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "packager/media/base/request_signer.h"</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "packager/media/base/widevine_key_source.h"</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "packager/media/file/file.h"</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "packager/mpd/base/mpd_options.h"</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> DEFINE_bool(mp4_use_decoding_timestamp_in_timeline,</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">false</span>,</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="stringliteral">"If set, decoding timestamp instead of presentation timestamp will "</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="stringliteral">"be used when generating media timeline, e.g. timestamps in sidx "</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="stringliteral">"and mpd. This is to workaround a Chromium bug that decoding "</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="stringliteral">"timestamp is used in buffered range, https://crbug.com/398130."</span>);</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> DEFINE_bool(dump_stream_info, <span class="keyword">false</span>, <span class="stringliteral">"Dump demuxed stream info."</span>);</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">namespace </span>shaka {</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">namespace </span>media {</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> std::unique_ptr<RequestSigner> CreateSigner() {</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  std::unique_ptr<RequestSigner> signer;</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">if</span> (!FLAGS_aes_signing_key.empty()) {</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  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>  FLAGS_signer, FLAGS_aes_signing_key, FLAGS_aes_signing_iv));</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">if</span> (!signer) {</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  LOG(ERROR) << <span class="stringliteral">"Cannot create an AES signer object from '"</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  << FLAGS_aes_signing_key << <span class="stringliteral">"':'"</span> << FLAGS_aes_signing_iv</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  << <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">return</span> std::unique_ptr<RequestSigner>();</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  }</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  } <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>  std::string rsa_private_key;</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <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>  &rsa_private_key)) {</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  LOG(ERROR) << <span class="stringliteral">"Failed to read from '"</span> << FLAGS_rsa_signing_key_path</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  << <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">return</span> std::unique_ptr<RequestSigner>();</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  }</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  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>  <span class="keywordflow">if</span> (!signer) {</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  LOG(ERROR) << <span class="stringliteral">"Cannot create a RSA signer object from '"</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  << FLAGS_rsa_signing_key_path << <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">return</span> std::unique_ptr<RequestSigner>();</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  }</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "packager/media/chunking/chunking_handler.h"</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "packager/media/file/file.h"</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "packager/mpd/base/mpd_options.h"</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> DEFINE_bool(mp4_use_decoding_timestamp_in_timeline,</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">false</span>,</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="stringliteral">"If set, decoding timestamp instead of presentation timestamp will "</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="stringliteral">"be used when generating media timeline, e.g. timestamps in sidx "</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="stringliteral">"and mpd. This is to workaround a Chromium bug that decoding "</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="stringliteral">"timestamp is used in buffered range, https://crbug.com/398130."</span>);</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> DEFINE_bool(dump_stream_info, <span class="keyword">false</span>, <span class="stringliteral">"Dump demuxed stream info."</span>);</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">namespace </span>shaka {</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">namespace </span>media {</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> std::unique_ptr<RequestSigner> CreateSigner() {</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  std::unique_ptr<RequestSigner> signer;</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">if</span> (!FLAGS_aes_signing_key.empty()) {</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  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>  FLAGS_signer, FLAGS_aes_signing_key, FLAGS_aes_signing_iv));</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordflow">if</span> (!signer) {</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  LOG(ERROR) << <span class="stringliteral">"Cannot create an AES signer object from '"</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  << FLAGS_aes_signing_key << <span class="stringliteral">"':'"</span> << FLAGS_aes_signing_iv</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  << <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">return</span> std::unique_ptr<RequestSigner>();</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  }</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  } <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>  std::string rsa_private_key;</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <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>  &rsa_private_key)) {</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  LOG(ERROR) << <span class="stringliteral">"Failed to read from '"</span> << FLAGS_rsa_signing_key_path</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  << <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">return</span> std::unique_ptr<RequestSigner>();</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  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>  <span class="keywordflow">if</span> (!signer) {</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  LOG(ERROR) << <span class="stringliteral">"Cannot create a RSA signer object from '"</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  << FLAGS_rsa_signing_key_path << <span class="stringliteral">"'."</span>;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> std::unique_ptr<RequestSigner>();</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">return</span> signer;</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> }</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> std::unique_ptr<KeySource> CreateEncryptionKeySource() {</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  std::unique_ptr<KeySource> encryption_key_source;</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">if</span> (FLAGS_enable_widevine_encryption) {</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  std::unique_ptr<WidevineKeySource> widevine_key_source(</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <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>  <span class="keywordflow">if</span> (!FLAGS_signer.empty()) {</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  std::unique_ptr<RequestSigner> request_signer(CreateSigner());</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">if</span> (!request_signer)</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">return</span> std::unique_ptr<KeySource>();</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  widevine_key_source->set_signer(std::move(request_signer));</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  }</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  std::vector<uint8_t> content_id;</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">if</span> (!base::HexStringToBytes(FLAGS_content_id, &content_id)) {</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  LOG(ERROR) << <span class="stringliteral">"Invalid content_id hex string specified."</span>;</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">return</span> std::unique_ptr<KeySource>();</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  Status status = widevine_key_source->FetchKeys(content_id, FLAGS_policy);</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordflow">if</span> (!status.ok()) {</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  LOG(ERROR) << <span class="stringliteral">"Widevine encryption key source failed to fetch keys: "</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  << status.ToString();</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">return</span> std::unique_ptr<KeySource>();</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  }</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  encryption_key_source = std::move(widevine_key_source);</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  } <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>  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>  FLAGS_key_id, FLAGS_key, FLAGS_pssh, FLAGS_iv);</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  } <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>  <span class="keywordflow">if</span> (!FLAGS_playready_key_id.empty() && !FLAGS_playready_key.empty()) {</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  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>  FLAGS_playready_key_id, FLAGS_playready_key);</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!FLAGS_playready_server_url.empty() &&</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  !FLAGS_program_identifier.empty()) {</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  std::unique_ptr<PlayReadyKeySource> playready_key_source;</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">if</span> (!FLAGS_client_cert_file.empty() &&</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  !FLAGS_client_cert_private_key_file.empty() &&</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  !FLAGS_client_cert_private_key_password.empty()) {</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  playready_key_source.reset(<span class="keyword">new</span> PlayReadyKeySource(</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  FLAGS_playready_server_url,</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  FLAGS_client_cert_file,</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  FLAGS_client_cert_private_key_file,</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  FLAGS_client_cert_private_key_password));</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  playready_key_source.reset(<span class="keyword">new</span> PlayReadyKeySource(</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  FLAGS_playready_server_url));</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">if</span> (!FLAGS_ca_file.empty()) {</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  playready_key_source-><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>  }</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  playready_key_source->FetchKeysWithProgramIdentifier(FLAGS_program_identifier);</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  encryption_key_source = std::move(playready_key_source);</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  LOG(ERROR) << <span class="stringliteral">"Error creating PlayReady key source."</span>;</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">return</span> std::unique_ptr<KeySource>();</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  }</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">return</span> signer;</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> }</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> std::unique_ptr<KeySource> CreateEncryptionKeySource() {</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  std::unique_ptr<KeySource> encryption_key_source;</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">if</span> (FLAGS_enable_widevine_encryption) {</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  std::unique_ptr<WidevineKeySource> widevine_key_source(</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <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>  <span class="keywordflow">if</span> (!FLAGS_signer.empty()) {</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  std::unique_ptr<RequestSigner> request_signer(CreateSigner());</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">if</span> (!request_signer)</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> std::unique_ptr<KeySource>();</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  widevine_key_source->set_signer(std::move(request_signer));</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  }</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  std::vector<uint8_t> content_id;</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">if</span> (!base::HexStringToBytes(FLAGS_content_id, &content_id)) {</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  LOG(ERROR) << <span class="stringliteral">"Invalid content_id hex string specified."</span>;</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">return</span> std::unique_ptr<KeySource>();</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  Status status = widevine_key_source->FetchKeys(content_id, FLAGS_policy);</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">if</span> (!status.ok()) {</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  LOG(ERROR) << <span class="stringliteral">"Widevine encryption key source failed to fetch keys: "</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  << status.ToString();</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">return</span> std::unique_ptr<KeySource>();</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  encryption_key_source = std::move(widevine_key_source);</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  } <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>  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>  FLAGS_key_id, FLAGS_key, FLAGS_pssh, FLAGS_iv);</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  } <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>  <span class="keywordflow">if</span> (!FLAGS_playready_key_id.empty() && !FLAGS_playready_key.empty()) {</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  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>  FLAGS_playready_key_id, FLAGS_playready_key);</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!FLAGS_playready_server_url.empty() &&</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  !FLAGS_program_identifier.empty()) {</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  std::unique_ptr<PlayReadyKeySource> playready_key_source;</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">if</span> (!FLAGS_client_cert_file.empty() &&</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  !FLAGS_client_cert_private_key_file.empty() &&</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  !FLAGS_client_cert_private_key_password.empty()) {</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  playready_key_source.reset(<span class="keyword">new</span> PlayReadyKeySource(</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  FLAGS_playready_server_url,</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  FLAGS_client_cert_file,</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  FLAGS_client_cert_private_key_file,</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  FLAGS_client_cert_private_key_password));</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  playready_key_source.reset(<span class="keyword">new</span> PlayReadyKeySource(</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  FLAGS_playready_server_url));</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  }</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">if</span> (!FLAGS_ca_file.empty()) {</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  playready_key_source-><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>  }</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  playready_key_source->FetchKeysWithProgramIdentifier(FLAGS_program_identifier);</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  encryption_key_source = std::move(playready_key_source);</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  LOG(ERROR) << <span class="stringliteral">"Error creating PlayReady key source."</span>;</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">return</span> std::unique_ptr<KeySource>();</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  }</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">return</span> encryption_key_source;</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> }</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> std::unique_ptr<KeySource> CreateDecryptionKeySource() {</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  std::unique_ptr<KeySource> decryption_key_source;</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">if</span> (FLAGS_enable_widevine_decryption) {</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  std::unique_ptr<WidevineKeySource> widevine_key_source(</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <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>  <span class="keywordflow">if</span> (!FLAGS_signer.empty()) {</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  std::unique_ptr<RequestSigner> request_signer(CreateSigner());</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">if</span> (!request_signer)</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> std::unique_ptr<KeySource>();</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  widevine_key_source->set_signer(std::move(request_signer));</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  }</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> </div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  decryption_key_source = std::move(widevine_key_source);</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  } <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>  <span class="keyword">const</span> <span class="keywordtype">char</span> kNoPssh[] = <span class="stringliteral">""</span>;</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> kNoIv[] = <span class="stringliteral">""</span>;</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  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>  FLAGS_key_id, FLAGS_key, kNoPssh, kNoIv);</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  }</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">return</span> decryption_key_source;</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> }</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="keywordtype">bool</span> GetMuxerOptions(MuxerOptions* muxer_options) {</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  DCHECK(muxer_options);</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  muxer_options->segment_duration = FLAGS_segment_duration;</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  muxer_options->fragment_duration = FLAGS_fragment_duration;</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  muxer_options->segment_sap_aligned = FLAGS_segment_sap_aligned;</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  muxer_options->fragment_sap_aligned = FLAGS_fragment_sap_aligned;</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  muxer_options->num_subsegments_per_sidx = FLAGS_num_subsegments_per_sidx;</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  muxer_options->webm_subsample_encryption = FLAGS_webm_subsample_encryption;</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <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>  LOG(WARNING) << <span class="stringliteral">"Flag --mp4_use_decoding_timestamp_in_timeline is set. "</span></div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="stringliteral">"Note that it is a temporary hack to workaround Chromium "</span></div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="stringliteral">"bug https://crbug.com/398130. The flag may be removed "</span></div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="stringliteral">"when the Chromium bug is fixed."</span>;</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  }</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  muxer_options->mp4_use_decoding_timestamp_in_timeline =</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  FLAGS_mp4_use_decoding_timestamp_in_timeline;</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  muxer_options->temp_dir = FLAGS_temp_dir;</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> }</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <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>  DCHECK(mpd_options);</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  mpd_options->dash_profile =</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  on_demand_profile ? DashProfile::kOnDemand : DashProfile::kLive;</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  mpd_options->mpd_type =</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  (on_demand_profile || FLAGS_generate_static_mpd)</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  ? MpdType::kStatic</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  : MpdType::kDynamic;</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  mpd_options->availability_time_offset = FLAGS_availability_time_offset;</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  mpd_options->minimum_update_period = FLAGS_minimum_update_period;</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  mpd_options->min_buffer_time = FLAGS_min_buffer_time;</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  mpd_options->time_shift_buffer_depth = FLAGS_time_shift_buffer_depth;</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  mpd_options->suggested_presentation_delay =</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  FLAGS_suggested_presentation_delay;</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  mpd_options->default_language = FLAGS_default_language;</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> }</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> } <span class="comment">// namespace media</span></div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> } <span class="comment">// namespace shaka</span></div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">return</span> encryption_key_source;</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> }</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> std::unique_ptr<KeySource> CreateDecryptionKeySource() {</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  std::unique_ptr<KeySource> decryption_key_source;</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">if</span> (FLAGS_enable_widevine_decryption) {</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  std::unique_ptr<WidevineKeySource> widevine_key_source(</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <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>  <span class="keywordflow">if</span> (!FLAGS_signer.empty()) {</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  std::unique_ptr<RequestSigner> request_signer(CreateSigner());</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">if</span> (!request_signer)</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">return</span> std::unique_ptr<KeySource>();</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  widevine_key_source->set_signer(std::move(request_signer));</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  }</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  decryption_key_source = std::move(widevine_key_source);</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  } <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>  <span class="keyword">const</span> <span class="keywordtype">char</span> kNoPssh[] = <span class="stringliteral">""</span>;</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> kNoIv[] = <span class="stringliteral">""</span>;</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  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>  FLAGS_key_id, FLAGS_key, kNoPssh, kNoIv);</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">return</span> decryption_key_source;</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> }</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> ChunkingOptions GetChunkingOptions() {</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  ChunkingOptions chunking_options;</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  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>  chunking_options.subsegment_duration_in_seconds = FLAGS_fragment_duration;</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  chunking_options.segment_sap_aligned = FLAGS_segment_sap_aligned;</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  chunking_options.subsegment_sap_aligned = FLAGS_fragment_sap_aligned;</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">return</span> chunking_options;</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> }</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> MuxerOptions GetMuxerOptions() {</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  MuxerOptions muxer_options;</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  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>  muxer_options.webm_subsample_encryption = FLAGS_webm_subsample_encryption;</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <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>  LOG(WARNING) << <span class="stringliteral">"Flag --mp4_use_decoding_timestamp_in_timeline is set. "</span></div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="stringliteral">"Note that it is a temporary hack to workaround Chromium "</span></div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="stringliteral">"bug https://crbug.com/398130. The flag may be removed "</span></div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="stringliteral">"when the Chromium bug is fixed."</span>;</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  }</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  muxer_options.mp4_use_decoding_timestamp_in_timeline =</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  FLAGS_mp4_use_decoding_timestamp_in_timeline;</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  muxer_options.temp_dir = FLAGS_temp_dir;</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> muxer_options;</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> }</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> MpdOptions GetMpdOptions(<span class="keywordtype">bool</span> on_demand_profile) {</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  MpdOptions mpd_options;</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  mpd_options.dash_profile =</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  on_demand_profile ? DashProfile::kOnDemand : DashProfile::kLive;</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  mpd_options.mpd_type = (on_demand_profile || FLAGS_generate_static_mpd)</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  ? MpdType::kStatic</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  : MpdType::kDynamic;</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  mpd_options.availability_time_offset = FLAGS_availability_time_offset;</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  mpd_options.minimum_update_period = FLAGS_minimum_update_period;</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  mpd_options.min_buffer_time = FLAGS_min_buffer_time;</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  mpd_options.time_shift_buffer_depth = FLAGS_time_shift_buffer_depth;</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  mpd_options.suggested_presentation_delay = FLAGS_suggested_presentation_delay;</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  mpd_options.default_language = FLAGS_default_language;</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordflow">return</span> mpd_options;</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> }</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> } <span class="comment">// namespace media</span></div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> } <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 &signer_name, const std::string &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 &signer_name, const std::string &aes_key_hex, const std::string &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< FixedKeySource > CreateFromHexStrings(const std::string &key_id_hex, const std::string &key_hex, const std::string &pssh_boxes_hex, const std::string &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 &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< PlayReadyKeySource > CreateFromKeyAndKeyId(const std::string &key_id_hex, const std::string &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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:54 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:53 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -242,7 +242,7 @@ int </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:53 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -176,106 +176,103 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> }</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> Status TwoPassSingleSegmentSegmenter::DoFinalize() {</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">if</span> (!cluster()->Finalize())</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error finalizing cluster."</span>);</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <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>  <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>  <span class="keyword">const</span> uint64_t cues_size = UpdateCues(cues());</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  seek_head()->set_cues_pos(cues_pos);</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  seek_head()->set_cluster_pos(cues_pos + cues_size);</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <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>  <span class="keyword">const</span> uint64_t file_size = writer()-><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>  Status temp = WriteSegmentHeader(file_size, real_writer_.get());</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">if</span> (!temp.ok())</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">return</span> temp;</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  DCHECK_EQ(real_writer_->Position(), <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(header_size));</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <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>  set_index_start(real_writer_->Position());</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">if</span> (!cues()->Write(real_writer_.get()))</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error writing Cues data."</span>);</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  set_index_end(real_writer_->Position() - 1);</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  DCHECK_EQ(real_writer_->Position(),</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(segment_payload_pos() + cues_pos + cues_size));</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <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>  set_writer(std::unique_ptr<MkvWriter>());</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  std::unique_ptr<File, FileCloser> temp_reader(</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#aad6b77e734bb22d077ece029c9e735a4">File::Open</a>(temp_file_name_.c_str(), <span class="stringliteral">"r"</span>));</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">if</span> (!temp_reader)</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error opening temp file."</span>);</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <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>  <span class="keywordflow">if</span> (!ReadSkip(temp_reader.get(), header_size))</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error reading temp file."</span>);</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="comment">// Copy the rest of the data over.</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <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>  cluster()->Size())) {</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error copying temp file."</span>);</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  }</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="comment">// Close and delete the temp file.</span></div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  temp_reader.reset();</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <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>  LOG(WARNING) << <span class="stringliteral">"Unable to delete temporary file "</span> << temp_file_name_;</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <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>  <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>  <span class="keyword">const</span> uint64_t cues_size = UpdateCues(cues());</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  seek_head()->set_cues_pos(cues_pos);</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  seek_head()->set_cluster_pos(cues_pos + cues_size);</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <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>  <span class="keyword">const</span> uint64_t file_size = writer()-><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>  Status temp = WriteSegmentHeader(file_size, real_writer_.get());</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">if</span> (!temp.ok())</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">return</span> temp;</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  DCHECK_EQ(real_writer_->Position(), <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(header_size));</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <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>  set_index_start(real_writer_->Position());</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">if</span> (!cues()->Write(real_writer_.get()))</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error writing Cues data."</span>);</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  set_index_end(real_writer_->Position() - 1);</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  DCHECK_EQ(real_writer_->Position(),</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(segment_payload_pos() + cues_pos + cues_size));</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <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>  set_writer(std::unique_ptr<MkvWriter>());</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  std::unique_ptr<File, FileCloser> temp_reader(</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#aad6b77e734bb22d077ece029c9e735a4">File::Open</a>(temp_file_name_.c_str(), <span class="stringliteral">"r"</span>));</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">if</span> (!temp_reader)</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error opening temp file."</span>);</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <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>  <span class="keywordflow">if</span> (!ReadSkip(temp_reader.get(), header_size))</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error reading temp file."</span>);</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// Copy the rest of the data over.</span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <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>  cluster()->Size())) {</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error copying temp file."</span>);</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  }</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">// Close and delete the temp file.</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  temp_reader.reset();</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <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>  LOG(WARNING) << <span class="stringliteral">"Unable to delete temporary file "</span> << temp_file_name_;</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  }</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">return</span> real_writer_->Close();</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> }</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">return</span> real_writer_->Close();</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> }</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="keywordtype">bool</span> TwoPassSingleSegmentSegmenter::CopyFileWithClusterRewrite(</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  File* source,</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  MkvWriter* dest,</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  uint64_t last_size) {</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <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>  <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>  <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> </div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <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>  <span class="keywordflow">if</span> (dest->WriteFromFile(source, cluster_id_size) != cluster_id_size)</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < cues()->cue_entries_size() - 1; ++i) {</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="comment">// Write the size of the cluster.</span></div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keyword">const</span> mkvmuxer::CuePoint* cue = cues()->GetCueByIndex(i);</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keyword">const</span> mkvmuxer::CuePoint* next_cue = cues()->GetCueByIndex(i + 1);</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keyword">const</span> int64_t cluster_payload_size =</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  next_cue->cluster_pos() - cue->cluster_pos() - cluster_header_size;</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <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>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="comment">// Copy the cluster and the next cluster's ID.</span></div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  int64_t to_copy = cluster_payload_size + cluster_id_size;</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">if</span> (dest->WriteFromFile(source, to_copy) != to_copy)</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <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>  <span class="keyword">const</span> uint64_t webm_delta_time = next_cue->time() - cue->time();</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <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>  UpdateProgress(delta_time);</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  }</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <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>  <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>  <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>  cluster_size_size))</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="comment">// Copy the last cluster.</span></div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">return</span> dest->WriteFromFile(source) ==</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(last_cluster_payload_size);</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> }</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> } <span class="comment">// namespace webm</span></div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> } <span class="comment">// namespace media</span></div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> } <span class="comment">// namespace shaka</span></div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="keywordtype">bool</span> TwoPassSingleSegmentSegmenter::CopyFileWithClusterRewrite(</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  File* source,</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  MkvWriter* dest,</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  uint64_t last_size) {</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <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>  <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>  <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> </div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <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>  <span class="keywordflow">if</span> (dest->WriteFromFile(source, cluster_id_size) != cluster_id_size)</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < cues()->cue_entries_size() - 1; ++i) {</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="comment">// Write the size of the cluster.</span></div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">const</span> mkvmuxer::CuePoint* cue = cues()->GetCueByIndex(i);</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keyword">const</span> mkvmuxer::CuePoint* next_cue = cues()->GetCueByIndex(i + 1);</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keyword">const</span> int64_t cluster_payload_size =</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  next_cue->cluster_pos() - cue->cluster_pos() - cluster_header_size;</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <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>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="comment">// Copy the cluster and the next cluster's ID.</span></div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  int64_t to_copy = cluster_payload_size + cluster_id_size;</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">if</span> (dest->WriteFromFile(source, to_copy) != to_copy)</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <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>  <span class="keyword">const</span> uint64_t webm_delta_time = next_cue->time() - cue->time();</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <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>  UpdateProgress(delta_time);</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  }</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <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>  <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>  <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>  cluster_size_size))</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="comment">// Copy the last cluster.</span></div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordflow">return</span> dest->WriteFromFile(source) ==</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(last_cluster_payload_size);</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> }</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> } <span class="comment">// namespace webm</span></div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> } <span class="comment">// namespace media</span></div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> } <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 &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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -410,7 +410,7 @@ static std::string </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:53 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:54 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -385,7 +385,7 @@ class </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:53 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:53 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -419,7 +419,7 @@ bool </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -122,7 +122,7 @@ uint32_t </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:54 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:54 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -152,7 +152,7 @@ int64_t </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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:52 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:51 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:53 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -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< MediaSample > 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< StreamInfo > info, TrackFragment *traf, std::unique_ptr< EncryptionKey > 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< StreamInfo > 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< StreamInfo > 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< T > *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< EncryptionKey > 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< StreamInfo > info, TrackFragment *traf, std::unique_ptr< EncryptionKey > 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< StreamInfo > 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< StreamInfo > 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< T > *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< EncryptionKey > 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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 16 2017 20:58:55 for DASH Media Packaging SDK by  <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
Loading…
Reference in New Issue