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::Demuxer 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 = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html" > Demuxer< / a > < / li > < / ul >
2015-10-16 00:33:37 +00:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
2016-01-23 02:38:43 +00:00
< a href = "#nested-classes" > Classes< / a > |
2015-10-16 00:33:37 +00:00
< a href = "#pub-methods" > Public Member Functions< / a > |
2016-05-24 23:43:16 +00:00
< a href = "../../d1/dad/classshaka_1_1media_1_1Demuxer-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::Demuxer Class Reference< / div > < / div >
2015-10-16 00:33:37 +00:00
< / div > <!-- header -->
< div class = "contents" >
< p > < code > #include < < a class = "el" href = "../../de/dc1/demuxer_8h_source.html" > demuxer.h< / a > > < / code > < / p >
2017-03-08 19:14:10 +00:00
< div class = "dynheader" >
Inheritance diagram for shaka::media::Demuxer:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "../../dd/d17/classshaka_1_1media_1_1Demuxer.png" usemap = "#shaka::media::Demuxer_map" alt = "" / >
< map id = "shaka::media::Demuxer_map" name = "shaka::media::Demuxer_map" >
< area href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" alt = "shaka::media::MediaHandler" shape = "rect" coords = "0,0,170,24" / >
< / map >
< / div > < / div >
2015-10-16 00:33:37 +00:00
< 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:ae2fee69f99e5815de4f686b24393402e" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html#ae2fee69f99e5815de4f686b24393402e" > Demuxer< / a > (const std::string & file_name)< / td > < / tr >
< tr class = "separator:ae2fee69f99e5815de4f686b24393402e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-08-19 00:58:26 +00:00
< tr class = "memitem:abfcf3a9a3f64c0e27497c72324049a1e" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html#abfcf3a9a3f64c0e27497c72324049a1e" > SetKeySource< / a > (std::unique_ptr< < a class = "el" href = "../../d1/d1f/classshaka_1_1media_1_1KeySource.html" > KeySource< / a > > key_source)< / td > < / tr >
< tr class = "separator:abfcf3a9a3f64c0e27497c72324049a1e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:a9e0b4a430603fdf4639c2153622ae1a2" > < 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 = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html#a9e0b4a430603fdf4639c2153622ae1a2" > Run< / a > ()< / td > < / tr >
< tr class = "separator:a9e0b4a430603fdf4639c2153622ae1a2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a117ba5528a92b0cf4752d15d3692e158" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html#a117ba5528a92b0cf4752d15d3692e158" > Cancel< / a > ()< / td > < / tr >
< tr class = "separator:a117ba5528a92b0cf4752d15d3692e158" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a385c93fd8d589b7d3bccd35e14c58290" > < td class = "memItemLeft" align = "right" valign = "top" > MediaContainerName  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html#a385c93fd8d589b7d3bccd35e14c58290" > container_name< / a > ()< / td > < / tr >
< tr class = "separator:a385c93fd8d589b7d3bccd35e14c58290" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-08 19:14:10 +00:00
< tr class = "memitem:a1247302b6c57fbafb09aec71ce0109e3" > < 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 = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html#a1247302b6c57fbafb09aec71ce0109e3" > SetHandler< / a > (const std::string & stream_label, std::shared_ptr< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > > handler)< / td > < / tr >
< tr class = "separator:a1247302b6c57fbafb09aec71ce0109e3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa3fe0a64a2745fa6f462c3d179809c3b" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html#aa3fe0a64a2745fa6f462c3d179809c3b" > SetLanguageOverride< / a > (const std::string & stream_label, const std::string & language_override)< / td > < / tr >
< tr class = "separator:aa3fe0a64a2745fa6f462c3d179809c3b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a59895d00ea11a149c53fc8622f84285f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a59895d00ea11a149c53fc8622f84285f" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_dump_stream_info< / b > (bool dump_stream_info)< / td > < / tr >
< tr class = "separator:a59895d00ea11a149c53fc8622f84285f" > < td class = "memSeparator" colspan = "2" >   < / 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 = "-" / >   Public Member Functions inherited from < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > shaka::media::MediaHandler< / a > < / td > < / tr >
2017-03-16 22:29:47 +00:00
< tr class = "memitem:a0fac1fe2d593e78d47244acdfa21759d inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a0fac1fe2d593e78d47244acdfa21759d" > < / 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#a0fac1fe2d593e78d47244acdfa21759d" > SetHandler< / a > (size_t 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:a0fac1fe2d593e78d47244acdfa21759d 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:a0fac1fe2d593e78d47244acdfa21759d inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-08 19:14:10 +00:00
< 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 >
2017-05-15 16:24:34 +00:00
< tr class = "memitem:a0e169e81344ce4ccfed3194ec5f4a3a1 inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a0e169e81344ce4ccfed3194ec5f4a3a1" > < / a >
bool  < / 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" >   < / 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" >   < / td > < / tr >
2017-03-08 19:14:10 +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 >
< tr > < td colspan = "2" > < div class = "groupHeader" > MediaHandler implementation overrides.< / div > < / td > < / tr >
< tr class = "memitem:a7488d8ea312be5822c67f5b69a8dbd9f" > < 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 = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html#a7488d8ea312be5822c67f5b69a8dbd9f" > InitializeInternal< / a > () override< / td > < / tr >
< tr class = "separator:a7488d8ea312be5822c67f5b69a8dbd9f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a869b21d13f02d4d5c0519f9eb35117cd" > < 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 = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html#a869b21d13f02d4d5c0519f9eb35117cd" > 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:a869b21d13f02d4d5c0519f9eb35117cd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-16 22:29:47 +00:00
< tr class = "memitem:a908f4c9bb410d1528b85e2c7f824deb6" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a908f4c9bb410d1528b85e2c7f824deb6" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html#a908f4c9bb410d1528b85e2c7f824deb6" > ValidateOutputStreamIndex< / a > (size_t stream_index) const override< / td > < / tr >
< tr class = "memdesc:a908f4c9bb410d1528b85e2c7f824deb6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Validate if the stream at the specified index actually exists. < br / > < / td > < / tr >
< tr class = "separator:a908f4c9bb410d1528b85e2c7f824deb6" > < 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 >
2017-03-16 22:29:47 +00:00
< tr class = "memitem:a69a31b8ec1b85fd4790c7c2013c69a73 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a69a31b8ec1b85fd4790c7c2013c69a73" > < / a >
virtual < 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#a69a31b8ec1b85fd4790c7c2013c69a73" > OnFlushRequest< / a > (size_t input_stream_index)< / td > < / tr >
< tr class = "memdesc:a69a31b8ec1b85fd4790c7c2013c69a73 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Event handler for flush request at the specific input stream index. < br / > < / td > < / tr >
< tr class = "separator:a69a31b8ec1b85fd4790c7c2013c69a73 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: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 >
2017-03-16 22:29:47 +00:00
< tr class = "memitem:ac5c28b9b8e5aa8471186b35f005986a1 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ac5c28b9b8e5aa8471186b35f005986a1" > < / 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#ac5c28b9b8e5aa8471186b35f005986a1" > DispatchPeriodInfo< / a > (size_t 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:ac5c28b9b8e5aa8471186b35f005986a1 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:ac5c28b9b8e5aa8471186b35f005986a1 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a855263bdfc4c0e24d94277dc4a1b415f inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a855263bdfc4c0e24d94277dc4a1b415f" > < / 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#a855263bdfc4c0e24d94277dc4a1b415f" > DispatchStreamInfo< / a > (size_t 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:a855263bdfc4c0e24d94277dc4a1b415f 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:a855263bdfc4c0e24d94277dc4a1b415f inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a73dfbc5de4901830cfd25775e2e4fcff inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a73dfbc5de4901830cfd25775e2e4fcff" > < / 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#a73dfbc5de4901830cfd25775e2e4fcff" > DispatchMediaSample< / a > (size_t 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:a73dfbc5de4901830cfd25775e2e4fcff 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:a73dfbc5de4901830cfd25775e2e4fcff inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-06-12 16:24:29 +00:00
< tr class = "memitem:aa32bfd69f26d5f81a874d6442584691b inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aa32bfd69f26d5f81a874d6442584691b" > < / 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#aa32bfd69f26d5f81a874d6442584691b" > DispatchTextSample< / a > (size_t stream_index, std::shared_ptr< < a class = "el" href = "../../db/d1f/classshaka_1_1media_1_1TextSample.html" > TextSample< / a > > text_sample)< / td > < / tr >
< tr class = "memdesc:aa32bfd69f26d5f81a874d6442584691b inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the text sample to downsream handlers. < br / > < / td > < / tr >
< tr class = "separator:aa32bfd69f26d5f81a874d6442584691b inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-16 22:29:47 +00:00
< tr class = "memitem:a860716d6beae66729df7bb86b19aa81d inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a860716d6beae66729df7bb86b19aa81d" > < / 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#a860716d6beae66729df7bb86b19aa81d" > DispatchMediaEvent< / a > (size_t 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:a860716d6beae66729df7bb86b19aa81d 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:a860716d6beae66729df7bb86b19aa81d inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a505c70d5e911e45ebcabcce09e2658f9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a505c70d5e911e45ebcabcce09e2658f9" > < / 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#a505c70d5e911e45ebcabcce09e2658f9" > DispatchSegmentInfo< / a > (size_t 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:a505c70d5e911e45ebcabcce09e2658f9 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:a505c70d5e911e45ebcabcce09e2658f9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad5001bf12073101a949b062943769f5b inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ad5001bf12073101a949b062943769f5b" > < / 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#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" >   < / 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" >   < / td > < / tr >
2017-05-15 16:24:34 +00:00
< tr class = "memitem:ab644ca7b0a0dbcbc42936f2dfb979ca5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ab644ca7b0a0dbcbc42936f2dfb979ca5" > < / 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#ab644ca7b0a0dbcbc42936f2dfb979ca5" > FlushAllDownstreams< / a > ()< / td > < / tr >
< tr class = "memdesc:ab644ca7b0a0dbcbc42936f2dfb979ca5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Flush all connected downstreams. < br / > < / td > < / tr >
< tr class = "separator:ab644ca7b0a0dbcbc42936f2dfb979ca5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-05-02 18:44:28 +00:00
< 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 >
2017-03-16 22:29:47 +00:00
< tr class = "memitem:adcaba8387322b6ed0d490315876896b3 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "adcaba8387322b6ed0d490315876896b3" > < / a >
size_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > num_input_streams< / b > () const < / td > < / tr >
< tr class = "separator:adcaba8387322b6ed0d490315876896b3 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a67286928ab5b7a3b3ff39db3735fefac inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a67286928ab5b7a3b3ff39db3735fefac" > < / a >
size_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > next_output_stream_index< / b > () const < / td > < / tr >
< tr class = "separator:a67286928ab5b7a3b3ff39db3735fefac inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a665eb29cf9704481a490c5a912083104 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a665eb29cf9704481a490c5a912083104" > < / a >
const std::map< size_t, < br class = "typebreak" / >
std::pair< std::shared_ptr< br class = "typebreak" / >
< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > > , size_t > > &   < / 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" >   < / 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 = "../../dd/d17/classshaka_1_1media_1_1Demuxer.html" > Demuxer< / a > is responsible for extracting elementary stream samples from a media file, e.g. an ISO BMFF file. < / 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 = "../../de/dc1/demuxer_8h_source.html#l00032" > 32< / a > of file < a class = "el" href = "../../de/dc1/demuxer_8h_source.html" > demuxer.h< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div > < h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
2016-05-24 23:43:16 +00:00
< a class = "anchor" id = "ae2fee69f99e5815de4f686b24393402e" > < / 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" > shaka::media::Demuxer::Demuxer < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > file_name< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > explicit< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2016-05-24 23:43:16 +00:00
< tr > < td class = "paramname" > file_name< / td > < td > specifies the input source. It uses prefix matching to create a proper < a class = "el" href = "../../d3/d61/classshaka_1_1media_1_1File.html" title = "Define an abstract file interface. " > File< / a > object. The user can extend < a class = "el" href = "../../d3/d61/classshaka_1_1media_1_1File.html" title = "Define an abstract file interface. " > File< / a > to support a custom < a class = "el" href = "../../d3/d61/classshaka_1_1media_1_1File.html" title = "Define an abstract file interface. " > File< / a > object with its own prefix. < / td > < / tr >
2015-10-16 00:33:37 +00:00
< / table >
< / dd >
< / dl >
2017-03-29 18:59:26 +00:00
< p > Definition at line < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html#l00075" > 75< / a > of file < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html" > demuxer.cc< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
2016-05-24 23:43:16 +00:00
< a class = "anchor" id = "a117ba5528a92b0cf4752d15d3692e158" > < / 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::Demuxer::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 demuxing job in progress. Will cause < em > Run< / em > to exit with an error status of type CANCELLED. < / p >
2017-06-07 21:54:35 +00:00
< p > Definition at line < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html#l00128" > 128< / a > of file < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html" > demuxer.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 = "a385c93fd8d589b7d3bccd35e14c58290" > < / 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" > MediaContainerName shaka::media::Demuxer::container_name < / td >
2015-10-16 00:33:37 +00:00
< 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 > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "section return" > < dt > Returns< / dt > < dd > Container name (type). Value is CONTAINER_UNKNOWN if the demuxer is not initialized. < / dd > < / dl >
2017-03-08 19:14:10 +00:00
< p > Definition at line < a class = "el" href = "../../de/dc1/demuxer_8h_source.html#l00056" > 56< / a > of file < a class = "el" href = "../../de/dc1/demuxer_8h_source.html" > demuxer.h< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
2017-03-08 19:14:10 +00:00
< a class = "anchor" id = "a7488d8ea312be5822c67f5b69a8dbd9f" > < / a >
2015-10-16 00:33:37 +00:00
< div class = "memitem" >
< div class = "memproto" >
2017-03-08 19:14:10 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2015-10-16 00:33:37 +00:00
< table class = "memname" >
< tr >
2017-03-08 19:14:10 +00:00
< td class = "memname" > < a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a > shaka::media::Demuxer::InitializeInternal < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2017-03-08 19:14:10 +00:00
< / 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 >
2015-10-16 00:33:37 +00:00
< / div > < div class = "memdoc" >
2017-03-08 19:14:10 +00:00
< 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 >
2015-10-16 00:33:37 +00:00
2017-03-08 19:14:10 +00:00
< p > Definition at line < a class = "el" href = "../../de/dc1/demuxer_8h_source.html#l00080" > 80< / a > of file < a class = "el" href = "../../de/dc1/demuxer_8h_source.html" > demuxer.h< / a > .< / p >
< / div >
< / div >
< a class = "anchor" id = "a869b21d13f02d4d5c0519f9eb35117cd" > < / 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::Demuxer::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" > 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 > 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 = "../../de/dc1/demuxer_8h_source.html#l00081" > 81< / a > of file < a class = "el" href = "../../de/dc1/demuxer_8h_source.html" > demuxer.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 = "a9e0b4a430603fdf4639c2153622ae1a2" > < / 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" > < a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a > shaka::media::Demuxer::Run < / 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" >
2016-05-24 23:43:16 +00:00
< p > Drive the remuxing from demuxer side (push). Read the file and push the Data to < a class = "el" href = "../../df/d46/classshaka_1_1media_1_1Muxer.html" > Muxer< / a > until Eof. < / p >
2015-10-16 00:33:37 +00:00
2017-03-29 18:59:26 +00:00
< p > Definition at line < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html#l00087" > 87< / a > of file < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html" > demuxer.cc< / a > .< / p >
2017-03-08 19:14:10 +00:00
< / div >
< / div >
< a class = "anchor" id = "a1247302b6c57fbafb09aec71ce0109e3" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "../../d0/d93/classshaka_1_1media_1_1Status.html" > Status< / a > shaka::media::Demuxer::SetHandler < / td >
< td > (< / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > stream_label< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > std::shared_ptr< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > >   < / td >
< td class = "paramname" > < em > handler< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Set the handler for the specified stream. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > stream_label< / td > < td > can be 'audio', 'video', or stream number (zero based). < / td > < / tr >
< tr > < td class = "paramname" > handler< / td > < td > is the handler for the specified stream. < / td > < / tr >
< / table >
< / dd >
< / dl >
2017-06-07 21:54:35 +00:00
< p > Definition at line < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html#l00132" > 132< / a > of file < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html" > demuxer.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 = "abfcf3a9a3f64c0e27497c72324049a1e" > < / 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::Demuxer::SetKeySource < / 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 = "../../d1/d1f/classshaka_1_1media_1_1KeySource.html" > KeySource< / a > >   < / td >
2015-10-16 00:33:37 +00:00
< td class = "paramname" > < em > key_source< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-05-24 23:43:16 +00:00
< p > Set the < a class = "el" href = "../../d1/d1f/classshaka_1_1media_1_1KeySource.html" title = "KeySource is responsible for encryption key acquisition. " > KeySource< / a > for media decryption. < / p >
2015-10-16 00:33:37 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > key_source< / td > < td > points to the source of decryption keys. The key source must support fetching of keys for the type of media being demuxed. < / td > < / tr >
< / table >
< / dd >
< / dl >
2017-03-29 18:59:26 +00:00
< p > Definition at line < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html#l00083" > 83< / a > of file < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html" > demuxer.cc< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
2017-03-08 19:14:10 +00:00
< a class = "anchor" id = "aa3fe0a64a2745fa6f462c3d179809c3b" > < / a >
2015-10-16 00:33:37 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2017-03-08 19:14:10 +00:00
< td class = "memname" > void shaka::media::Demuxer::SetLanguageOverride < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
2017-03-08 19:14:10 +00:00
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > stream_label< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2015-10-16 00:33:37 +00:00
< td > < / td >
2017-03-08 19:14:10 +00:00
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > language_override< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2015-10-16 00:33:37 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2017-03-08 19:14:10 +00:00
< p > Override the language in the specified stream. If the specified stream is a video stream or invalid, this function is a no-op. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > stream_label< / td > < td > can be 'audio', 'video', or stream number (zero based). < / td > < / tr >
< tr > < td class = "paramname" > language_override< / td > < td > is the new language. < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-10-16 00:33:37 +00:00
2017-06-07 21:54:35 +00:00
< p > Definition at line < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html#l00142" > 142< / a > of file < a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html" > demuxer.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 >
2017-03-30 22:34:09 +00:00
< li > media/demuxer/< a class = "el" href = "../../de/dc1/demuxer_8h_source.html" > demuxer.h< / a > < / li >
< li > media/demuxer/< a class = "el" href = "../../d3/dbe/demuxer_8cc_source.html" > demuxer.cc< / a > < / li >
2015-10-16 00:33:37 +00:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2017-06-22 22:14:30 +00:00
Generated on Thu Jun 22 2017 22:14:25 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 >