shaka-packager/docs/db/dab/classshaka_1_1media_1_1Text...

375 lines
28 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::media::TextStreamInfo 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&amp;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&amp;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>media</b></li><li class="navelem"><a class="el" href="../../db/dab/classshaka_1_1media_1_1TextStreamInfo.html">TextStreamInfo</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d2/de7/classshaka_1_1media_1_1TextStreamInfo-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::media::TextStreamInfo Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for shaka::media::TextStreamInfo:</div>
<div class="dyncontent">
<div class="center">
<img src="../../db/dab/classshaka_1_1media_1_1TextStreamInfo.png" usemap="#shaka::media::TextStreamInfo_map" alt=""/>
<map id="shaka::media::TextStreamInfo_map" name="shaka::media::TextStreamInfo_map">
<area href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" title="Abstract class holds stream information." alt="shaka::media::StreamInfo" shape="rect" coords="0,0,173,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:a3e759066195689154ef2a8cf2825ea4b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dab/classshaka_1_1media_1_1TextStreamInfo.html#a3e759066195689154ef2a8cf2825ea4b">TextStreamInfo</a> (int track_id, uint32_t time_scale, uint64_t duration, Codec codec, const std::string &amp;codec_string, const std::string &amp;codec_config, uint16_t width, uint16_t height, const std::string &amp;language)</td></tr>
<tr class="separator:a3e759066195689154ef2a8cf2825ea4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab40aed17c046e639efde04a2075e25a8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dab/classshaka_1_1media_1_1TextStreamInfo.html#ab40aed17c046e639efde04a2075e25a8">IsValidConfig</a> () const override</td></tr>
<tr class="separator:ab40aed17c046e639efde04a2075e25a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66a548f3c813e07a1d87b0e9b389efc0"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dab/classshaka_1_1media_1_1TextStreamInfo.html#a66a548f3c813e07a1d87b0e9b389efc0">ToString</a> () const override</td></tr>
<tr class="separator:a66a548f3c813e07a1d87b0e9b389efc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8cfad62fa0186a4f82a8dc43ee1c96d"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dab/classshaka_1_1media_1_1TextStreamInfo.html#aa8cfad62fa0186a4f82a8dc43ee1c96d">Clone</a> () const override</td></tr>
<tr class="separator:aa8cfad62fa0186a4f82a8dc43ee1c96d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99b757ade56445b29c2e185dc40be3ec"><td class="memItemLeft" align="right" valign="top"><a id="a99b757ade56445b29c2e185dc40be3ec"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><b>width</b> () const</td></tr>
<tr class="separator:a99b757ade56445b29c2e185dc40be3ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97397d7a4712900df4191a13436e3798"><td class="memItemLeft" align="right" valign="top"><a id="a97397d7a4712900df4191a13436e3798"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><b>height</b> () const</td></tr>
<tr class="separator:a97397d7a4712900df4191a13436e3798"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e806c584ad37fb1568164f8bd998685"><td class="memItemLeft" align="right" valign="top"><a id="a0e806c584ad37fb1568164f8bd998685"></a>
const std::map&lt; std::string, <a class="el" href="../../d4/d60/structshaka_1_1media_1_1TextRegion.html">TextRegion</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>regions</b> () const</td></tr>
<tr class="separator:a0e806c584ad37fb1568164f8bd998685"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a677737b25e69935ea7a81cc9ba869a90"><td class="memItemLeft" align="right" valign="top"><a id="a677737b25e69935ea7a81cc9ba869a90"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>AddRegion</b> (const std::string &amp;id, const <a class="el" href="../../d4/d60/structshaka_1_1media_1_1TextRegion.html">TextRegion</a> &amp;region)</td></tr>
<tr class="separator:a677737b25e69935ea7a81cc9ba869a90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e18405db5c15fd02f7f488339c79e84"><td class="memItemLeft" align="right" valign="top"><a id="a7e18405db5c15fd02f7f488339c79e84"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>css_styles</b> () const</td></tr>
<tr class="separator:a7e18405db5c15fd02f7f488339c79e84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3552e64abf24b5b8cd01b9a386bd942"><td class="memItemLeft" align="right" valign="top"><a id="ac3552e64abf24b5b8cd01b9a386bd942"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_css_styles</b> (const std::string &amp;styles)</td></tr>
<tr class="separator:ac3552e64abf24b5b8cd01b9a386bd942"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af21e7fd6ab97b5b003d6458a13ab1f8c"><td class="memItemLeft" align="right" valign="top"><a id="af21e7fd6ab97b5b003d6458a13ab1f8c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>AddSubStream</b> (uint16_t index, <a class="el" href="../../dd/ddb/structshaka_1_1media_1_1TextSubStreamInfo.html">TextSubStreamInfo</a> info)</td></tr>
<tr class="separator:af21e7fd6ab97b5b003d6458a13ab1f8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af742a9e8a8a177d7b0354b0799ac9daa"><td class="memItemLeft" align="right" valign="top"><a id="af742a9e8a8a177d7b0354b0799ac9daa"></a>
const std::map&lt; uint16_t, <a class="el" href="../../dd/ddb/structshaka_1_1media_1_1TextSubStreamInfo.html">TextSubStreamInfo</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>sub_streams</b> () const</td></tr>
<tr class="separator:af742a9e8a8a177d7b0354b0799ac9daa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshaka_1_1media_1_1StreamInfo"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1media_1_1StreamInfo')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">shaka::media::StreamInfo</a></td></tr>
<tr class="memitem:a4dd520edf7452a27afccd578a53c246f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a4dd520edf7452a27afccd578a53c246f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>StreamInfo</b> (StreamType stream_type, int track_id, uint32_t time_scale, uint64_t duration, Codec codec, const std::string &amp;codec_string, const uint8_t *codec_config, size_t codec_config_size, const std::string &amp;language, bool is_encrypted)</td></tr>
<tr class="separator:a4dd520edf7452a27afccd578a53c246f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9835c6ef38897c5d44b510c65548ce05 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a9835c6ef38897c5d44b510c65548ce05"></a>
StreamType&#160;</td><td class="memItemRight" valign="bottom"><b>stream_type</b> () const</td></tr>
<tr class="separator:a9835c6ef38897c5d44b510c65548ce05 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7816dc6944476f469b9fc754b942d9c1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a7816dc6944476f469b9fc754b942d9c1"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>track_id</b> () const</td></tr>
<tr class="separator:a7816dc6944476f469b9fc754b942d9c1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae85f78a0c703e022d11c00b7b72d6a07 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="ae85f78a0c703e022d11c00b7b72d6a07"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>time_scale</b> () const</td></tr>
<tr class="separator:ae85f78a0c703e022d11c00b7b72d6a07 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad104a3ded73699b2603186e82d0f6a58 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="ad104a3ded73699b2603186e82d0f6a58"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>duration</b> () const</td></tr>
<tr class="separator:ad104a3ded73699b2603186e82d0f6a58 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e59776f40d93a3fbf5d68a090243a9f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a0e59776f40d93a3fbf5d68a090243a9f"></a>
Codec&#160;</td><td class="memItemRight" valign="bottom"><b>codec</b> () const</td></tr>
<tr class="separator:a0e59776f40d93a3fbf5d68a090243a9f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af969cb3d31979d3468b84d1a0ba5e2f6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="af969cb3d31979d3468b84d1a0ba5e2f6"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>codec_string</b> () const</td></tr>
<tr class="separator:af969cb3d31979d3468b84d1a0ba5e2f6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a493a98b67db7efa91df80e08466d850e inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a493a98b67db7efa91df80e08466d850e"></a>
const std::vector&lt; uint8_t &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>codec_config</b> () const</td></tr>
<tr class="separator:a493a98b67db7efa91df80e08466d850e inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6e17af7698c28d9d3f8cba398d9c3c4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="ac6e17af7698c28d9d3f8cba398d9c3c4"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>language</b> () const</td></tr>
<tr class="separator:ac6e17af7698c28d9d3f8cba398d9c3c4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77602180c6ea6cd20deeb2947a184fb1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a77602180c6ea6cd20deeb2947a184fb1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_encrypted</b> () const</td></tr>
<tr class="separator:a77602180c6ea6cd20deeb2947a184fb1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af80fd9e3f318adb43dc11e08a8498dff inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="af80fd9e3f318adb43dc11e08a8498dff"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>has_clear_lead</b> () const</td></tr>
<tr class="separator:af80fd9e3f318adb43dc11e08a8498dff inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc3e97f59b7f8006f1513a8c56c51395 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="afc3e97f59b7f8006f1513a8c56c51395"></a>
const <a class="el" href="../../d7/d34/structshaka_1_1media_1_1EncryptionConfig.html">EncryptionConfig</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>encryption_config</b> () const</td></tr>
<tr class="separator:afc3e97f59b7f8006f1513a8c56c51395 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7848cffb0b01bb4ff8f998a5eb732f4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="ad7848cffb0b01bb4ff8f998a5eb732f4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_duration</b> (uint64_t duration)</td></tr>
<tr class="separator:ad7848cffb0b01bb4ff8f998a5eb732f4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0744a0e813c8ad8c5df649a130794fb6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a0744a0e813c8ad8c5df649a130794fb6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_codec</b> (Codec codec)</td></tr>
<tr class="separator:a0744a0e813c8ad8c5df649a130794fb6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa54bb3e89db461517aec46d994bf972f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="aa54bb3e89db461517aec46d994bf972f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_codec_config</b> (const std::vector&lt; uint8_t &gt; &amp;data)</td></tr>
<tr class="separator:aa54bb3e89db461517aec46d994bf972f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a253c9f1d0cd2d58cd041a2b5fcd2eb93 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a253c9f1d0cd2d58cd041a2b5fcd2eb93"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_codec_string</b> (const std::string &amp;codec_string)</td></tr>
<tr class="separator:a253c9f1d0cd2d58cd041a2b5fcd2eb93 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa939a8328421d629d778f8b149146911 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="aa939a8328421d629d778f8b149146911"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_language</b> (const std::string &amp;language)</td></tr>
<tr class="separator:aa939a8328421d629d778f8b149146911 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b43537963de8997b570932f84ba08d0 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a6b43537963de8997b570932f84ba08d0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_is_encrypted</b> (bool is_encrypted)</td></tr>
<tr class="separator:a6b43537963de8997b570932f84ba08d0 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1642886c381844d411740414dfde36c inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="ac1642886c381844d411740414dfde36c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_has_clear_lead</b> (bool has_clear_lead)</td></tr>
<tr class="separator:ac1642886c381844d411740414dfde36c inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e302302c13350278e4dda8c4964e483 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a0e302302c13350278e4dda8c4964e483"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_encryption_config</b> (const <a class="el" href="../../d7/d34/structshaka_1_1media_1_1EncryptionConfig.html">EncryptionConfig</a> &amp;encryption_config)</td></tr>
<tr class="separator:a0e302302c13350278e4dda8c4964e483 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="../../da/d2a/text__stream__info_8h_source.html#l00049">49</a> of file <a class="el" href="../../da/d2a/text__stream__info_8h_source.html">text_stream_info.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3e759066195689154ef2a8cf2825ea4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e759066195689154ef2a8cf2825ea4b">&#9670;&nbsp;</a></span>TextStreamInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">shaka::media::TextStreamInfo::TextStreamInfo </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>track_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>time_scale</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint64_t&#160;</td>
<td class="paramname"><em>duration</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Codec&#160;</td>
<td class="paramname"><em>codec</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>codec_string</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>codec_config</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>language</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>No encryption supported. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">track_id</td><td>is the track ID of this stream. </td></tr>
<tr><td class="paramname">time_scale</td><td>is the time scale of this stream. </td></tr>
<tr><td class="paramname">duration</td><td>is the duration of this stream. </td></tr>
<tr><td class="paramname">codec</td><td>is the media codec. </td></tr>
<tr><td class="paramname">codec_string</td><td>is the codec in string format. </td></tr>
<tr><td class="paramname">codec_config</td><td>is configuration for this text stream. This could be the metadata that applies to all the samples of this stream. This may be empty. </td></tr>
<tr><td class="paramname">width</td><td>of the text. This may be 0. </td></tr>
<tr><td class="paramname">height</td><td>of the text. This may be 0. </td></tr>
<tr><td class="paramname">language</td><td>is the language of this stream. This may be empty. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="../../d6/d16/text__stream__info_8cc_source.html#l00014">14</a> of file <a class="el" href="../../d6/d16/text__stream__info_8cc_source.html">text_stream_info.cc</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa8cfad62fa0186a4f82a8dc43ee1c96d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8cfad62fa0186a4f82a8dc43ee1c96d">&#9670;&nbsp;</a></span>Clone()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::unique_ptr&lt; <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt; shaka::media::TextStreamInfo::Clone </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>A new copy of this stream info. The copy will be of the same type as the original. This should be used when a copy is needed without explicitly knowing the stream info type. </dd></dl>
<p>Implements <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#afdd9b2df8ae1c11bb033c44eaba5e38d">shaka::media::StreamInfo</a>.</p>
<p class="definition">Definition at line <a class="el" href="../../d6/d16/text__stream__info_8cc_source.html#l00045">45</a> of file <a class="el" href="../../d6/d16/text__stream__info_8cc_source.html">text_stream_info.cc</a>.</p>
</div>
</div>
<a id="ab40aed17c046e639efde04a2075e25a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab40aed17c046e639efde04a2075e25a8">&#9670;&nbsp;</a></span>IsValidConfig()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool shaka::media::TextStreamInfo::IsValidConfig </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true if this object has appropriate configuration values, false otherwise. </dd></dl>
<p>Implements <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#a6e5c5ade77b7bcf0b7822de568695dc8">shaka::media::StreamInfo</a>.</p>
<p class="definition">Definition at line <a class="el" href="../../d6/d16/text__stream__info_8cc_source.html#l00029">29</a> of file <a class="el" href="../../d6/d16/text__stream__info_8cc_source.html">text_stream_info.cc</a>.</p>
</div>
</div>
<a id="a66a548f3c813e07a1d87b0e9b389efc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66a548f3c813e07a1d87b0e9b389efc0">&#9670;&nbsp;</a></span>ToString()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string shaka::media::TextStreamInfo::ToString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>A human-readable string describing the stream info. </dd></dl>
<p>Reimplemented from <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#ab3628e7fdcfccd0dc530df4b0f6e83b8">shaka::media::StreamInfo</a>.</p>
<p class="definition">Definition at line <a class="el" href="../../d6/d16/text__stream__info_8cc_source.html#l00033">33</a> of file <a class="el" href="../../d6/d16/text__stream__info_8cc_source.html">text_stream_info.cc</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>packager/media/base/<a class="el" href="../../da/d2a/text__stream__info_8h_source.html">text_stream_info.h</a></li>
<li>packager/media/base/<a class="el" href="../../d6/d16/text__stream__info_8cc_source.html">text_stream_info.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 22 2021 00:16:06 for Shaka Packager SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>