338 lines
27 KiB
HTML
338 lines
27 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Shaka Packager SDK: shaka::xml::RepresentationXmlNode Class Reference</title>
|
|
<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/searchdata.js"></script>
|
|
<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;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Shaka Packager SDK
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="../../menudata.js"></script>
|
|
<script type="text/javascript" src="../../menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('../../',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- 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:a11457f5b89522919b61d83cc0bbd51dc"><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#a11457f5b89522919b61d83cc0bbd51dc">AddVideoInfo</a> (const MediaInfo::VideoInfo &video_info, bool set_width, bool set_height, bool set_frame_rate) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:a11457f5b89522919b61d83cc0bbd51dc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af22f2360db2e18d4ebee8034e01d58d8"><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#af22f2360db2e18d4ebee8034e01d58d8">AddAudioInfo</a> (const MediaInfo::AudioInfo &audio_info) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:af22f2360db2e18d4ebee8034e01d58d8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aed9603fb7d1ca1b283060e2a39590be9"><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#aed9603fb7d1ca1b283060e2a39590be9">AddVODOnlyInfo</a> (const MediaInfo &media_info, bool use_segment_list, double target_segment_duration) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:aed9603fb7d1ca1b283060e2a39590be9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac9a4d8ed5a9710408904ca0f7c13b66e"><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#ac9a4d8ed5a9710408904ca0f7c13b66e">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) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:ac9a4d8ed5a9710408904ca0f7c13b66e"><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>
|
|
<tr class="memitem:a2c33f9ebc2f00c041da6da30ecd8317f inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memItemLeft" align="right" valign="top"><a id="a2c33f9ebc2f00c041da6da30ecd8317f"></a>
|
|
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) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:a2c33f9ebc2f00c041da6da30ecd8317f inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a32a01b59d1b8e49488d49cff2662e3be inherit pub_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#a32a01b59d1b8e49488d49cff2662e3be">AddSupplementalProperty</a> (const std::string &scheme_id_uri, const std::string &value) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:a32a01b59d1b8e49488d49cff2662e3be inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8e75f087fb8bc82ad4c0f1f20c8c4be2 inherit pub_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#a8e75f087fb8bc82ad4c0f1f20c8c4be2">AddEssentialProperty</a> (const std::string &scheme_id_uri, const std::string &value) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:a8e75f087fb8bc82ad4c0f1f20c8c4be2 inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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:a99c8998d8f53f0d37c3c22aec0d693eb 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#a99c8998d8f53f0d37c3c22aec0d693eb">XmlNode</a> (const std::string &name)</td></tr>
|
|
<tr class="separator:a99c8998d8f53f0d37c3c22aec0d693eb inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a508594f17e1f41462342e46f14673d inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top"><a id="a8a508594f17e1f41462342e46f14673d"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>XmlNode</b> (<a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html">XmlNode</a> &&)</td></tr>
|
|
<tr class="separator:a8a508594f17e1f41462342e46f14673d inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a22d3e27f5ae461853247a3414758e316 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top"><a id="a22d3e27f5ae461853247a3414758e316"></a>
|
|
<a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html">XmlNode</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html">XmlNode</a> &&)</td></tr>
|
|
<tr class="separator:a22d3e27f5ae461853247a3414758e316 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a224400ce2dd8168ef7d8d4f47998600c 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#a224400ce2dd8168ef7d8d4f47998600c">AddChild</a> (<a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html">XmlNode</a> child) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:a224400ce2dd8168ef7d8d4f47998600c inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adb764dde412a8ac6137fef1500767553 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top"><a id="adb764dde412a8ac6137fef1500767553"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#adb764dde412a8ac6137fef1500767553">AddElements</a> (const std::vector< <a class="el" href="../../de/da9/structshaka_1_1Element.html">Element</a> > &elements) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="memdesc:adb764dde412a8ac6137fef1500767553 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>
|
|
<tr class="separator:adb764dde412a8ac6137fef1500767553 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa30909ee27d10b448c6706ceba01ace7 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#aa30909ee27d10b448c6706ceba01ace7">SetStringAttribute</a> (const std::string &attribute_name, const std::string &attribute) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:aa30909ee27d10b448c6706ceba01ace7 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8d216627fb556f526df48a61a921a115 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#a8d216627fb556f526df48a61a921a115">SetIntegerAttribute</a> (const std::string &attribute_name, uint64_t number) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:a8d216627fb556f526df48a61a921a115 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a882ff956a58d2a43d763692ce830d286 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#a882ff956a58d2a43d763692ce830d286">SetFloatingPointAttribute</a> (const std::string &attribute_name, double number) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:a882ff956a58d2a43d763692ce830d286 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad9f818024466c4dcce3026a9e7f439a3 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#ad9f818024466c4dcce3026a9e7f439a3">SetId</a> (uint32_t id) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:ad9f818024466c4dcce3026a9e7f439a3 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a54ce31ffe673463dfa6133bb2868a846 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top"><a id="a54ce31ffe673463dfa6133bb2868a846"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a54ce31ffe673463dfa6133bb2868a846">AddContent</a> (const std::string &content)</td></tr>
|
|
<tr class="memdesc:a54ce31ffe673463dfa6133bb2868a846 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="mdescLeft"> </td><td class="mdescRight">Similar to SetContent, but appends to the end of existing content. <br /></td></tr>
|
|
<tr class="separator:a54ce31ffe673463dfa6133bb2868a846 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>
|
|
<tr class="memitem:a386a3bf89fe34f30d856c8fd0f36cba3 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#a386a3bf89fe34f30d856c8fd0f36cba3">ExtractReferencedNamespaces</a> () const</td></tr>
|
|
<tr class="separator:a386a3bf89fe34f30d856c8fd0f36cba3 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aef2471579573cb910d2f3d32d6e0afe0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#aef2471579573cb910d2f3d32d6e0afe0">ToString</a> (const std::string &comment) const</td></tr>
|
|
<tr class="separator:aef2471579573cb910d2f3d32d6e0afe0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab3bcc7c628fb40f44205a9b2cc732097 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#ab3bcc7c628fb40f44205a9b2cc732097">GetAttribute</a> (const std::string &name, std::string *value) const</td></tr>
|
|
<tr class="separator:ab3bcc7c628fb40f44205a9b2cc732097 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>
|
|
<tr class="memitem:a63c9a1ce1086728d705a812160d22d26 inherit pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memItemLeft" align="right" valign="top"><a id="a63c9a1ce1086728d705a812160d22d26"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>RepresentationBaseXmlNode</b> (const std::string &name)</td></tr>
|
|
<tr class="separator:a63c9a1ce1086728d705a812160d22d26 inherit pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a192e88ff8d78a8efe3557b64d867ee71 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#a192e88ff8d78a8efe3557b64d867ee71">AddDescriptor</a> (const std::string &descriptor_name, const std::string &scheme_id_uri, const std::string &value) WARN_UNUSED_RESULT</td></tr>
|
|
<tr class="separator:a192e88ff8d78a8efe3557b64d867ee71 inherit pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>RepresentationType in MPD. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../dd/de7/xml__node_8h_source.html#l00182">182</a> of file <a class="el" href="../../dd/de7/xml__node_8h_source.html">xml_node.h</a>.</p>
|
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="af22f2360db2e18d4ebee8034e01d58d8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af22f2360db2e18d4ebee8034e01d58d8">◆ </a></span>AddAudioInfo()</h2>
|
|
|
|
<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">
|
|
<p>Adds audio metadata to the MPD. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<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>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00375">375</a> of file <a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac9a4d8ed5a9710408904ca0f7c13b66e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac9a4d8ed5a9710408904ca0f7c13b66e">◆ </a></span>AddLiveOnlyInfo()</h2>
|
|
|
|
<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>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00460">460</a> of file <a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a11457f5b89522919b61d83cc0bbd51dc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a11457f5b89522919b61d83cc0bbd51dc">◆ </a></span>AddVideoInfo()</h2>
|
|
|
|
<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">
|
|
<p>Adds video metadata to the MPD. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<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>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00338">338</a> of file <a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aed9603fb7d1ca1b283060e2a39590be9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aed9603fb7d1ca1b283060e2a39590be9">◆ </a></span>AddVODOnlyInfo()</h2>
|
|
|
|
<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>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>use_segment_list</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>target_segment_duration</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
<table class="params">
|
|
<tr><td class="paramname">media_info</td><td>is a MediaInfo with VOD information. </td></tr>
|
|
<tr><td class="paramname">use_segment_list</td><td>is a param that instructs the xml writer to use SegmentList instead of SegmentBase. </td></tr>
|
|
<tr><td class="paramname">target_segment_duration</td><td>is a param that specifies the target</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00380">380</a> of file <a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<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>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Tue Jun 22 2021 00:16:07 for Shaka Packager SDK by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|