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::media::StreamInfo 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" > < b > media< / b > < / li > < li class = "navelem" > < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > < / li > < / ul >
2015-10-16 00:33:37 +00:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#friends" > Friends< / a > |
2016-05-24 23:43:16 +00:00
< a href = "../../dc/d06/classshaka_1_1media_1_1StreamInfo-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::media::StreamInfo Class Reference< span class = "mlabels" > < span class = "mlabel" > abstract< / span > < / span > < / div > < / div >
2015-10-16 00:33:37 +00:00
< / div > <!-- header -->
< div class = "contents" >
< p > Abstract class holds stream information.
2016-05-24 23:43:16 +00:00
< a href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#details" > More...< / a > < / p >
2015-10-16 00:33:37 +00:00
< p > < code > #include < < a class = "el" href = "../../d8/daa/stream__info_8h_source.html" > stream_info.h< / a > > < / code > < / p >
< div class = "dynheader" >
2016-05-24 23:43:16 +00:00
Inheritance diagram for shaka::media::StreamInfo:< / 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 = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.png" usemap = "#shaka::media::StreamInfo_map" alt = "" / >
< map id = "shaka::media::StreamInfo_map" name = "shaka::media::StreamInfo_map" >
< area href = "../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html" title = "Holds audio stream information. " alt = "shaka::media::AudioStreamInfo" shape = "rect" coords = "0,112,261,136" / >
< area href = "../../db/dab/classshaka_1_1media_1_1TextStreamInfo.html" alt = "shaka::media::TextStreamInfo" shape = "rect" coords = "271,112,532,136" / >
< area href = "../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html" title = "Holds video stream information. " alt = "shaka::media::VideoStreamInfo" shape = "rect" coords = "542,112,803,136" / >
2015-10-16 00:33:37 +00:00
< / map >
< / div > < / div >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
2016-06-27 23:03:28 +00:00
< tr class = "memitem:a2b591b3066ff8c130db7d298a1588669" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a2b591b3066ff8c130db7d298a1588669" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < b > StreamInfo< / b > (StreamType stream_type, int track_id, uint32_t time_scale, uint64_t duration, const std::string & codec_string, const std::string & language, const uint8_t *codec_config, size_t codec_config_size, bool is_encrypted)< / td > < / tr >
< tr class = "separator:a2b591b3066ff8c130db7d298a1588669" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:a6e5c5ade77b7bcf0b7822de568695dc8" > < td class = "memItemLeft" align = "right" valign = "top" > virtual bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#a6e5c5ade77b7bcf0b7822de568695dc8" > IsValidConfig< / a > () const =0< / td > < / tr >
< tr class = "separator:a6e5c5ade77b7bcf0b7822de568695dc8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa11d2fe5509ebfdc038aa3f2cdbbe00d" > < td class = "memItemLeft" align = "right" valign = "top" > virtual std::string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#aa11d2fe5509ebfdc038aa3f2cdbbe00d" > ToString< / a > () const < / td > < / tr >
< tr class = "separator:aa11d2fe5509ebfdc038aa3f2cdbbe00d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a28665578e17162b3d3cd9ef44ed05ef3" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a28665578e17162b3d3cd9ef44ed05ef3" > < / a >
2015-10-16 00:33:37 +00:00
StreamType  < / td > < td class = "memItemRight" valign = "bottom" > < b > stream_type< / b > () const < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a28665578e17162b3d3cd9ef44ed05ef3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a63546b6cfc21d363662d6f18fb8b5b0c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a63546b6cfc21d363662d6f18fb8b5b0c" > < / a >
2015-10-16 00:33:37 +00:00
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > track_id< / b > () const < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a63546b6cfc21d363662d6f18fb8b5b0c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a62b43e5c92f00a4a77fea10b8e1cf56d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a62b43e5c92f00a4a77fea10b8e1cf56d" > < / a >
2015-10-16 00:33:37 +00:00
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > time_scale< / b > () const < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a62b43e5c92f00a4a77fea10b8e1cf56d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aba86f24d96ed36a78d1d08deb61b5e2a" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aba86f24d96ed36a78d1d08deb61b5e2a" > < / a >
2015-10-16 00:33:37 +00:00
uint64_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > duration< / b > () const < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:aba86f24d96ed36a78d1d08deb61b5e2a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2f27c7e372ece6d4014153fcb51f59c7" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a2f27c7e372ece6d4014153fcb51f59c7" > < / a >
2015-10-16 00:33:37 +00:00
const std::string &   < / td > < td class = "memItemRight" valign = "bottom" > < b > codec_string< / b > () const < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a2f27c7e372ece6d4014153fcb51f59c7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0ae0ea39ecc8d911b2f5d38a8ae2261f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a0ae0ea39ecc8d911b2f5d38a8ae2261f" > < / a >
2015-10-16 00:33:37 +00:00
const std::string &   < / td > < td class = "memItemRight" valign = "bottom" > < b > language< / b > () const < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a0ae0ea39ecc8d911b2f5d38a8ae2261f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a95aa5740795c72c1e41afc54a4e3dcc8" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a95aa5740795c72c1e41afc54a4e3dcc8" > < / a >
2015-10-16 00:33:37 +00:00
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > is_encrypted< / b > () const < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a95aa5740795c72c1e41afc54a4e3dcc8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-06-27 23:03:28 +00:00
< tr class = "memitem:a50772fb5c00a449a084b29b70dcf5135" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a50772fb5c00a449a084b29b70dcf5135" > < / a >
const std::vector< uint8_t > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > codec_config< / b > () const < / td > < / tr >
< tr class = "separator:a50772fb5c00a449a084b29b70dcf5135" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:ad3b5158ebe44f59b8e43b02ce71df46a" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ad3b5158ebe44f59b8e43b02ce71df46a" > < / a >
2015-10-16 00:33:37 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_duration< / b > (int duration)< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:ad3b5158ebe44f59b8e43b02ce71df46a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-06-27 23:03:28 +00:00
< tr class = "memitem:aa54bb3e89db461517aec46d994bf972f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aa54bb3e89db461517aec46d994bf972f" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_codec_config< / b > (const std::vector< uint8_t > & data)< / td > < / tr >
< tr class = "separator:aa54bb3e89db461517aec46d994bf972f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:a253c9f1d0cd2d58cd041a2b5fcd2eb93" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a253c9f1d0cd2d58cd041a2b5fcd2eb93" > < / a >
2015-10-16 00:33:37 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_codec_string< / b > (const std::string & codec_string)< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a253c9f1d0cd2d58cd041a2b5fcd2eb93" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa939a8328421d629d778f8b149146911" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aa939a8328421d629d778f8b149146911" > < / a >
2015-10-16 00:33:37 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_language< / b > (const std::string & language)< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:aa939a8328421d629d778f8b149146911" > < 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:a06c93b0a3a0c24dcbbb04c661e021cff" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a06c93b0a3a0c24dcbbb04c661e021cff" > < / a >
class  < / td > < td class = "memItemRight" valign = "bottom" > < b > base::RefCountedThreadSafe< StreamInfo > < / b > < / td > < / tr >
< tr class = "separator:a06c93b0a3a0c24dcbbb04c661e021cff" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > Abstract class holds stream information. < / p >
2015-10-19 17:27:30 +00:00
< p > Definition at line < a class = "el" href = "../../d8/daa/stream__info_8h_source.html#l00026" > 26< / a > of file < a class = "el" href = "../../d8/daa/stream__info_8h_source.html" > stream_info.h< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2016-05-24 23:43:16 +00:00
< a class = "anchor" id = "a6e5c5ade77b7bcf0b7822de568695dc8" > < / 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" > virtual bool shaka::media::StreamInfo::IsValidConfig < / 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" > pure 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 >
2016-05-24 23:43:16 +00:00
< p > Implemented in < a class = "el" href = "../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a3c50d026e8deadac46741143d4b5ddb9" > shaka::media::AudioStreamInfo< / a > , < a class = "el" href = "../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a8978ca2bc2dd63c2e25e77cdcf676162" > shaka::media::VideoStreamInfo< / a > , and < a class = "el" href = "../../db/dab/classshaka_1_1media_1_1TextStreamInfo.html#ab40aed17c046e639efde04a2075e25a8" > shaka::media::TextStreamInfo< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
2016-05-24 23:43:16 +00:00
< a class = "anchor" id = "aa11d2fe5509ebfdc038aa3f2cdbbe00d" > < / 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" > std::string shaka::media::StreamInfo::ToString < / 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" > 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 >
2016-05-24 23:43:16 +00:00
< p > Reimplemented in < a class = "el" href = "../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a7f94e51abcf522ff70e2456a8c8595df" > shaka::media::AudioStreamInfo< / a > , and < a class = "el" href = "../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a9cac8e75d76f1192a48d1dcf61435537" > shaka::media::VideoStreamInfo< / a > .< / p >
2015-10-16 00:33:37 +00:00
< p > Definition at line < a class = "el" href = "../../de/dfd/stream__info_8cc_source.html#l00040" > 40< / a > of file < a class = "el" href = "../../de/dfd/stream__info_8cc_source.html" > stream_info.cc< / a > .< / p >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > media/base/< a class = "el" href = "../../d8/daa/stream__info_8h_source.html" > stream_info.h< / a > < / li >
< li > media/base/< a class = "el" href = "../../de/dfd/stream__info_8cc_source.html" > stream_info.cc< / a > < / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2016-07-08 21:33:08 +00:00
Generated on Fri Jul 8 2016 21:33: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 >