shaka-packager/docs/d6/d48/classshaka_1_1media_1_1Pack...

228 lines
32 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Shaka Packager SDK: shaka::media::PackedAudioWriter Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Shaka Packager SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="../../d8/daf/namespaceshaka.html">shaka</a></li><li class="navelem"><b>media</b></li><li class="navelem"><a class="el" href="../../d6/d48/classshaka_1_1media_1_1PackedAudioWriter.html">PackedAudioWriter</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="../../d0/da8/classshaka_1_1media_1_1PackedAudioWriter-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::media::PackedAudioWriter Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="../../d5/d4b/packed__audio__writer_8h_source.html">packed_audio_writer.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for shaka::media::PackedAudioWriter:</div>
<div class="dyncontent">
<div class="center">
<img src="../../d6/d48/classshaka_1_1media_1_1PackedAudioWriter.png" usemap="#shaka::media::PackedAudioWriter_map" alt=""/>
<map id="shaka::media::PackedAudioWriter_map" name="shaka::media::PackedAudioWriter_map">
<area href="../../df/d46/classshaka_1_1media_1_1Muxer.html" alt="shaka::media::Muxer" shape="rect" coords="0,56,199,80"/>
<area href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" alt="shaka::media::MediaHandler" shape="rect" coords="0,0,199,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8454bb12d56cb1e209822363ad3b0bc5"><td class="memItemLeft" align="right" valign="top"><a id="a8454bb12d56cb1e209822363ad3b0bc5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d48/classshaka_1_1media_1_1PackedAudioWriter.html#a8454bb12d56cb1e209822363ad3b0bc5">PackedAudioWriter</a> (const <a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html">MuxerOptions</a> &amp;muxer_options)</td></tr>
<tr class="memdesc:a8454bb12d56cb1e209822363ad3b0bc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a MP4Muxer object from <a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html" title="This structure contains the list of configuration options for Muxer.">MuxerOptions</a>. <br /></td></tr>
<tr class="separator:a8454bb12d56cb1e209822363ad3b0bc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshaka_1_1media_1_1Muxer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1media_1_1Muxer')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html">shaka::media::Muxer</a></td></tr>
<tr class="memitem:ac2f53c94d6ecb25d28bd2865dfe03649 inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top"><a id="ac2f53c94d6ecb25d28bd2865dfe03649"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Muxer</b> (const <a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html">MuxerOptions</a> &amp;options)</td></tr>
<tr class="separator:ac2f53c94d6ecb25d28bd2865dfe03649 inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9204fe352d13cea8a367ae9c14e9639e inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html#a9204fe352d13cea8a367ae9c14e9639e">Cancel</a> ()</td></tr>
<tr class="separator:a9204fe352d13cea8a367ae9c14e9639e inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e76dd0a5c07dd538221459365ae824a inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html#a0e76dd0a5c07dd538221459365ae824a">SetMuxerListener</a> (std::unique_ptr&lt; <a class="el" href="../../dd/d7a/classshaka_1_1media_1_1MuxerListener.html">MuxerListener</a> &gt; muxer_listener)</td></tr>
<tr class="separator:a0e76dd0a5c07dd538221459365ae824a inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25a146d553c385aad70dbff6b3e87eec inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html#a25a146d553c385aad70dbff6b3e87eec">SetProgressListener</a> (std::unique_ptr&lt; <a class="el" href="../../d4/de6/classshaka_1_1media_1_1ProgressListener.html">ProgressListener</a> &gt; progress_listener)</td></tr>
<tr class="separator:a25a146d553c385aad70dbff6b3e87eec inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72306914df3fe74ce307cb7db556b4a4 inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top"><a id="a72306914df3fe74ce307cb7db556b4a4"></a>
const std::vector&lt; std::shared_ptr&lt; const <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt; &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>streams</b> () const</td></tr>
<tr class="separator:a72306914df3fe74ce307cb7db556b4a4 inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cc7feaee9a2c3a7d0569cb9c67c8c68 inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html#a3cc7feaee9a2c3a7d0569cb9c67c8c68">set_clock</a> (base::Clock *clock)</td></tr>
<tr class="separator:a3cc7feaee9a2c3a7d0569cb9c67c8c68 inherit pub_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshaka_1_1media_1_1MediaHandler"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1media_1_1MediaHandler')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html">shaka::media::MediaHandler</a></td></tr>
<tr class="memitem:a0fac1fe2d593e78d47244acdfa21759d inherit pub_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="a0fac1fe2d593e78d47244acdfa21759d"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a0fac1fe2d593e78d47244acdfa21759d">SetHandler</a> (size_t output_stream_index, std::shared_ptr&lt; <a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html">MediaHandler</a> &gt; handler)</td></tr>
<tr class="memdesc:a0fac1fe2d593e78d47244acdfa21759d inherit pub_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connect downstream handler at the specified output stream index. <br /></td></tr>
<tr class="separator:a0fac1fe2d593e78d47244acdfa21759d inherit pub_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc48a2450ce50162de18071aef516b6c inherit pub_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="afc48a2450ce50162de18071aef516b6c"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#afc48a2450ce50162de18071aef516b6c">AddHandler</a> (std::shared_ptr&lt; <a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html">MediaHandler</a> &gt; handler)</td></tr>
<tr class="memdesc:afc48a2450ce50162de18071aef516b6c inherit pub_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connect downstream handler to the next available output stream index. <br /></td></tr>
<tr class="separator:afc48a2450ce50162de18071aef516b6c inherit pub_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed0da512bbd998ec9d0a5c019ad17acb inherit pub_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#aed0da512bbd998ec9d0a5c019ad17acb">Initialize</a> ()</td></tr>
<tr class="separator:aed0da512bbd998ec9d0a5c019ad17acb inherit pub_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e169e81344ce4ccfed3194ec5f4a3a1 inherit pub_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="a0e169e81344ce4ccfed3194ec5f4a3a1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a0e169e81344ce4ccfed3194ec5f4a3a1">IsConnected</a> ()</td></tr>
<tr class="memdesc:a0e169e81344ce4ccfed3194ec5f4a3a1 inherit pub_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Validate if the handler is connected to its upstream handler. <br /></td></tr>
<tr class="separator:a0e169e81344ce4ccfed3194ec5f4a3a1 inherit pub_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:aa6661112021730eab86d335daa18d2e1"><td class="memItemLeft" align="right" valign="top"><a id="aa6661112021730eab86d335daa18d2e1"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>PackedAudioWriterTest</b></td></tr>
<tr class="separator:aa6661112021730eab86d335daa18d2e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classshaka_1_1media_1_1MediaHandler"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classshaka_1_1media_1_1MediaHandler')"><img src="../../closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html">shaka::media::MediaHandler</a></td></tr>
<tr class="memitem:a393473d421c1cb5f37a4fdd5702681ed inherit pub_static_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="a393473d421c1cb5f37a4fdd5702681ed"></a>
static <a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Chain</b> (const std::vector&lt; std::shared_ptr&lt; <a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html">MediaHandler</a> &gt;&gt; &amp;list)</td></tr>
<tr class="separator:a393473d421c1cb5f37a4fdd5702681ed inherit pub_static_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classshaka_1_1media_1_1Muxer"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classshaka_1_1media_1_1Muxer')"><img src="../../closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html">shaka::media::Muxer</a></td></tr>
<tr class="memitem:ad74a3968d89a1f0ccd3774d1b75822ef inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top"><a id="ad74a3968d89a1f0ccd3774d1b75822ef"></a>
const <a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html">MuxerOptions</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>options</b> () const</td></tr>
<tr class="separator:ad74a3968d89a1f0ccd3774d1b75822ef inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe95933100307abf0268591f9bf172a0 inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top"><a id="abe95933100307abf0268591f9bf172a0"></a>
<a class="el" href="../../dd/d7a/classshaka_1_1media_1_1MuxerListener.html">MuxerListener</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>muxer_listener</b> ()</td></tr>
<tr class="separator:abe95933100307abf0268591f9bf172a0 inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a777f35b67b8a755e69dbf399bd3f2289 inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top"><a id="a777f35b67b8a755e69dbf399bd3f2289"></a>
<a class="el" href="../../d4/de6/classshaka_1_1media_1_1ProgressListener.html">ProgressListener</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>progress_listener</b> ()</td></tr>
<tr class="separator:a777f35b67b8a755e69dbf399bd3f2289 inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae593c2f20635794e87ad7658c4858821 inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top"><a id="ae593c2f20635794e87ad7658c4858821"></a>
base::Clock *&#160;</td><td class="memItemRight" valign="bottom"><b>clock</b> ()</td></tr>
<tr class="separator:ae593c2f20635794e87ad7658c4858821 inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36882e12df5c5bfd48a7b94d1dfad857 inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html#a36882e12df5c5bfd48a7b94d1dfad857">InitializeInternal</a> () override</td></tr>
<tr class="separator:a36882e12df5c5bfd48a7b94d1dfad857 inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec730b070245231a0887787005c06eee inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html#aec730b070245231a0887787005c06eee">Process</a> (std::unique_ptr&lt; <a class="el" href="../../d0/d4c/structshaka_1_1media_1_1StreamData.html">StreamData</a> &gt; stream_data) override</td></tr>
<tr class="separator:aec730b070245231a0887787005c06eee inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f08c1385506636b800769480869e04f inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memItemLeft" align="right" valign="top"><a id="a9f08c1385506636b800769480869e04f"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html#a9f08c1385506636b800769480869e04f">OnFlushRequest</a> (size_t input_stream_index) override</td></tr>
<tr class="memdesc:a9f08c1385506636b800769480869e04f inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event handler for flush request at the specific input stream index. <br /></td></tr>
<tr class="separator:a9f08c1385506636b800769480869e04f inherit pro_methods_classshaka_1_1media_1_1Muxer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classshaka_1_1media_1_1MediaHandler"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classshaka_1_1media_1_1MediaHandler')"><img src="../../closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html">shaka::media::MediaHandler</a></td></tr>
<tr class="memitem:abe33a7328099b7917b2b3ba1038997b0 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="abe33a7328099b7917b2b3ba1038997b0"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#abe33a7328099b7917b2b3ba1038997b0">ValidateOutputStreamIndex</a> (size_t stream_index) const</td></tr>
<tr class="memdesc:abe33a7328099b7917b2b3ba1038997b0 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Validate if the stream at the specified index actually exists. <br /></td></tr>
<tr class="separator:abe33a7328099b7917b2b3ba1038997b0 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe98a4fd19eabe0fc78afc91959c34a6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#afe98a4fd19eabe0fc78afc91959c34a6">Dispatch</a> (std::unique_ptr&lt; <a class="el" href="../../d0/d4c/structshaka_1_1media_1_1StreamData.html">StreamData</a> &gt; stream_data) const</td></tr>
<tr class="separator:afe98a4fd19eabe0fc78afc91959c34a6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad165375cd0a2074c5a740b42f847c499 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="ad165375cd0a2074c5a740b42f847c499"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#ad165375cd0a2074c5a740b42f847c499">DispatchStreamInfo</a> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt; stream_info) const</td></tr>
<tr class="memdesc:ad165375cd0a2074c5a740b42f847c499 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dispatch the stream info to downstream handlers. <br /></td></tr>
<tr class="separator:ad165375cd0a2074c5a740b42f847c499 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a74fead95bc16255e73908bbebbced9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="a9a74fead95bc16255e73908bbebbced9"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a9a74fead95bc16255e73908bbebbced9">DispatchMediaSample</a> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../d7/d6d/classshaka_1_1media_1_1MediaSample.html">MediaSample</a> &gt; media_sample) const</td></tr>
<tr class="memdesc:a9a74fead95bc16255e73908bbebbced9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dispatch the media sample to downstream handlers. <br /></td></tr>
<tr class="separator:a9a74fead95bc16255e73908bbebbced9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c44df529fead65c007ee27b84ebd32a inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="a9c44df529fead65c007ee27b84ebd32a"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a9c44df529fead65c007ee27b84ebd32a">DispatchTextSample</a> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../db/d1f/classshaka_1_1media_1_1TextSample.html">TextSample</a> &gt; text_sample) const</td></tr>
<tr class="memdesc:a9c44df529fead65c007ee27b84ebd32a inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dispatch the text sample to downstream handlers. <br /></td></tr>
<tr class="separator:a9c44df529fead65c007ee27b84ebd32a inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2acc1c84a61aee93229d493aa93308d5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="a2acc1c84a61aee93229d493aa93308d5"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a2acc1c84a61aee93229d493aa93308d5">DispatchSegmentInfo</a> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../d0/dc0/structshaka_1_1media_1_1SegmentInfo.html">SegmentInfo</a> &gt; segment_info) const</td></tr>
<tr class="memdesc:a2acc1c84a61aee93229d493aa93308d5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dispatch the segment info to downstream handlers. <br /></td></tr>
<tr class="separator:a2acc1c84a61aee93229d493aa93308d5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaea265e5d6e765b75ad622c5588e09f8 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="aaea265e5d6e765b75ad622c5588e09f8"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#aaea265e5d6e765b75ad622c5588e09f8">DispatchScte35Event</a> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../d1/d41/structshaka_1_1media_1_1Scte35Event.html">Scte35Event</a> &gt; scte35_event) const</td></tr>
<tr class="memdesc:aaea265e5d6e765b75ad622c5588e09f8 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dispatch the scte35 event to downstream handlers. <br /></td></tr>
<tr class="separator:aaea265e5d6e765b75ad622c5588e09f8 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dcba8fa849d5f031ab3e2b4803a7804 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="a0dcba8fa849d5f031ab3e2b4803a7804"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a0dcba8fa849d5f031ab3e2b4803a7804">DispatchCueEvent</a> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../da/d93/structshaka_1_1media_1_1CueEvent.html">CueEvent</a> &gt; cue_event) const</td></tr>
<tr class="memdesc:a0dcba8fa849d5f031ab3e2b4803a7804 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dispatch the cue event to downstream handlers. <br /></td></tr>
<tr class="separator:a0dcba8fa849d5f031ab3e2b4803a7804 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5001bf12073101a949b062943769f5b inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="ad5001bf12073101a949b062943769f5b"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#ad5001bf12073101a949b062943769f5b">FlushDownstream</a> (size_t output_stream_index)</td></tr>
<tr class="memdesc:ad5001bf12073101a949b062943769f5b inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flush the downstream connected at the specified output stream index. <br /></td></tr>
<tr class="separator:ad5001bf12073101a949b062943769f5b inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab644ca7b0a0dbcbc42936f2dfb979ca5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="ab644ca7b0a0dbcbc42936f2dfb979ca5"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#ab644ca7b0a0dbcbc42936f2dfb979ca5">FlushAllDownstreams</a> ()</td></tr>
<tr class="memdesc:ab644ca7b0a0dbcbc42936f2dfb979ca5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flush all connected downstream handlers. <br /></td></tr>
<tr class="separator:ab644ca7b0a0dbcbc42936f2dfb979ca5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb64985e305009df53bd60a5b4ff3122 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="aeb64985e305009df53bd60a5b4ff3122"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>initialized</b> ()</td></tr>
<tr class="separator:aeb64985e305009df53bd60a5b4ff3122 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9090654f2a7355517f4a80bc6ce868d inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="ad9090654f2a7355517f4a80bc6ce868d"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>num_input_streams</b> () const</td></tr>
<tr class="separator:ad9090654f2a7355517f4a80bc6ce868d inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d80c96b3c6824532733c73672185ba9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="a8d80c96b3c6824532733c73672185ba9"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>next_output_stream_index</b> () const</td></tr>
<tr class="separator:a8d80c96b3c6824532733c73672185ba9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a665eb29cf9704481a490c5a912083104 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memItemLeft" align="right" valign="top"><a id="a665eb29cf9704481a490c5a912083104"></a>
const std::map&lt; size_t, std::pair&lt; std::shared_ptr&lt; <a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html">MediaHandler</a> &gt;, size_t &gt; &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>output_handlers</b> ()</td></tr>
<tr class="separator:a665eb29cf9704481a490c5a912083104 inherit pro_methods_classshaka_1_1media_1_1MediaHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implements packed audio writer. <a href="https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-3.4">https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-3.4</a> A Packed Audio Segment contains encoded audio samples and ID3 tags that are simply packed together with minimal framing and no per-sample timestamps. </p>
<p class="definition">Definition at line <a class="el" href="../../d5/d4b/packed__audio__writer_8h_source.html#l00023">23</a> of file <a class="el" href="../../d5/d4b/packed__audio__writer_8h_source.html">packed_audio_writer.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>packager/media/formats/packed_audio/<a class="el" href="../../d5/d4b/packed__audio__writer_8h_source.html">packed_audio_writer.h</a></li>
<li>packager/media/formats/packed_audio/<a class="el" href="../../d3/deb/packed__audio__writer_8cc_source.html">packed_audio_writer.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 22 2021 00:16:05 for Shaka Packager SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>