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::DashIopMpdNotifier 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" > < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html" > DashIopMpdNotifier< / 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 = "#friends" > Friends< / a > |
2016-05-24 23:43:16 +00:00
< a href = "../../d2/d7b/classshaka_1_1DashIopMpdNotifier-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::DashIopMpdNotifier Class Reference< / div > < / div >
2015-10-16 00:33:37 +00:00
< / div > <!-- header -->
< div class = "contents" >
< p > < code > #include < < a class = "el" href = "../../d6/d77/dash__iop__mpd__notifier_8h_source.html" > dash_iop_mpd_notifier.h< / a > > < / code > < / p >
< div class = "dynheader" >
2016-05-24 23:43:16 +00:00
Inheritance diagram for shaka::DashIopMpdNotifier:< / 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 = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.png" usemap = "#shaka::DashIopMpdNotifier_map" alt = "" / >
< map id = "shaka::DashIopMpdNotifier_map" name = "shaka::DashIopMpdNotifier_map" >
< area href = "../../d3/dd0/classshaka_1_1MpdNotifier.html" alt = "shaka::MpdNotifier" shape = "rect" coords = "0,0,163,24" / >
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:ac5d8eaef80d82de18bcfc208fb80930c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ac5d8eaef80d82de18bcfc208fb80930c" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < b > DashIopMpdNotifier< / b > (DashProfile < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html#a3eb0f05b01d475eff0a75bab71f21149" > dash_profile< / a > , const < a class = "el" href = "../../d1/df3/structshaka_1_1MpdOptions.html" > MpdOptions< / a > & mpd_options, const std::vector< std::string > & base_urls, const std::string & output_path)< / td > < / tr >
< tr class = "separator:ac5d8eaef80d82de18bcfc208fb80930c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-10-16 00:33:37 +00:00
< tr > < td colspan = "2" > < div class = "groupHeader" > MpdNotifier implemetation overrides.< / div > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr > < td colspan = "2" > < div class = "groupText" > < p > None of the methods write out the MPD file until < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#ab3411eb75eedce9a26f0767210280e71" > Flush()< / a > is called. < / p >
2015-10-16 00:33:37 +00:00
< / div > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:a9dd9d655a538ff2618634ca1f9809478" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#a9dd9d655a538ff2618634ca1f9809478" > Init< / a > () override< / td > < / tr >
< tr class = "separator:a9dd9d655a538ff2618634ca1f9809478" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af86163b8fc680ea659e6ba2d2c5d6db7" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#af86163b8fc680ea659e6ba2d2c5d6db7" > NotifyNewContainer< / a > (const MediaInfo & media_info, uint32_t *id) override< / td > < / tr >
< tr class = "separator:af86163b8fc680ea659e6ba2d2c5d6db7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9ec74194872324aad3838f1047fdbe13" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#a9ec74194872324aad3838f1047fdbe13" > NotifySampleDuration< / a > (uint32_t container_id, uint32_t sample_duration) override< / td > < / tr >
< tr class = "separator:a9ec74194872324aad3838f1047fdbe13" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad2561d25eb7ace9b919ef8b96d4a06a7" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#ad2561d25eb7ace9b919ef8b96d4a06a7" > NotifyNewSegment< / a > (uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) override< / td > < / tr >
< tr class = "separator:ad2561d25eb7ace9b919ef8b96d4a06a7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a093eac08e6fdc396e6bbcbc58d35a3c3" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#a093eac08e6fdc396e6bbcbc58d35a3c3" > NotifyEncryptionUpdate< / a > (uint32_t container_id, const std::string & drm_uuid, const std::vector< uint8_t > & new_key_id, const std::vector< uint8_t > & new_pssh) override< / td > < / tr >
< tr class = "separator:a093eac08e6fdc396e6bbcbc58d35a3c3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6afc2b87efd66cb12f75f5e519e0888d" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#a6afc2b87efd66cb12f75f5e519e0888d" > AddContentProtectionElement< / a > (uint32_t id, const < a class = "el" href = "../../da/d43/structshaka_1_1ContentProtectionElement.html" > ContentProtectionElement< / a > & content_protection_element) override< / td > < / tr >
< tr class = "separator:a6afc2b87efd66cb12f75f5e519e0888d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab3411eb75eedce9a26f0767210280e71" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#ab3411eb75eedce9a26f0767210280e71" > Flush< / a > () override< / td > < / tr >
< tr class = "separator:ab3411eb75eedce9a26f0767210280e71" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_classshaka_1_1MpdNotifier" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_classshaka_1_1MpdNotifier')" > < img src = "../../closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html" > shaka::MpdNotifier< / a > < / td > < / tr >
< tr class = "memitem:a048d6e1ad8d9590e882184dfd20430fe inherit pub_methods_classshaka_1_1MpdNotifier" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a048d6e1ad8d9590e882184dfd20430fe" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < b > MpdNotifier< / b > (DashProfile < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html#a3eb0f05b01d475eff0a75bab71f21149" > dash_profile< / a > )< / td > < / tr >
< tr class = "separator:a048d6e1ad8d9590e882184dfd20430fe inherit pub_methods_classshaka_1_1MpdNotifier" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3eb0f05b01d475eff0a75bab71f21149 inherit pub_methods_classshaka_1_1MpdNotifier" > < td class = "memItemLeft" align = "right" valign = "top" > DashProfile  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html#a3eb0f05b01d475eff0a75bab71f21149" > dash_profile< / a > () const < / td > < / tr >
< tr class = "separator:a3eb0f05b01d475eff0a75bab71f21149 inherit pub_methods_classshaka_1_1MpdNotifier" > < 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:a85e3e61dc8e384ca6d3f28e6568ef9f6" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a85e3e61dc8e384ca6d3f28e6568ef9f6" > < / a >
class  < / td > < td class = "memItemRight" valign = "bottom" > < b > DashIopMpdNotifierTest< / b > < / td > < / tr >
< tr class = "separator:a85e3e61dc8e384ca6d3f28e6568ef9f6" > < 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 > This class is an < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html" > MpdNotifier< / a > which will try its best to generate a DASH IF IOPv3 compliant MPD. e.g. All < ContentProtection> elements must be right under < AdaptationSet> and cannot be under < Representation> . All video Adaptation Sets have Role set to "main". < / p >
2015-10-16 00:33:37 +00:00
2015-11-16 20:02:40 +00:00
< p > Definition at line < a class = "el" href = "../../d6/d77/dash__iop__mpd__notifier_8h_source.html#l00030" > 30< / a > of file < a class = "el" href = "../../d6/d77/dash__iop__mpd__notifier_8h_source.html" > dash_iop_mpd_notifier.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 = "a6afc2b87efd66cb12f75f5e519e0888d" > < / 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" > bool shaka::DashIopMpdNotifier::AddContentProtectionElement < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > container_id< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2016-05-24 23:43:16 +00:00
< td class = "paramtype" > const < a class = "el" href = "../../da/d43/structshaka_1_1ContentProtectionElement.html" > ContentProtectionElement< / a > &   < / td >
2015-10-16 00:33:37 +00:00
< td class = "paramname" > < em > content_protection_element< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
2015-10-19 17:27:30 +00:00
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2015-10-16 00:33:37 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Adds content protection information to the MPD. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2016-05-24 23:43:16 +00:00
< tr > < td class = "paramname" > container_id< / td > < td > is the nummeric container ID obtained from calling < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#af86163b8fc680ea659e6ba2d2c5d6db7" > NotifyNewContainer()< / a > . < / td > < / tr >
2015-10-16 00:33:37 +00:00
< tr > < td class = "paramname" > content_protection_element< / td > < td > New ContentProtection element specification. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > true on success, false otherwise. < / dd > < / dl >
2016-05-24 23:43:16 +00:00
< p > Implements < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html#adfbafb780222d3799a53a0e061fb8e73" > shaka::MpdNotifier< / a > .< / p >
2015-10-16 00:33:37 +00:00
2016-12-19 20:18:42 +00:00
< p > Definition at line < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html#l00144" > 144< / a > of file < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html" > dash_iop_mpd_notifier.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 = "ab3411eb75eedce9a26f0767210280e71" > < / 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" > bool shaka::DashIopMpdNotifier::Flush < / 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" >
2015-10-19 17:27:30 +00:00
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2015-10-16 00:33:37 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Call this method to force a flush. Implementations might not write out the MPD to a stream (file, stdout, etc.) when the MPD is updated, this forces a flush. < / p >
2016-05-24 23:43:16 +00:00
< p > Implements < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html#af8149126f4793506bef385d067561dbf" > shaka::MpdNotifier< / a > .< / p >
2015-10-16 00:33:37 +00:00
2016-12-19 20:18:42 +00:00
< p > Definition at line < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html#l00154" > 154< / a > of file < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html" > dash_iop_mpd_notifier.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 = "a9dd9d655a538ff2618634ca1f9809478" > < / 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" > bool shaka::DashIopMpdNotifier::Init < / 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" >
2015-10-19 17:27:30 +00:00
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2015-10-16 00:33:37 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Initializes the notifier. For example, if this notifier uses a network for notification, then this would set up the connection with the remote host. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > true on success, false otherwise. < / dd > < / dl >
2016-05-24 23:43:16 +00:00
< p > Implements < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html#ad6171481d6fb437767b1f5b9e0dac1a3" > shaka::MpdNotifier< / a > .< / p >
2015-10-16 00:33:37 +00:00
2016-12-19 20:18:42 +00:00
< p > Definition at line < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html#l00059" > 59< / a > of file < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html" > dash_iop_mpd_notifier.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 = "a093eac08e6fdc396e6bbcbc58d35a3c3" > < / 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" > bool shaka::DashIopMpdNotifier::NotifyEncryptionUpdate < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > container_id< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > drm_uuid< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const std::vector< uint8_t > &   < / td >
< td class = "paramname" > < em > new_key_id< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const std::vector< uint8_t > &   < / td >
< td class = "paramname" > < em > new_pssh< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
2015-10-19 17:27:30 +00:00
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2015-10-16 00:33:37 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-05-24 23:43:16 +00:00
< p > Notifiers < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html" title = "This class generates DASH MPDs (Media Presentation Descriptions). " > MpdBuilder< / a > that there is a new PSSH for the container. This may be called whenever the key has to change, e.g. key rotation. < / p >
2015-10-16 00:33:37 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2016-05-24 23:43:16 +00:00
< tr > < td class = "paramname" > container_id< / td > < td > Container ID obtained from calling < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#af86163b8fc680ea659e6ba2d2c5d6db7" > NotifyNewContainer()< / a > . < / td > < / tr >
2015-10-16 00:33:37 +00:00
< tr > < td class = "paramname" > drm_uuid< / td > < td > is the UUID of the DRM for encryption. < / td > < / tr >
< tr > < td class = "paramname" > new_key_id< / td > < td > is the new key ID for the key. < / td > < / tr >
< tr > < td class = "paramname" > new_pssh< / td > < td > is the new pssh box (including the header). < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section attention" > < dt > Attention< / dt > < dd > This might change or get removed once DASH IF IOP specification writes a clear guideline on how to handle key rotation. < / dd > < / dl >
2016-05-24 23:43:16 +00:00
< p > Implements < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html#acf6a0bde4fc907053cc9f1ff9a38b59a" > shaka::MpdNotifier< / a > .< / p >
2015-10-16 00:33:37 +00:00
2016-12-19 20:18:42 +00:00
< p > Definition at line < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html#l00125" > 125< / a > of file < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html" > dash_iop_mpd_notifier.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 = "af86163b8fc680ea659e6ba2d2c5d6db7" > < / 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" > bool shaka::DashIopMpdNotifier::NotifyNewContainer < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > const MediaInfo &   < / td >
< td class = "paramname" > < em > media_info< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t *  < / td >
< td class = "paramname" > < em > container_id< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
2015-10-19 17:27:30 +00:00
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2015-10-16 00:33:37 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-05-24 23:43:16 +00:00
< p > Notifies the < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html" title = "This class generates DASH MPDs (Media Presentation Descriptions). " > MpdBuilder< / a > that there is a new container along with < em > media_info< / em > . Live may have multiple files (segments) but those should be notified via < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#ad2561d25eb7ace9b919ef8b96d4a06a7" > NotifyNewSegment()< / a > . < / p >
2015-10-16 00:33:37 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2016-05-24 23:43:16 +00:00
< tr > < td class = "paramdir" > < / td > < td class = "paramname" > media_info< / td > < td > is the MediaInfo that will be passed to < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html" title = "This class generates DASH MPDs (Media Presentation Descriptions). " > MpdBuilder< / a > . < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > container_id< / td > < td > is the numeric ID of the container, possibly for < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#ad2561d25eb7ace9b919ef8b96d4a06a7" > NotifyNewSegment()< / a > and < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#a6afc2b87efd66cb12f75f5e519e0888d" > AddContentProtectionElement()< / a > . Only populated on success. < / td > < / tr >
2015-10-16 00:33:37 +00:00
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > true on success, false otherwise. < / dd > < / dl >
2016-05-24 23:43:16 +00:00
< p > Implements < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html#ae10c06fe6022a1020fc889de389be430" > shaka::MpdNotifier< / a > .< / p >
2015-10-16 00:33:37 +00:00
2016-12-19 20:18:42 +00:00
< p > Definition at line < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html#l00063" > 63< / a > of file < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html" > dash_iop_mpd_notifier.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 = "ad2561d25eb7ace9b919ef8b96d4a06a7" > < / 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" > bool shaka::DashIopMpdNotifier::NotifyNewSegment < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > container_id< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint64_t  < / td >
< td class = "paramname" > < em > start_time< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint64_t  < / td >
< td class = "paramname" > < em > duration< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint64_t  < / td >
< td class = "paramname" > < em > size< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
2015-10-19 17:27:30 +00:00
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2015-10-16 00:33:37 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-05-24 23:43:16 +00:00
< p > Notifies < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html" title = "This class generates DASH MPDs (Media Presentation Descriptions). " > MpdBuilder< / a > that there is a new segment ready. For live, this is usually a new segment, for VOD this is usually a subsegment. < / p >
2015-10-16 00:33:37 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2016-05-24 23:43:16 +00:00
< tr > < td class = "paramname" > container_id< / td > < td > Container ID obtained from calling < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#af86163b8fc680ea659e6ba2d2c5d6db7" > NotifyNewContainer()< / a > . < / td > < / tr >
2015-10-16 00:33:37 +00:00
< tr > < td class = "paramname" > start_time< / td > < td > is the start time of the new segment, in units of the stream's time scale. < / td > < / tr >
< tr > < td class = "paramname" > duration< / td > < td > is the duration of the new segment, in units of the stream's time scale. < / td > < / tr >
< tr > < td class = "paramname" > size< / td > < td > is the new segment size in bytes. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > true on success, false otherwise. < / dd > < / dl >
2016-05-24 23:43:16 +00:00
< p > Implements < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html#a100236a249477afcda4f50e4914f0eee" > shaka::MpdNotifier< / a > .< / p >
2015-10-16 00:33:37 +00:00
2016-12-19 20:18:42 +00:00
< p > Definition at line < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html#l00111" > 111< / a > of file < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html" > dash_iop_mpd_notifier.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 = "a9ec74194872324aad3838f1047fdbe13" > < / 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" > bool shaka::DashIopMpdNotifier::NotifySampleDuration < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > container_id< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > sample_duration< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
2015-10-19 17:27:30 +00:00
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2015-10-16 00:33:37 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Change the sample duration of container with < em > container_id< / em > . < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2016-05-24 23:43:16 +00:00
< tr > < td class = "paramname" > container_id< / td > < td > Container ID obtained from calling < a class = "el" href = "../../d4/d70/classshaka_1_1DashIopMpdNotifier.html#af86163b8fc680ea659e6ba2d2c5d6db7" > NotifyNewContainer()< / a > . < / td > < / tr >
2015-10-16 00:33:37 +00:00
< tr > < td class = "paramname" > sample_duration< / td > < td > is the duration of a sample in timescale of the media. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > true on success, false otherwise. This may fail if the container specified by < em > container_id< / em > does not exist. < / dd > < / dl >
2016-05-24 23:43:16 +00:00
< p > Implements < a class = "el" href = "../../d3/dd0/classshaka_1_1MpdNotifier.html#a721edf600dc9165e96e4b6c154a2d4f6" > shaka::MpdNotifier< / a > .< / p >
2015-10-16 00:33:37 +00:00
2016-12-19 20:18:42 +00:00
< p > Definition at line < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html#l00099" > 99< / a > of file < a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html" > dash_iop_mpd_notifier.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 > mpd/base/< a class = "el" href = "../../d6/d77/dash__iop__mpd__notifier_8h_source.html" > dash_iop_mpd_notifier.h< / a > < / li >
< li > mpd/base/< a class = "el" href = "../../dc/d22/dash__iop__mpd__notifier_8cc_source.html" > dash_iop_mpd_notifier.cc< / a > < / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2017-01-06 19:57:53 +00:00
Generated on Fri Jan 6 2017 19:57:48 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 >