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 > |
< a href = "#friends" > Friends< / 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" >
< area href = "../../d3/d71/classshaka_1_1media_1_1mp2t_1_1TsMuxer.html" alt = "shaka::media::mp2t::TsMuxer" shape = "rect" coords = "0,56,200,80" / >
< area href = "../../db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html" alt = "shaka::media::mp4::MP4Muxer" shape = "rect" coords = "210,56,410,80" / >
< 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,56,620,80" / >
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 >
< tr class = "memitem:a021fdae2adc98716b1c8ee7617ab917b" > < 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#a021fdae2adc98716b1c8ee7617ab917b" > SetKeySource< / a > (< a class = "el" href = "../../d1/d1f/classshaka_1_1media_1_1KeySource.html" > KeySource< / a > *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds, FourCC protection_scheme)< / td > < / tr >
< tr class = "separator:a021fdae2adc98716b1c8ee7617ab917b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad9479d299d1c494604a5f5a052fe8280" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ad9479d299d1c494604a5f5a052fe8280" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../df/d46/classshaka_1_1media_1_1Muxer.html#ad9479d299d1c494604a5f5a052fe8280" > AddStream< / a > (< a class = "el" href = "../../d8/d5c/classshaka_1_1media_1_1MediaStream.html" > MediaStream< / a > *stream)< / td > < / tr >
< tr class = "memdesc:ad9479d299d1c494604a5f5a052fe8280" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Add video/audio stream. < br / > < / td > < / tr >
< tr class = "separator:ad9479d299d1c494604a5f5a052fe8280" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:adc96fbcd6a4d4ba9845f8d00974ace0f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "adc96fbcd6a4d4ba9845f8d00974ace0f" > < / 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#adc96fbcd6a4d4ba9845f8d00974ace0f" > Run< / a > ()< / td > < / tr >
< tr class = "memdesc:adc96fbcd6a4d4ba9845f8d00974ace0f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Drive the remuxing from muxer side (pull). < br / > < / td > < / tr >
< tr class = "separator:adc96fbcd6a4d4ba9845f8d00974ace0f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< 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 >
< tr class = "memitem:a786fbb91d7ece58c68334f5cef16ae71" > < 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#a786fbb91d7ece58c68334f5cef16ae71" > SetMuxerListener< / a > (scoped_ptr< < a class = "el" href = "../../dd/d7a/classshaka_1_1media_1_1MuxerListener.html" > MuxerListener< / a > > muxer_listener)< / td > < / tr >
< tr class = "separator:a786fbb91d7ece58c68334f5cef16ae71" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0a2dfb3924ce1307f98c339e6587369c" > < 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#a0a2dfb3924ce1307f98c339e6587369c" > SetProgressListener< / a > (scoped_ptr< < a class = "el" href = "../../d4/de6/classshaka_1_1media_1_1ProgressListener.html" > ProgressListener< / a > > progress_listener)< / td > < / tr >
< tr class = "separator:a0a2dfb3924ce1307f98c339e6587369c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0a1451c6277554ad1956225a345f5d3d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a0a1451c6277554ad1956225a345f5d3d" > < / a >
const std::vector< < a class = "el" href = "../../d8/d5c/classshaka_1_1media_1_1MediaStream.html" > MediaStream< / a > * > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > streams< / b > () const < / td > < / tr >
< tr class = "separator:a0a1451c6277554ad1956225a345f5d3d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< 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 >
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 >
< 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 >
2015-10-16 00:33:37 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "friends" > < / a >
Friends< / h2 > < / td > < / tr >
< tr class = "memitem:a80417a135c0011490cbe8a779e15244b" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a80417a135c0011490cbe8a779e15244b" > < / a >
class  < / td > < td class = "memItemRight" valign = "bottom" > < b > MediaStream< / b > < / td > < / tr >
< tr class = "separator:a80417a135c0011490cbe8a779e15244b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / 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
2016-03-18 05:18:31 +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 >
2016-04-12 23:13:12 +00:00
< p > Definition at line < a class = "el" href = "../../d9/db9/muxer_8cc_source.html#l00082" > 82< / 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 >
2016-04-12 23:13:12 +00:00
< p > Definition at line < a class = "el" href = "../../db/df6/muxer_8h_source.html#l00082" > 82< / 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-05-24 23:43:16 +00:00
< a class = "anchor" id = "a021fdae2adc98716b1c8ee7617ab917b" > < / 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 >
< 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 >
< tr > < td class = "paramname" > max_sd_pixels< / td > < td > specifies the threshold to determine whether a video track should be considered as SD or HD. If the track has more pixels per frame than max_sd_pixels, it is HD, SD otherwise. < / td > < / tr >
< 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 >
2016-04-12 23:13:12 +00:00
< p > Definition at line < a class = "el" href = "../../d9/db9/muxer_8cc_source.html#l00029" > 29< / 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 = "a786fbb91d7ece58c68334f5cef16ae71" > < / 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-05-24 23:43:16 +00:00
< td class = "paramtype" > scoped_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 >
2016-04-12 23:13:12 +00:00
< p > Definition at line < a class = "el" href = "../../d9/db9/muxer_8cc_source.html#l00086" > 86< / 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 = "a0a2dfb3924ce1307f98c339e6587369c" > < / 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-05-24 23:43:16 +00:00
< td class = "paramtype" > scoped_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 >
2016-04-12 23:13:12 +00:00
< p > Definition at line < a class = "el" href = "../../d9/db9/muxer_8cc_source.html#l00090" > 90< / 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 >
2016-08-18 20:58:33 +00:00
Generated on Thu Aug 18 2016 20:58:27 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 >