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::MpdBuilder 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 = "../../dc/da1/classshaka_1_1MpdBuilder.html" > MpdBuilder< / a > < / li > < / ul >
2015-10-16 00:33:37 +00:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-types" > Public Types< / a > |
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pub-static-methods" > Static Public Member Functions< / a > |
< a href = "#friends" > Friends< / a > |
2016-05-24 23:43:16 +00:00
< a href = "../../d2/d0f/classshaka_1_1MpdBuilder-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::MpdBuilder Class Reference< / div > < / div >
2015-10-16 00:33:37 +00:00
< / div > <!-- header -->
< div class = "contents" >
< p > This class generates DASH MPDs (Media Presentation Descriptions).
2016-05-24 23:43:16 +00:00
< a href = "../../dc/da1/classshaka_1_1MpdBuilder.html#details" > More...< / a > < / p >
2015-10-16 00:33:37 +00:00
< p > < code > #include < < a class = "el" href = "../../d6/da3/mpd__builder_8h_source.html" > mpd_builder.h< / a > > < / code > < / p >
< div class = "dynheader" >
2016-05-24 23:43:16 +00:00
Inheritance diagram for shaka::MpdBuilder:< / 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 = "../../dc/da1/classshaka_1_1MpdBuilder.png" usemap = "#shaka::MpdBuilder_map" alt = "" / >
< map id = "shaka::MpdBuilder_map" name = "shaka::MpdBuilder_map" >
< area href = "../../df/d60/classshaka_1_1MockMpdBuilder.html" alt = "shaka::MockMpdBuilder" shape = "rect" coords = "0,56,147,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-types" > < / a >
Public Types< / h2 > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:ad9688282a53de2c6c551376191e716c9" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > MpdType< / b > { < b > kStatic< / b > = 0,
2015-10-16 00:33:37 +00:00
< b > kDynamic< / b >
}< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:ad9688282a53de2c6c551376191e716c9" > < 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 = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:ad22c1e62affefcb33382c9480820c032" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html#ad22c1e62affefcb33382c9480820c032" > MpdBuilder< / a > (MpdType < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html#adf8a48afbb29f1f1c54e4daaebb81337" > type< / a > , const < a class = "el" href = "../../d1/df3/structshaka_1_1MpdOptions.html" > MpdOptions< / a > & mpd_options)< / td > < / tr >
< tr class = "separator:ad22c1e62affefcb33382c9480820c032" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab6fd968035d1cba5060fe23a107f8bdb" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html#ab6fd968035d1cba5060fe23a107f8bdb" > AddBaseUrl< / a > (const std::string & base_url)< / td > < / tr >
< tr class = "separator:ab6fd968035d1cba5060fe23a107f8bdb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad32d4f20e6325b20267a2e905e1ec243" > < td class = "memItemLeft" align = "right" valign = "top" > virtual < a class = "el" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > AdaptationSet< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html#ad32d4f20e6325b20267a2e905e1ec243" > AddAdaptationSet< / a > (const std::string & lang)< / td > < / tr >
< tr class = "separator:ad32d4f20e6325b20267a2e905e1ec243" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a35685a28f837c397e1f862d44b2205d9" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html#a35685a28f837c397e1f862d44b2205d9" > WriteMpdToFile< / a > (< a class = "el" href = "../../d3/d61/classshaka_1_1media_1_1File.html" > media::File< / a > *output_file)< / td > < / tr >
< tr class = "separator:a35685a28f837c397e1f862d44b2205d9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af7eae5cc11141eed2b5451d969e57db6" > < td class = "memItemLeft" align = "right" valign = "top" > virtual bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html#af7eae5cc11141eed2b5451d969e57db6" > ToString< / a > (std::string *output)< / td > < / tr >
< tr class = "separator:af7eae5cc11141eed2b5451d969e57db6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:adf8a48afbb29f1f1c54e4daaebb81337" > < td class = "memItemLeft" align = "right" valign = "top" > MpdType  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html#adf8a48afbb29f1f1c54e4daaebb81337" > type< / a > () const < / td > < / tr >
< tr class = "separator:adf8a48afbb29f1f1c54e4daaebb81337" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a723afe73b9d619a1178ae21e46fd7450" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a723afe73b9d619a1178ae21e46fd7450" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html#a723afe73b9d619a1178ae21e46fd7450" > InjectClockForTesting< / a > (scoped_ptr< base::Clock > clock)< / td > < / tr >
< tr class = "memdesc:a723afe73b9d619a1178ae21e46fd7450" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This is for testing. < br / > < / td > < / tr >
< tr class = "separator:a723afe73b9d619a1178ae21e46fd7450" > < 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 = "pub-static-methods" > < / a >
Static Public Member Functions< / h2 > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:a247a9c807274d4e707530f24e2d207f9" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html#a247a9c807274d4e707530f24e2d207f9" > MakePathsRelativeToMpd< / a > (const std::string & mpd_path, MediaInfo *media_info)< / td > < / tr >
< tr class = "separator:a247a9c807274d4e707530f24e2d207f9" > < 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:ab733e1a15ebcfbbce3efed7ca0bd8570" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ab733e1a15ebcfbbce3efed7ca0bd8570" > < / a >
class  < / td > < td class = "memItemRight" valign = "bottom" > < b > DynamicMpdBuilderTest< / b > < / td > < / tr >
< tr class = "separator:ab733e1a15ebcfbbce3efed7ca0bd8570" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > This class generates DASH MPDs (Media Presentation Descriptions). < / p >
2016-01-15 06:43:46 +00:00
< p > Definition at line < a class = "el" href = "../../d6/da3/mpd__builder_8h_source.html#l00058" > 58< / a > of file < a class = "el" href = "../../d6/da3/mpd__builder_8h_source.html" > mpd_builder.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 = "ad22c1e62affefcb33382c9480820c032" > < / 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" > shaka::MpdBuilder::MpdBuilder < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > MpdType  < / td >
< td class = "paramname" > < em > type< / 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 = "../../d1/df3/structshaka_1_1MpdOptions.html" > MpdOptions< / a > &   < / td >
2015-10-16 00:33:37 +00:00
< td class = "paramname" > < em > mpd_options< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-05-24 23:43:16 +00:00
< p > Constructs < a class = "el" href = "../../dc/da1/classshaka_1_1MpdBuilder.html" title = "This class generates DASH MPDs (Media Presentation Descriptions). " > MpdBuilder< / a > . < / p >
2015-10-16 00:33:37 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > type< / td > < td > indicates whether the MPD should be for VOD or live content (kStatic for VOD profile, or kDynamic for live profile). < / td > < / tr >
< / table >
< / dd >
< / dl >
2016-01-15 06:43:46 +00:00
< p > Definition at line < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html#l00401" > 401< / a > of file < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html" > mpd_builder.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 = "ad32d4f20e6325b20267a2e905e1ec243" > < / 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" > < a class = "el" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > AdaptationSet< / a > * shaka::MpdBuilder::AddAdaptationSet < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > lang< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Adds < AdaptationSet> 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" > lang< / td > < td > is the language of the < a class = "el" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > AdaptationSet< / a > . This can be empty for videos, for example. < / td > < / tr >
2015-10-16 00:33:37 +00:00
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > The new adaptation set, which is owned by this instance. < / dd > < / dl >
2016-01-15 06:43:46 +00:00
< p > Definition at line < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html#l00413" > 413< / a > of file < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html" > mpd_builder.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 = "ab6fd968035d1cba5060fe23a107f8bdb" > < / 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::MpdBuilder::AddBaseUrl < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > base_url< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Add < BaseURL> entry to the MPD. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base_url< / td > < td > URL for < BaseURL> entry. < / td > < / tr >
< / table >
< / dd >
< / dl >
2016-01-15 06:43:46 +00:00
< p > Definition at line < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html#l00409" > 409< / a > of file < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html" > mpd_builder.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 = "a247a9c807274d4e707530f24e2d207f9" > < / 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::MpdBuilder::MakePathsRelativeToMpd < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > mpd_path< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > MediaInfo *  < / td >
< td class = "paramname" > < em > media_info< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Adjusts the fields of MediaInfo so that paths are relative to the specified MPD path. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > mpd_path< / td > < td > is the file path of the MPD file. < / td > < / tr >
< tr > < td class = "paramname" > media_info< / td > < td > is the MediaInfo object to be updated with relative paths. < / td > < / tr >
< / table >
< / dd >
< / dl >
2016-01-15 06:43:46 +00:00
< p > Definition at line < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html#l00641" > 641< / a > of file < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html" > mpd_builder.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 = "af7eae5cc11141eed2b5451d969e57db6" > < / 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::MpdBuilder::ToString < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramtype" > std::string *  < / td >
< td class = "paramname" > < em > output< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Writes the MPD to the given string. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > output< / td > < td > is an output string where the MPD gets written. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > true on success, false otherwise. < / dd > < / dl >
2016-01-15 06:43:46 +00:00
< p > Definition at line < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html#l00428" > 428< / a > of file < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html" > mpd_builder.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 = "adf8a48afbb29f1f1c54e4daaebb81337" > < / 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" > MpdType shaka::MpdBuilder::type < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / 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 > The mpd type. < / dd > < / dl >
2016-01-15 06:43:46 +00:00
< p > Definition at line < a class = "el" href = "../../d6/da3/mpd__builder_8h_source.html#l00093" > 93< / a > of file < a class = "el" href = "../../d6/da3/mpd__builder_8h_source.html" > mpd_builder.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 = "a35685a28f837c397e1f862d44b2205d9" > < / 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" > bool shaka::MpdBuilder::WriteMpdToFile < / 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 = "../../d3/d61/classshaka_1_1media_1_1File.html" > media::File< / a > *  < / td >
2015-10-16 00:33:37 +00:00
< td class = "paramname" > < em > output_file< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Write the MPD to specified file. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > output_file< / td > < td > is MPD destination. output_file will be flushed but not closed. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > true on success, false otherwise. < / dd > < / dl >
2016-01-15 06:43:46 +00:00
< p > Definition at line < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html#l00423" > 423< / a > of file < a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html" > mpd_builder.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/da3/mpd__builder_8h_source.html" > mpd_builder.h< / a > < / li >
< li > mpd/base/< a class = "el" href = "../../dd/d11/mpd__builder_8cc_source.html" > mpd_builder.cc< / a > < / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2016-06-08 00:58:09 +00:00
Generated on Wed Jun 8 2016 00:58:02 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 >