2015-10-16 00:33:37 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.6" / >
2016-05-24 23:43:16 +00:00
< title > DASH Media Packaging SDK: shaka::media::Muxer Class Reference< / title >
2015-10-16 00:33:37 +00:00
< link href = "../../tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "../../jquery.js" > < / script >
< script type = "text/javascript" src = "../../dynsections.js" > < / script >
< link href = "../../search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "../../search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
< link href = "../../doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > DASH Media Packaging SDK
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "../../index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "../../namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li class = "current" > < a href = "../../annotated.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "../../files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "../../search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "../../search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "../../annotated.html" > < span > Class  List< / span > < / a > < / li >
< li > < a href = "../../classes.html" > < span > Class  Index< / span > < / a > < / li >
< li > < a href = "../../hierarchy.html" > < span > Class  Hierarchy< / span > < / a > < / li >
< li > < a href = "../../functions.html" > < span > Class  Members< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2016-05-11 18:03:07 +00:00
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Namespaces< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < / div >
2015-10-16 00:33:37 +00:00
<!-- 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 >
2016-05-24 23:43:16 +00:00
< 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 = "../../df/d46/classshaka_1_1media_1_1Muxer.html" > Muxer< / a > < / li > < / ul >
2015-10-16 00:33:37 +00:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pro-methods" > Protected Member Functions< / a > |
2016-05-24 23:43:16 +00:00
< a href = "../../de/ddd/classshaka_1_1media_1_1Muxer-members.html" > List of all members< / a > < / div >
2015-10-16 00:33:37 +00:00
< div class = "headertitle" >
2016-05-24 23:43:16 +00:00
< div class = "title" > shaka::media::Muxer Class Reference< span class = "mlabels" > < span class = "mlabel" > abstract< / span > < / span > < / div > < / div >
2015-10-16 00:33:37 +00:00
< / div > <!-- header -->
< div class = "contents" >
< p > < code > #include < < a class = "el" href = "../../db/df6/muxer_8h_source.html" > muxer.h< / a > > < / code > < / p >
< div class = "dynheader" >
2016-05-24 23:43:16 +00:00
Inheritance diagram for shaka::media::Muxer:< / div >
2015-10-16 00:33:37 +00:00
< div class = "dyncontent" >
< div class = "center" >
2016-05-24 23:43:16 +00:00
< img src = "../../df/d46/classshaka_1_1media_1_1Muxer.png" usemap = "#shaka::media::Muxer_map" alt = "" / >
< map id = "shaka::media::Muxer_map" name = "shaka::media::Muxer_map" >
2017-03-08 19:14:10 +00:00
< area href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" alt = "shaka::media::MediaHandler" shape = "rect" coords = "210,0,410,24" / >
< area href = "../../d3/d71/classshaka_1_1media_1_1mp2t_1_1TsMuxer.html" alt = "shaka::media::mp2t::TsMuxer" shape = "rect" coords = "0,112,200,136" / >
< area href = "../../db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html" alt = "shaka::media::mp4::MP4Muxer" shape = "rect" coords = "210,112,410,136" / >
< area href = "../../d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html" title = "Implements WebM Muxer. " alt = "shaka::media::webm::WebMMuxer" shape = "rect" coords = "420,112,620,136" / >
2015-10-16 00:33:37 +00:00
< / 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 >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:ac2f53c94d6ecb25d28bd2865dfe03649" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ac2f53c94d6ecb25d28bd2865dfe03649" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < b > Muxer< / b > (const < a class = "el" href = "../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html" > MuxerOptions< / a > & options)< / td > < / tr >
< tr class = "separator:ac2f53c94d6ecb25d28bd2865dfe03649" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-12-14 19:38:53 +00:00
< tr class = "memitem:ad9c8f69897171ab81db6e7e9c367b4ce" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../df/d46/classshaka_1_1media_1_1Muxer.html#ad9c8f69897171ab81db6e7e9c367b4ce" > SetKeySource< / a > (< a class = "el" href = "../../d1/d1f/classshaka_1_1media_1_1KeySource.html" > KeySource< / a > *encryption_key_source, uint32_t max_sd_pixels, uint32_t max_hd_pixels, uint32_t max_uhd1_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds, FourCC protection_scheme)< / td > < / tr >
< tr class = "separator:ad9c8f69897171ab81db6e7e9c367b4ce" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:a9204fe352d13cea8a367ae9c14e9639e" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / 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" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-08-19 00:58:26 +00:00
< tr class = "memitem:a0e76dd0a5c07dd538221459365ae824a" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../df/d46/classshaka_1_1media_1_1Muxer.html#a0e76dd0a5c07dd538221459365ae824a" > SetMuxerListener< / a > (std::unique_ptr< < a class = "el" href = "../../dd/d7a/classshaka_1_1media_1_1MuxerListener.html" > MuxerListener< / a > > muxer_listener)< / td > < / tr >
< tr class = "separator:a0e76dd0a5c07dd538221459365ae824a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a25a146d553c385aad70dbff6b3e87eec" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../df/d46/classshaka_1_1media_1_1Muxer.html#a25a146d553c385aad70dbff6b3e87eec" > SetProgressListener< / a > (std::unique_ptr< < a class = "el" href = "../../d4/de6/classshaka_1_1media_1_1ProgressListener.html" > ProgressListener< / a > > progress_listener)< / td > < / tr >
< tr class = "separator:a25a146d553c385aad70dbff6b3e87eec" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-08 19:14:10 +00:00
< tr class = "memitem:aa4f03aa5024b3085150053805d00bc44" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aa4f03aa5024b3085150053805d00bc44" > < / a >
const std::vector< br class = "typebreak" / >
< std::shared_ptr< < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > > > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > streams< / b > () const < / td > < / tr >
< tr class = "separator:aa4f03aa5024b3085150053805d00bc44" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:a3cc7feaee9a2c3a7d0569cb9c67c8c68" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / 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" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-08 19:14:10 +00:00
< 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 = "-" / >   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:aced66ff3e906e7dd45f1f3771d61edd7 inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aced66ff3e906e7dd45f1f3771d61edd7" > < / a >
< a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#aced66ff3e906e7dd45f1f3771d61edd7" > SetHandler< / a > (int output_stream_index, std::shared_ptr< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > > handler)< / td > < / tr >
< tr class = "memdesc:aced66ff3e906e7dd45f1f3771d61edd7 inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Connect downstream handler at the specified output stream index. < br / > < / td > < / tr >
< tr class = "separator:aced66ff3e906e7dd45f1f3771d61edd7 inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:afc48a2450ce50162de18071aef516b6c inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "afc48a2450ce50162de18071aef516b6c" > < / a >
< a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#afc48a2450ce50162de18071aef516b6c" > AddHandler< / a > (std::shared_ptr< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > > handler)< / td > < / tr >
< tr class = "memdesc:afc48a2450ce50162de18071aef516b6c inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Connect downstream handler to the next availble output stream index. < br / > < / td > < / tr >
< tr class = "separator:afc48a2450ce50162de18071aef516b6c inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / 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 = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a >   < / 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" >   < / td > < / tr >
2015-10-16 00:33:37 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pro-methods" > < / a >
Protected Member Functions< / h2 > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:a045bc1a139bfbc03f6b1424ecc2fc963" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a045bc1a139bfbc03f6b1424ecc2fc963" > < / a >
const < a class = "el" href = "../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html" > MuxerOptions< / a > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > options< / b > () const < / td > < / tr >
< tr class = "separator:a045bc1a139bfbc03f6b1424ecc2fc963" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a27f8527bdd8691444a44e8a707fb4036" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a27f8527bdd8691444a44e8a707fb4036" > < / a >
< a class = "el" href = "../../d1/d1f/classshaka_1_1media_1_1KeySource.html" > KeySource< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < b > encryption_key_source< / b > ()< / td > < / tr >
< tr class = "separator:a27f8527bdd8691444a44e8a707fb4036" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4b0eaf368a957e3f16ef3b0f121ff31c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a4b0eaf368a957e3f16ef3b0f121ff31c" > < / a >
2015-10-16 00:33:37 +00:00
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > max_sd_pixels< / b > () const < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a4b0eaf368a957e3f16ef3b0f121ff31c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-12-14 19:38:53 +00:00
< tr class = "memitem:a66179cd59c84f7c7dc524729b300a27f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a66179cd59c84f7c7dc524729b300a27f" > < / a >
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > max_hd_pixels< / b > () const < / td > < / tr >
< tr class = "separator:a66179cd59c84f7c7dc524729b300a27f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad8be12e69977c811f0f90fbc4981cb53" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ad8be12e69977c811f0f90fbc4981cb53" > < / a >
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > max_uhd1_pixels< / b > () const < / td > < / tr >
< tr class = "separator:ad8be12e69977c811f0f90fbc4981cb53" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:a06093b39eacada6dca64260d6df3dd13" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a06093b39eacada6dca64260d6df3dd13" > < / a >
2015-10-16 00:33:37 +00:00
double  < / td > < td class = "memItemRight" valign = "bottom" > < b > clear_lead_in_seconds< / b > () const < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a06093b39eacada6dca64260d6df3dd13" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6fa0d03aeb98db98a36343c337d1e1a1" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a6fa0d03aeb98db98a36343c337d1e1a1" > < / a >
2015-10-16 00:33:37 +00:00
double  < / td > < td class = "memItemRight" valign = "bottom" > < b > crypto_period_duration_in_seconds< / b > () const < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a6fa0d03aeb98db98a36343c337d1e1a1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:abe95933100307abf0268591f9bf172a0" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "abe95933100307abf0268591f9bf172a0" > < / a >
< a class = "el" href = "../../dd/d7a/classshaka_1_1media_1_1MuxerListener.html" > MuxerListener< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < b > muxer_listener< / b > ()< / td > < / tr >
< tr class = "separator:abe95933100307abf0268591f9bf172a0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a777f35b67b8a755e69dbf399bd3f2289" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a777f35b67b8a755e69dbf399bd3f2289" > < / a >
< a class = "el" href = "../../d4/de6/classshaka_1_1media_1_1ProgressListener.html" > ProgressListener< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < b > progress_listener< / b > ()< / td > < / tr >
< tr class = "separator:a777f35b67b8a755e69dbf399bd3f2289" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae593c2f20635794e87ad7658c4858821" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ae593c2f20635794e87ad7658c4858821" > < / a >
2015-10-16 00:33:37 +00:00
base::Clock *  < / td > < td class = "memItemRight" valign = "bottom" > < b > clock< / b > ()< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:ae593c2f20635794e87ad7658c4858821" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a52f0953075513fb93ec7aba948118325" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a52f0953075513fb93ec7aba948118325" > < / a >
2016-04-12 23:13:12 +00:00
FourCC  < / td > < td class = "memItemRight" valign = "bottom" > < b > protection_scheme< / b > () const < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a52f0953075513fb93ec7aba948118325" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-08 19:14:10 +00:00
< tr > < td colspan = "2" > < div class = "groupHeader" > MediaHandler implementation overrides.< / div > < / td > < / tr >
< tr class = "memitem:a36882e12df5c5bfd48a7b94d1dfad857" > < 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 = "../../df/d46/classshaka_1_1media_1_1Muxer.html#a36882e12df5c5bfd48a7b94d1dfad857" > InitializeInternal< / a > () override< / td > < / tr >
< tr class = "separator:a36882e12df5c5bfd48a7b94d1dfad857" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aec730b070245231a0887787005c06eee" > < 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 = "../../df/d46/classshaka_1_1media_1_1Muxer.html#aec730b070245231a0887787005c06eee" > Process< / a > (std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > > stream_data) override< / td > < / tr >
< tr class = "separator:aec730b070245231a0887787005c06eee" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-08 19:28:59 +00:00
< tr class = "memitem:a13962b229c114eb0dc38db98b39613e1" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a13962b229c114eb0dc38db98b39613e1" > < / a >
< a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../df/d46/classshaka_1_1media_1_1Muxer.html#a13962b229c114eb0dc38db98b39613e1" > OnFlushRequest< / a > (int input_stream_index) override< / td > < / tr >
< tr class = "memdesc:a13962b229c114eb0dc38db98b39613e1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Event handler for flush request at the specific input stream index. < br / > < / td > < / tr >
< tr class = "separator:a13962b229c114eb0dc38db98b39613e1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-08 19:14:10 +00:00
< 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 = "-" / >   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:a7b61972eedda125b436dc4d26f88c1e6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a7b61972eedda125b436dc4d26f88c1e6" > < / a >
virtual bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a7b61972eedda125b436dc4d26f88c1e6" > ValidateOutputStreamIndex< / a > (int stream_index) const < / td > < / tr >
< tr class = "memdesc:a7b61972eedda125b436dc4d26f88c1e6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Validate if the stream at the specified index actually exists. < br / > < / td > < / tr >
< tr class = "separator:a7b61972eedda125b436dc4d26f88c1e6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aeb64985e305009df53bd60a5b4ff3122 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aeb64985e305009df53bd60a5b4ff3122" > < / a >
bool  < / 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" >   < / td > < / tr >
< tr class = "memitem:a819e0fd1a2419c65cd203e52806051f4 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a819e0fd1a2419c65cd203e52806051f4" > < / a >
int  < / td > < td class = "memItemRight" valign = "bottom" > < b > num_input_streams< / b > ()< / td > < / tr >
< tr class = "separator:a819e0fd1a2419c65cd203e52806051f4 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:accd62dd4def920571f95f4e1a98ab7ca inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < 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 = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#accd62dd4def920571f95f4e1a98ab7ca" > Dispatch< / a > (std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > > stream_data)< / td > < / tr >
< tr class = "separator:accd62dd4def920571f95f4e1a98ab7ca inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6e8056d1955150ac946b84b7942453ee inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a6e8056d1955150ac946b84b7942453ee" > < / a >
< a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a6e8056d1955150ac946b84b7942453ee" > DispatchPeriodInfo< / a > (int stream_index, std::shared_ptr< < a class = "el" href = "../../d7/d58/structshaka_1_1media_1_1PeriodInfo.html" > PeriodInfo< / a > > period_info)< / td > < / tr >
< tr class = "memdesc:a6e8056d1955150ac946b84b7942453ee inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the period info to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:a6e8056d1955150ac946b84b7942453ee inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a68c2b3f1e00ffad13ec6a9e2fb82c8d6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a68c2b3f1e00ffad13ec6a9e2fb82c8d6" > < / a >
< a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a68c2b3f1e00ffad13ec6a9e2fb82c8d6" > DispatchStreamInfo< / a > (int stream_index, std::shared_ptr< < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > > stream_info)< / td > < / tr >
< tr class = "memdesc:a68c2b3f1e00ffad13ec6a9e2fb82c8d6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the stream info to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:a68c2b3f1e00ffad13ec6a9e2fb82c8d6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:acfa15d4635dda12cd3d1439d3a9368f9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "acfa15d4635dda12cd3d1439d3a9368f9" > < / a >
< a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#acfa15d4635dda12cd3d1439d3a9368f9" > DispatchEncryptionConfig< / a > (int stream_index, std::unique_ptr< < a class = "el" href = "../../d7/d34/structshaka_1_1media_1_1EncryptionConfig.html" > EncryptionConfig< / a > > encryption_config)< / td > < / tr >
< tr class = "memdesc:acfa15d4635dda12cd3d1439d3a9368f9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the encryption config to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:acfa15d4635dda12cd3d1439d3a9368f9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae5613bfa98942bcb6d0871e5e3788960 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ae5613bfa98942bcb6d0871e5e3788960" > < / a >
< a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#ae5613bfa98942bcb6d0871e5e3788960" > DispatchMediaSample< / a > (int stream_index, std::shared_ptr< < a class = "el" href = "../../d7/d6d/classshaka_1_1media_1_1MediaSample.html" > MediaSample< / a > > media_sample)< / td > < / tr >
< tr class = "memdesc:ae5613bfa98942bcb6d0871e5e3788960 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the media sample to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:ae5613bfa98942bcb6d0871e5e3788960 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:abcd63083b77966607b9c2aed8724e8f5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "abcd63083b77966607b9c2aed8724e8f5" > < / a >
< a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#abcd63083b77966607b9c2aed8724e8f5" > DispatchMediaEvent< / a > (int stream_index, std::shared_ptr< < a class = "el" href = "../../df/dd3/structshaka_1_1media_1_1MediaEvent.html" > MediaEvent< / a > > media_event)< / td > < / tr >
< tr class = "memdesc:abcd63083b77966607b9c2aed8724e8f5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the media event to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:abcd63083b77966607b9c2aed8724e8f5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7c2da8615f6880abf4e198dd4c17ad45 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a7c2da8615f6880abf4e198dd4c17ad45" > < / a >
< a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a7c2da8615f6880abf4e198dd4c17ad45" > DispatchSegmentInfo< / a > (int stream_index, std::shared_ptr< < a class = "el" href = "../../d0/dc0/structshaka_1_1media_1_1SegmentInfo.html" > SegmentInfo< / a > > segment_info)< / td > < / tr >
< tr class = "memdesc:a7c2da8615f6880abf4e198dd4c17ad45 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the segment info to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:a7c2da8615f6880abf4e198dd4c17ad45 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-08 19:28:59 +00:00
< tr class = "memitem:a12bf0d7f548d971c709c8644461dc9d3 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a12bf0d7f548d971c709c8644461dc9d3" > < / a >
< a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a12bf0d7f548d971c709c8644461dc9d3" > FlushDownstream< / a > (int output_stream_index)< / td > < / tr >
< tr class = "memdesc:a12bf0d7f548d971c709c8644461dc9d3 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Flush the downstream connected at the specified output stream index. < br / > < / td > < / tr >
< tr class = "separator:a12bf0d7f548d971c709c8644461dc9d3 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-08 19:14:10 +00:00
< tr class = "memitem:a95d62b8863212d4cf3d1daacdaf4d0e6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a95d62b8863212d4cf3d1daacdaf4d0e6" > < / a >
int  < / td > < td class = "memItemRight" valign = "bottom" > < b > num_input_streams< / b > () const < / td > < / tr >
< tr class = "separator:a95d62b8863212d4cf3d1daacdaf4d0e6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4be1e5619dd577b76f7d10919d8d10b3 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a4be1e5619dd577b76f7d10919d8d10b3" > < / a >
int  < / td > < td class = "memItemRight" valign = "bottom" > < b > next_output_stream_index< / b > () const < / td > < / tr >
< tr class = "separator:a4be1e5619dd577b76f7d10919d8d10b3 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7ab09ed6799a15cdac7788ed5a1bc52c inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a7ab09ed6799a15cdac7788ed5a1bc52c" > < / a >
const std::map< int, std::pair< br class = "typebreak" / >
< std::shared_ptr< br class = "typebreak" / >
< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > > , int > > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > output_handlers< / b > ()< / td > < / tr >
< tr class = "separator:a7ab09ed6799a15cdac7788ed5a1bc52c inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-10-16 00:33:37 +00:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2016-05-24 23:43:16 +00:00
< div class = "textblock" > < p > < a class = "el" href = "../../df/d46/classshaka_1_1media_1_1Muxer.html" > Muxer< / a > is responsible for taking elementary stream samples and producing media containers. An optional < a class = "el" href = "../../d1/d1f/classshaka_1_1media_1_1KeySource.html" title = "KeySource is responsible for encryption key acquisition. " > KeySource< / a > can be provided to < a class = "el" href = "../../df/d46/classshaka_1_1media_1_1Muxer.html" > Muxer< / a > to generate encrypted outputs. < / p >
2015-10-16 00:33:37 +00:00
2017-03-08 19:14:10 +00:00
< p > Definition at line < a class = "el" href = "../../db/df6/muxer_8h_source.html#l00033" > 33< / a > of file < a class = "el" href = "../../db/df6/muxer_8h_source.html" > muxer.h< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2016-05-24 23:43:16 +00:00
< a class = "anchor" id = "a9204fe352d13cea8a367ae9c14e9639e" > < / a >
2015-10-16 00:33:37 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-05-24 23:43:16 +00:00
< td class = "memname" > void shaka::media::Muxer::Cancel < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Cancel a muxing job in progress. Will cause < em > Run< / em > to exit with an error status of type CANCELLED. < / p >
2017-03-08 19:14:10 +00:00
< p > Definition at line < a class = "el" href = "../../d9/db9/muxer_8cc_source.html#l00048" > 48< / a > of file < a class = "el" href = "../../d9/db9/muxer_8cc_source.html" > muxer.cc< / a > .< / p >
< / div >
< / div >
< a class = "anchor" id = "a36882e12df5c5bfd48a7b94d1dfad857" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a > shaka::media::Muxer::InitializeInternal < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > override< / span > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Internal implementation of initialize. Note that it should only initialize the < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > itself. Downstream handlers are handled in < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#aed0da512bbd998ec9d0a5c019ad17acb" > Initialize()< / a > . < / p >
< p > Implements < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a0e05325d62bfb66318301c1ed790a46e" > shaka::media::MediaHandler< / a > .< / p >
< p > Definition at line < a class = "el" href = "../../db/df6/muxer_8h_source.html#l00098" > 98< / a > of file < a class = "el" href = "../../db/df6/muxer_8h_source.html" > muxer.h< / a > .< / p >
< / div >
< / div >
< a class = "anchor" id = "aec730b070245231a0887787005c06eee" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a > shaka::media::Muxer::Process < / td >
< td > (< / td >
< td class = "paramtype" > std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > >   < / td >
< td class = "paramname" > < em > stream_data< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Process the incoming stream data. Note that (1) stream_data.stream_index should be the input stream index; (2) The implementation needs to call DispatchXxx to dispatch the processed stream data to the downstream handlers after finishing processing if needed. < / p >
< p > Implements < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#acb614e9f43e1eb6f837801b15b78c0b4" > shaka::media::MediaHandler< / a > .< / p >
< p > Definition at line < a class = "el" href = "../../d9/db9/muxer_8cc_source.html#l00061" > 61< / a > of file < a class = "el" href = "../../d9/db9/muxer_8cc_source.html" > muxer.cc< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
2016-05-24 23:43:16 +00:00
< a class = "anchor" id = "a3cc7feaee9a2c3a7d0569cb9c67c8c68" > < / a >
2015-10-16 00:33:37 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2016-05-24 23:43:16 +00:00
< td class = "memname" > void shaka::media::Muxer::set_clock < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > base::Clock *  < / td >
< td class = "paramname" > < em > clock< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Inject clock, mainly used for testing. The injected clock will be used to generate the creation time-stamp and modification time-stamp of the muxer output. If no clock is injected, the code uses base::Time::Now() to generate the time-stamps. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > clock< / td > < td > is the Clock to be injected. < / td > < / tr >
< / table >
< / dd >
< / dl >
2017-03-08 19:14:10 +00:00
< p > Definition at line < a class = "el" href = "../../db/df6/muxer_8h_source.html#l00091" > 91< / a > of file < a class = "el" href = "../../db/df6/muxer_8h_source.html" > muxer.h< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
2016-12-14 19:38:53 +00:00
< a class = "anchor" id = "ad9c8f69897171ab81db6e7e9c367b4ce" > < / a >
2015-10-16 00:33:37 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-05-24 23:43:16 +00:00
< td class = "memname" > void shaka::media::Muxer::SetKeySource < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
2016-05-24 23:43:16 +00:00
< td class = "paramtype" > < a class = "el" href = "../../d1/d1f/classshaka_1_1media_1_1KeySource.html" > KeySource< / a > *  < / td >
2015-10-16 00:33:37 +00:00
< td class = "paramname" > < em > encryption_key_source< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > max_sd_pixels< / em > , < / td >
< / tr >
2016-12-14 19:38:53 +00:00
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > max_hd_pixels< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > max_uhd1_pixels< / em > , < / td >
< / tr >
2015-10-16 00:33:37 +00:00
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > double  < / td >
< td class = "paramname" > < em > clear_lead_in_seconds< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > double  < / td >
2016-03-18 05:18:31 +00:00
< td class = "paramname" > < em > crypto_period_duration_in_seconds< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2016-04-12 23:13:12 +00:00
< td class = "paramtype" > FourCC  < / td >
< td class = "paramname" > < em > protection_scheme< / em >   < / td >
2015-10-16 00:33:37 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Set encryption key source. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > encryption_key_source< / td > < td > points to the encryption key source. The caller retains ownership, and should not be NULL. < / td > < / tr >
2016-12-14 19:38:53 +00:00
< tr > < td class = "paramname" > max_sd_pixels< / td > < td > specifies the threshold to determine whether a video track should be considered as SD. If the max pixels per frame is no higher than max_sd_pixels, it is SD. < / td > < / tr >
< tr > < td class = "paramname" > max_hd_pixels< / td > < td > specifies the threshold to determine whether a video track should be considered as HD. If the max pixels per frame is higher than max_sd_pixels, but no higher than max_hd_pixels, it is HD. < / td > < / tr >
< tr > < td class = "paramname" > max_uhd1_pixels< / td > < td > specifies the threshold to determine whether a video track should be considered as UHD1. If the max pixels per frame is higher than max_hd_pixels, but no higher than max_uhd1_pixels, it is UHD1. Otherwise it is UHD2. < / td > < / tr >
2015-10-16 00:33:37 +00:00
< tr > < td class = "paramname" > clear_lead_in_seconds< / td > < td > specifies clear lead duration in seconds. < / td > < / tr >
< tr > < td class = "paramname" > crypto_period_duration_in_seconds< / td > < td > specifies crypto period duration in seconds. A positive value means key rotation is enabled, the key source must support key rotation in this case. < / td > < / tr >
2016-04-12 23:13:12 +00:00
< tr > < td class = "paramname" > protection_scheme< / td > < td > specifies the protection scheme: 'cenc', 'cens', 'cbc1', 'cbcs'. < / td > < / tr >
2015-10-16 00:33:37 +00:00
< / table >
< / dd >
< / dl >
2017-03-08 19:14:10 +00:00
< p > Definition at line < a class = "el" href = "../../d9/db9/muxer_8cc_source.html#l00031" > 31< / a > of file < a class = "el" href = "../../d9/db9/muxer_8cc_source.html" > muxer.cc< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
2016-08-19 00:58:26 +00:00
< a class = "anchor" id = "a0e76dd0a5c07dd538221459365ae824a" > < / a >
2015-10-16 00:33:37 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-05-24 23:43:16 +00:00
< td class = "memname" > void shaka::media::Muxer::SetMuxerListener < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
2016-08-19 00:58:26 +00:00
< td class = "paramtype" > std::unique_ptr< < a class = "el" href = "../../dd/d7a/classshaka_1_1media_1_1MuxerListener.html" > MuxerListener< / a > >   < / td >
2015-10-16 00:33:37 +00:00
< td class = "paramname" > < em > muxer_listener< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-05-24 23:43:16 +00:00
< p > Set a < a class = "el" href = "../../dd/d7a/classshaka_1_1media_1_1MuxerListener.html" > MuxerListener< / a > event handler for this object. < / p >
2015-10-16 00:33:37 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > muxer_listener< / td > < td > should not be NULL. < / td > < / tr >
< / table >
< / dd >
< / dl >
2017-03-08 19:14:10 +00:00
< p > Definition at line < a class = "el" href = "../../d9/db9/muxer_8cc_source.html#l00052" > 52< / a > of file < a class = "el" href = "../../d9/db9/muxer_8cc_source.html" > muxer.cc< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
2016-08-19 00:58:26 +00:00
< a class = "anchor" id = "a25a146d553c385aad70dbff6b3e87eec" > < / a >
2015-10-16 00:33:37 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-05-24 23:43:16 +00:00
< td class = "memname" > void shaka::media::Muxer::SetProgressListener < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
2016-08-19 00:58:26 +00:00
< td class = "paramtype" > std::unique_ptr< < a class = "el" href = "../../d4/de6/classshaka_1_1media_1_1ProgressListener.html" > ProgressListener< / a > >   < / td >
2015-10-16 00:33:37 +00:00
< td class = "paramname" > < em > progress_listener< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-05-24 23:43:16 +00:00
< p > Set a < a class = "el" href = "../../d4/de6/classshaka_1_1media_1_1ProgressListener.html" title = "This class listens to progress updates events. " > ProgressListener< / a > event handler for this object. < / p >
2015-10-16 00:33:37 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > progress_listener< / td > < td > should not be NULL. < / td > < / tr >
< / table >
< / dd >
< / dl >
2017-03-08 19:14:10 +00:00
< p > Definition at line < a class = "el" href = "../../d9/db9/muxer_8cc_source.html#l00056" > 56< / a > of file < a class = "el" href = "../../d9/db9/muxer_8cc_source.html" > muxer.cc< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > media/base/< a class = "el" href = "../../db/df6/muxer_8h_source.html" > muxer.h< / a > < / li >
< li > media/base/< a class = "el" href = "../../d9/db9/muxer_8cc_source.html" > muxer.cc< / a > < / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2017-03-15 20:49:01 +00:00
Generated on Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by   < a href = "http://www.doxygen.org/index.html" >
2015-10-16 00:33:37 +00:00
< img class = "footer" src = "../../doxygen.png" alt = "doxygen" / >
< / a > 1.8.6
< / small > < / address >
< / body >
< / html >