2016-05-24 23:43:16 +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" / >
2018-02-10 23:37:42 +00:00
< meta name = "generator" content = "Doxygen 1.8.13" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2017-09-20 02:35:05 +00:00
< title > Shaka Packager SDK: shaka::xml::RepresentationXmlNode Class Reference< / title >
2016-05-24 23:43:16 +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" / >
2018-02-10 23:37:42 +00:00
< script type = "text/javascript" src = "../../search/searchdata.js" > < / script >
2016-05-24 23:43:16 +00:00
< script type = "text/javascript" src = "../../search/search.js" > < / 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;" >
2018-02-10 23:37:42 +00:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2017-09-20 02:35:05 +00:00
< div id = "projectname" > Shaka Packager SDK
2016-05-24 23:43:16 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2018-02-10 23:37:42 +00:00
<!-- Generated by Doxygen 1.8.13 -->
2016-05-24 23:43:16 +00:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
< / script >
2018-02-10 23:37:42 +00:00
< script type = "text/javascript" src = "../../menudata.js" > < / script >
< script type = "text/javascript" src = "../../menu.js" > < / script >
< script type = "text/javascript" >
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
< / script >
< div id = "main-nav" > < / div >
2016-05-24 23:43:16 +00:00
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2018-02-10 23:37:42 +00:00
< / div >
2016-05-24 23:43:16 +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 >
< li class = "navelem" > < a class = "el" href = "../../d8/daf/namespaceshaka.html" > shaka< / a > < / li > < li class = "navelem" > < b > xml< / b > < / li > < li class = "navelem" > < a class = "el" href = "../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html" > RepresentationXmlNode< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "../../dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > shaka::xml::RepresentationXmlNode Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > RepresentationType in MPD.
< a href = "../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#details" > More...< / a > < / p >
< p > < code > #include < < a class = "el" href = "../../dd/de7/xml__node_8h_source.html" > xml_node.h< / a > > < / code > < / p >
< div class = "dynheader" >
Inheritance diagram for shaka::xml::RepresentationXmlNode:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.png" usemap = "#shaka::xml::RepresentationXmlNode_map" alt = "" / >
< map id = "shaka::xml::RepresentationXmlNode_map" name = "shaka::xml::RepresentationXmlNode_map" >
< area href = "../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html" alt = "shaka::xml::RepresentationBaseXmlNode" shape = "rect" coords = "0,56,238,80" / >
< area href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html" alt = "shaka::xml::XmlNode" shape = "rect" coords = "0,0,238,24" / >
< / 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 >
< tr class = "memitem:aeb5b425a0d9fe472e13e508ee431307a" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#aeb5b425a0d9fe472e13e508ee431307a" > AddVideoInfo< / a > (const MediaInfo::VideoInfo & video_info, bool set_width, bool set_height, bool set_frame_rate)< / td > < / tr >
< tr class = "separator:aeb5b425a0d9fe472e13e508ee431307a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a49050cf0e7883bfa6e8e2fb0174b2a7a" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#a49050cf0e7883bfa6e8e2fb0174b2a7a" > AddAudioInfo< / a > (const MediaInfo::AudioInfo & audio_info)< / td > < / tr >
< tr class = "separator:a49050cf0e7883bfa6e8e2fb0174b2a7a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a68a51ea870f2a24379a9b81cb97b6ac0" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#a68a51ea870f2a24379a9b81cb97b6ac0" > AddVODOnlyInfo< / a > (const MediaInfo & media_info)< / td > < / tr >
< tr class = "separator:a68a51ea870f2a24379a9b81cb97b6ac0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae9ff190e1a653a348b00b5edd9d6cc60" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#ae9ff190e1a653a348b00b5edd9d6cc60" > AddLiveOnlyInfo< / a > (const MediaInfo & media_info, const std::list< < a class = "el" href = "../../dc/de1/structshaka_1_1SegmentInfo.html" > SegmentInfo< / a > > & segment_infos, uint32_t start_number)< / td > < / tr >
< tr class = "separator:ae9ff190e1a653a348b00b5edd9d6cc60" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode')" > < img src = "../../closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html" > shaka::xml::RepresentationBaseXmlNode< / a > < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:ae5315d28398d004403b5da1ddd984a7f inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ae5315d28398d004403b5da1ddd984a7f" > < / a >
2016-05-24 23:43:16 +00:00
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > AddContentProtectionElements< / b > (const std::list< < a class = "el" href = "../../da/d43/structshaka_1_1ContentProtectionElement.html" > ContentProtectionElement< / a > > & content_protection_elements)< / td > < / tr >
< tr class = "separator:ae5315d28398d004403b5da1ddd984a7f inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-12-19 20:18:42 +00:00
< tr class = "memitem:a58965505799f01c99768823caeb66a6b inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html#a58965505799f01c99768823caeb66a6b" > AddSupplementalProperty< / a > (const std::string & scheme_id_uri, const std::string & value)< / td > < / tr >
< tr class = "separator:a58965505799f01c99768823caeb66a6b inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-05-15 16:24:34 +00:00
< tr class = "memitem:aebcc18275733668d46622a7ac9ceb2e8 inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html#aebcc18275733668d46622a7ac9ceb2e8" > AddEssentialProperty< / a > (const std::string & scheme_id_uri, const std::string & value)< / td > < / tr >
< tr class = "separator:aebcc18275733668d46622a7ac9ceb2e8 inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "inherit_header pub_methods_classshaka_1_1xml_1_1XmlNode" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_classshaka_1_1xml_1_1XmlNode')" > < img src = "../../closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html" > shaka::xml::XmlNode< / a > < / td > < / tr >
< tr class = "memitem:a52ffb838d25293eafbea9f05fb1c2d17 inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a52ffb838d25293eafbea9f05fb1c2d17" > XmlNode< / a > (const char *name)< / td > < / tr >
< tr class = "separator:a52ffb838d25293eafbea9f05fb1c2d17 inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5f8deed2a9bb707c40db24374b3b7fbd inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a5f8deed2a9bb707c40db24374b3b7fbd" > AddChild< / a > (scoped_xml_ptr< xmlNode > child)< / td > < / tr >
< tr class = "separator:a5f8deed2a9bb707c40db24374b3b7fbd inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a31d77d822a66991f48b67bfad3fa86d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a31d77d822a66991f48b67bfad3fa86d0" > < / a >
2016-05-24 23:43:16 +00:00
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a31d77d822a66991f48b67bfad3fa86d0" > AddElements< / a > (const std::vector< < a class = "el" href = "../../de/da9/structshaka_1_1Element.html" > Element< / a > > & elements)< / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memdesc:a31d77d822a66991f48b67bfad3fa86d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Adds Elements to this node using the < a class = "el" href = "../../de/da9/structshaka_1_1Element.html" > Element< / a > struct. < br / > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a31d77d822a66991f48b67bfad3fa86d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:afc83f9dbaedc8ba0fc9cc1153ac23329 inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#afc83f9dbaedc8ba0fc9cc1153ac23329" > SetStringAttribute< / a > (const char *attribute_name, const std::string & attribute)< / td > < / tr >
< tr class = "separator:afc83f9dbaedc8ba0fc9cc1153ac23329 inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab15dbcc1a051218dc16f44584276ad20 inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ab15dbcc1a051218dc16f44584276ad20" > SetIntegerAttribute< / a > (const char *attribute_name, uint64_t number)< / td > < / tr >
< tr class = "separator:ab15dbcc1a051218dc16f44584276ad20 inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac4b6c261b14ffe83e9820b76b16af1ba inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ac4b6c261b14ffe83e9820b76b16af1ba" > SetFloatingPointAttribute< / a > (const char *attribute_name, double number)< / td > < / tr >
< tr class = "separator:ac4b6c261b14ffe83e9820b76b16af1ba inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7479055041708fb681957a838e7ecc1f inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a7479055041708fb681957a838e7ecc1f" > SetId< / a > (uint32_t id)< / td > < / tr >
< tr class = "separator:a7479055041708fb681957a838e7ecc1f inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a73d758186470e7dbcb4f4339eb53458c inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a73d758186470e7dbcb4f4339eb53458c" > SetContent< / a > (const std::string & content)< / td > < / tr >
< tr class = "separator:a73d758186470e7dbcb4f4339eb53458c inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-12-20 22:38:40 +00:00
< tr class = "memitem:a8c41631d1fec1fe96550b5320fb3546f inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > std::set< std::string >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a8c41631d1fec1fe96550b5320fb3546f" > ExtractReferencedNamespaces< / a > ()< / td > < / tr >
< tr class = "separator:a8c41631d1fec1fe96550b5320fb3546f inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:a0be0a3e9b041978e118d994c1f13e8fb inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > scoped_xml_ptr< xmlNode >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a0be0a3e9b041978e118d994c1f13e8fb" > PassScopedPtr< / a > ()< / td > < / tr >
< tr class = "separator:a0be0a3e9b041978e118d994c1f13e8fb inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae5cb2c3000ccbd53c0a1867db0b8a2d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > xmlNodePtr  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ae5cb2c3000ccbd53c0a1867db0b8a2d0" > Release< / a > ()< / td > < / tr >
< tr class = "separator:ae5cb2c3000ccbd53c0a1867db0b8a2d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aac9765712087dcc47a0afef4bf7849ff inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > xmlNodePtr  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#aac9765712087dcc47a0afef4bf7849ff" > GetRawPtr< / a > ()< / td > < / tr >
< tr class = "separator:aac9765712087dcc47a0afef4bf7849ff inherit pub_methods_classshaka_1_1xml_1_1XmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "inherited" > < / a >
Additional Inherited Members< / h2 > < / td > < / tr >
< tr class = "inherit_header pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td colspan = "2" onclick = "javascript:toggleInherit('pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode')" > < img src = "../../closed.png" alt = "-" / >   Protected Member Functions inherited from < a class = "el" href = "../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html" > shaka::xml::RepresentationBaseXmlNode< / a > < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a1ebaeca213211f88206a946a5a201a5a inherit pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a1ebaeca213211f88206a946a5a201a5a" > < / a >
2016-05-24 23:43:16 +00:00
  < / td > < td class = "memItemRight" valign = "bottom" > < b > RepresentationBaseXmlNode< / b > (const char *name)< / td > < / tr >
< tr class = "separator:a1ebaeca213211f88206a946a5a201a5a inherit pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-01-22 00:59:16 +00:00
< tr class = "memitem:a1f671140007a25cfba494f553cc67ef6 inherit pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html#a1f671140007a25cfba494f553cc67ef6" > AddDescriptor< / a > (const std::string & descriptor_name, const std::string & scheme_id_uri, const std::string & value)< / td > < / tr >
< tr class = "separator:a1f671140007a25cfba494f553cc67ef6 inherit pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-05-24 23:43:16 +00:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > RepresentationType in MPD. < / p >
2020-01-22 00:59:16 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../dd/de7/xml__node_8h_source.html#l00156" > 156< / a > of file < a class = "el" href = "../../dd/de7/xml__node_8h_source.html" > xml_node.h< / a > .< / p >
2016-05-24 23:43:16 +00:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2018-02-10 23:37:42 +00:00
< a id = "a49050cf0e7883bfa6e8e2fb0174b2a7a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a49050cf0e7883bfa6e8e2fb0174b2a7a" > ◆ < / a > < / span > AddAudioInfo()< / h2 >
2016-05-24 23:43:16 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool shaka::xml::RepresentationXmlNode::AddAudioInfo < / td >
< td > (< / td >
< td class = "paramtype" > const MediaInfo::AudioInfo &   < / td >
< td class = "paramname" > < em > audio_info< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-02-10 23:37:42 +00:00
< p > Adds audio metadata to the MPD. < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
2016-05-24 23:43:16 +00:00
< table class = "params" >
< tr > < td class = "paramname" > audio_info< / td > < td > constains the AudioInfos for a < a class = "el" href = "../../de/d52/classshaka_1_1Representation.html" > Representation< / a > . < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > true if successfully set attributes and children elements (if applicable), false otherwise. < / dd > < / dl >
2020-01-22 00:59:16 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../df/d96/xml__node_8cc_source.html#l00346" > 346< / a > of file < a class = "el" href = "../../df/d96/xml__node_8cc_source.html" > xml_node.cc< / a > .< / p >
2016-05-24 23:43:16 +00:00
< / div >
< / div >
2018-02-10 23:37:42 +00:00
< a id = "ae9ff190e1a653a348b00b5edd9d6cc60" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ae9ff190e1a653a348b00b5edd9d6cc60" > ◆ < / a > < / span > AddLiveOnlyInfo()< / h2 >
2016-05-24 23:43:16 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool shaka::xml::RepresentationXmlNode::AddLiveOnlyInfo < / td >
< 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" > const std::list< < a class = "el" href = "../../dc/de1/structshaka_1_1SegmentInfo.html" > SegmentInfo< / a > > &   < / td >
< td class = "paramname" > < em > segment_infos< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > start_number< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > segment_infos< / td > < td > is a set of SegmentInfos. This method assumes that SegmentInfos are sorted by its start time. < / td > < / tr >
< / table >
< / dd >
< / dl >
2020-01-22 00:59:16 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../df/d96/xml__node_8cc_source.html#l00400" > 400< / a > of file < a class = "el" href = "../../df/d96/xml__node_8cc_source.html" > xml_node.cc< / a > .< / p >
2016-05-24 23:43:16 +00:00
< / div >
< / div >
2018-02-10 23:37:42 +00:00
< a id = "aeb5b425a0d9fe472e13e508ee431307a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aeb5b425a0d9fe472e13e508ee431307a" > ◆ < / a > < / span > AddVideoInfo()< / h2 >
2016-05-24 23:43:16 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool shaka::xml::RepresentationXmlNode::AddVideoInfo < / td >
< td > (< / td >
< td class = "paramtype" > const MediaInfo::VideoInfo &   < / td >
< td class = "paramname" > < em > video_info< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > < em > set_width< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > < em > set_height< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > < em > set_frame_rate< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-02-10 23:37:42 +00:00
< p > Adds video metadata to the MPD. < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
2016-05-24 23:43:16 +00:00
< table class = "params" >
< tr > < td class = "paramname" > video_info< / td > < td > constains the VideoInfo for a < a class = "el" href = "../../de/d52/classshaka_1_1Representation.html" > Representation< / a > . < / td > < / tr >
< tr > < td class = "paramname" > set_width< / td > < td > is a flag for setting the width attribute. < / td > < / tr >
< tr > < td class = "paramname" > set_height< / td > < td > is a flag for setting the height attribute. < / td > < / tr >
< tr > < td class = "paramname" > set_frame_rate< / td > < td > is a flag for setting the frameRate attribute. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > true if successfully set attributes and children elements (if applicable), false otherwise. < / dd > < / dl >
2020-01-22 00:59:16 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../df/d96/xml__node_8cc_source.html#l00309" > 309< / a > of file < a class = "el" href = "../../df/d96/xml__node_8cc_source.html" > xml_node.cc< / a > .< / p >
2016-05-24 23:43:16 +00:00
< / div >
< / div >
2018-02-10 23:37:42 +00:00
< a id = "a68a51ea870f2a24379a9b81cb97b6ac0" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a68a51ea870f2a24379a9b81cb97b6ac0" > ◆ < / a > < / span > AddVODOnlyInfo()< / h2 >
2016-05-24 23:43:16 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool shaka::xml::RepresentationXmlNode::AddVODOnlyInfo < / td >
< td > (< / td >
< td class = "paramtype" > const MediaInfo &   < / td >
< td class = "paramname" > < em > media_info< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-02-10 23:37:42 +00:00
< p > Adds fields that are specific to VOD. This ignores < em > media_info< / em > fields for Live. < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
2016-05-24 23:43:16 +00:00
< table class = "params" >
< tr > < td class = "paramname" > media_info< / td > < td > is a MediaInfo with VOD information. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > true on success, false otherwise. < / dd > < / dl >
2020-01-22 00:59:16 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../df/d96/xml__node_8cc_source.html#l00354" > 354< / a > of file < a class = "el" href = "../../df/d96/xml__node_8cc_source.html" > xml_node.cc< / a > .< / p >
2016-05-24 23:43:16 +00:00
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
2017-09-20 02:35:05 +00:00
< li > packager/mpd/base/xml/< a class = "el" href = "../../dd/de7/xml__node_8h_source.html" > xml_node.h< / a > < / li >
< li > packager/mpd/base/xml/< a class = "el" href = "../../df/d96/xml__node_8cc_source.html" > xml_node.cc< / a > < / li >
2016-05-24 23:43:16 +00:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2020-01-22 00:59:16 +00:00
Generated on Tue Jan 21 2020 16:58:54 for Shaka Packager SDK by   < a href = "http://www.doxygen.org/index.html" >
2016-05-24 23:43:16 +00:00
< img class = "footer" src = "../../doxygen.png" alt = "doxygen" / >
2018-02-10 23:37:42 +00:00
< / a > 1.8.13
2016-05-24 23:43:16 +00:00
< / small > < / address >
< / body >
< / html >