2021-04-10 04:00:37 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2018-02-10 23:37:42 +00:00
< 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" / >
2021-04-10 04:00:37 +00:00
< meta name = "generator" content = "Doxygen 1.9.1" / >
2018-02-10 23:37:42 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > Shaka Packager SDK: shaka::MockPeriod 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 -->
2021-04-10 04:00:37 +00:00
<!-- Generated by Doxygen 1.9.1 -->
2018-02-10 23:37:42 +00:00
< script type = "text/javascript" >
2021-04-10 04:00:37 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search','.html');
/* @license-end */
2018-02-10 23:37:42 +00:00
< / script >
< script type = "text/javascript" src = "../../menudata.js" > < / script >
< script type = "text/javascript" src = "../../menu.js" > < / script >
< script type = "text/javascript" >
2021-04-10 04:00:37 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2018-02-10 23:37:42 +00:00
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2021-04-10 04:00:37 +00:00
/* @license-end */< / script >
2018-02-10 23:37:42 +00:00
< 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" > < a class = "el" href = "../../d8/d02/classshaka_1_1MockPeriod.html" > MockPeriod< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "../../d7/d21/classshaka_1_1MockPeriod-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > shaka::MockPeriod Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "dynheader" >
Inheritance diagram for shaka::MockPeriod:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "../../d8/d02/classshaka_1_1MockPeriod.png" usemap = "#shaka::MockPeriod_map" alt = "" / >
< map id = "shaka::MockPeriod_map" name = "shaka::MockPeriod_map" >
< area href = "../../d8/de1/classshaka_1_1Period.html" alt = "shaka::Period" shape = "rect" coords = "0,0,119,24" / >
2021-04-10 04:00:37 +00:00
< / map >
< / div > < / div >
2018-02-10 23:37:42 +00:00
< 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:a4ec62dcc9414314b94e3f9b9c23ae9ab" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a4ec62dcc9414314b94e3f9b9c23ae9ab" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < b > MockPeriod< / b > (uint32_t period_id, double < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#a93ec8606ac8aa96139d3b5459ccb303d" > start_time_in_seconds< / a > )< / td > < / tr >
< tr class = "separator:a4ec62dcc9414314b94e3f9b9c23ae9ab" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8c72af91d093957ef38af273d3082c2e" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a8c72af91d093957ef38af273d3082c2e" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < b > MOCK_METHOD2< / b > (< a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#a6481aa2a87b0154796f49cb6198d0deb" > GetOrCreateAdaptationSet< / a > , < a class = "el" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > AdaptationSet< / a > *(const MediaInfo & media_info, bool content_protection_in_adaptation_set))< / td > < / tr >
< tr class = "separator:a8c72af91d093957ef38af273d3082c2e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_classshaka_1_1Period" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_classshaka_1_1Period')" > < img src = "../../closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html" > shaka::Period< / a > < / td > < / tr >
< tr class = "memitem:a6481aa2a87b0154796f49cb6198d0deb inherit pub_methods_classshaka_1_1Period" > < td class = "memItemLeft" align = "right" valign = "top" > virtual < a class = "el" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > AdaptationSet< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#a6481aa2a87b0154796f49cb6198d0deb" > GetOrCreateAdaptationSet< / a > (const MediaInfo & media_info, bool content_protection_in_adaptation_set)< / td > < / tr >
< tr class = "separator:a6481aa2a87b0154796f49cb6198d0deb inherit pub_methods_classshaka_1_1Period" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-04-10 04:00:37 +00:00
< tr class = "memitem:aabd4c14420c37f958523b84505a5dea1 inherit pub_methods_classshaka_1_1Period" > < td class = "memItemLeft" align = "right" valign = "top" > base::Optional< < a class = "el" href = "../../d1/d31/classshaka_1_1xml_1_1XmlNode.html" > xml::XmlNode< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#aabd4c14420c37f958523b84505a5dea1" > GetXml< / a > (bool output_period_duration)< / td > < / tr >
< tr class = "separator:aabd4c14420c37f958523b84505a5dea1 inherit pub_methods_classshaka_1_1Period" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:aee153103e77326b21f7f7c92af608654 inherit pub_methods_classshaka_1_1Period" > < td class = "memItemLeft" align = "right" valign = "top" > const std::list< < a class = "el" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > AdaptationSet< / a > * >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#aee153103e77326b21f7f7c92af608654" > GetAdaptationSets< / a > () const< / td > < / tr >
< tr class = "separator:aee153103e77326b21f7f7c92af608654 inherit pub_methods_classshaka_1_1Period" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a93ec8606ac8aa96139d3b5459ccb303d inherit pub_methods_classshaka_1_1Period" > < td class = "memItemLeft" align = "right" valign = "top" > double  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#a93ec8606ac8aa96139d3b5459ccb303d" > start_time_in_seconds< / a > () const< / td > < / tr >
< tr class = "separator:a93ec8606ac8aa96139d3b5459ccb303d inherit pub_methods_classshaka_1_1Period" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "memitem:a53fff2b4d8ac731857ec5a33cfcfaf86 inherit pub_methods_classshaka_1_1Period" > < td class = "memItemLeft" align = "right" valign = "top" > double  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#a53fff2b4d8ac731857ec5a33cfcfaf86" > duration_seconds< / a > () const< / td > < / tr >
< tr class = "separator:a53fff2b4d8ac731857ec5a33cfcfaf86 inherit pub_methods_classshaka_1_1Period" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a5519676b3185c9902e98f5f3762d6d71 inherit pub_methods_classshaka_1_1Period" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a5519676b3185c9902e98f5f3762d6d71" > < / a >
2018-05-23 23:12:00 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#a5519676b3185c9902e98f5f3762d6d71" > set_duration_seconds< / a > (double < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#a53fff2b4d8ac731857ec5a33cfcfaf86" > duration_seconds< / a > )< / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memdesc:a5519676b3185c9902e98f5f3762d6d71 inherit pub_methods_classshaka_1_1Period" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set period duration. < br / > < / td > < / tr >
< tr class = "separator:a5519676b3185c9902e98f5f3762d6d71 inherit pub_methods_classshaka_1_1Period" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-04-10 04:00:37 +00:00
< tr class = "memitem:a99e11102f8b1cb3a6ad71552f3e28128 inherit pub_methods_classshaka_1_1Period" > < td class = "memItemLeft" align = "right" valign = "top" > const std::map< std::string, std::list< < a class = "el" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > AdaptationSet< / a > * > > &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#a99e11102f8b1cb3a6ad71552f3e28128" > trickplay_cache< / a > () const< / td > < / tr >
< tr class = "separator:a99e11102f8b1cb3a6ad71552f3e28128 inherit pub_methods_classshaka_1_1Period" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< / 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_1Period" > < td colspan = "2" onclick = "javascript:toggleInherit('pro_methods_classshaka_1_1Period')" > < img src = "../../closed.png" alt = "-" / >   Protected Member Functions inherited from < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html" > shaka::Period< / a > < / td > < / tr >
2018-08-16 00:35:22 +00:00
< tr class = "memitem:a92f0486f20c430533a65d37a450ea020 inherit pro_methods_classshaka_1_1Period" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#a92f0486f20c430533a65d37a450ea020" > Period< / a > (uint32_t period_id, double < a class = "el" href = "../../d8/de1/classshaka_1_1Period.html#a93ec8606ac8aa96139d3b5459ccb303d" > start_time_in_seconds< / a > , const < a class = "el" href = "../../d1/df3/structshaka_1_1MpdOptions.html" > MpdOptions< / a > & mpd_options, uint32_t *representation_counter)< / td > < / tr >
< tr class = "separator:a92f0486f20c430533a65d37a450ea020 inherit pro_methods_classshaka_1_1Period" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< / 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 = "../../d9/d08/mock__mpd__builder_8h_source.html#l00031" > 31< / a > of file < a class = "el" href = "../../d9/d08/mock__mpd__builder_8h_source.html" > mock_mpd_builder.h< / a > .< / p >
< / div > < hr / > The documentation for this class was generated from the following files:< ul >
< li > packager/mpd/base/< a class = "el" href = "../../d9/d08/mock__mpd__builder_8h_source.html" > mock_mpd_builder.h< / a > < / li >
< li > packager/mpd/base/< a class = "el" href = "../../da/de2/mock__mpd__builder_8cc_source.html" > mock_mpd_builder.cc< / a > < / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2021-06-11 04:44:53 +00:00
Generated on Thu Jun 10 2021 21:44:26 for Shaka Packager SDK by  < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "../../doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.9.1
2018-02-10 23:37:42 +00:00
< / small > < / address >
< / body >
< / html >