2017-02-11 01:23:57 +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::media::EncryptionHandler Class Reference< / title >
2017-02-11 01:23:57 +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 >
2017-02-11 01:23:57 +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
2017-02-11 01:23:57 +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 -->
2017-02-11 01:23:57 +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 >
2017-02-11 01:23:57 +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 >
2017-02-11 01:23:57 +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 > media< / b > < / li > < li class = "navelem" > < a class = "el" href = "../../d6/d4c/classshaka_1_1media_1_1EncryptionHandler.html" > EncryptionHandler< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#friends" > Friends< / a > |
< a href = "../../d0/dac/classshaka_1_1media_1_1EncryptionHandler-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > shaka::media::EncryptionHandler Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "dynheader" >
Inheritance diagram for shaka::media::EncryptionHandler:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "../../d6/d4c/classshaka_1_1media_1_1EncryptionHandler.png" usemap = "#shaka::media::EncryptionHandler_map" alt = "" / >
< map id = "shaka::media::EncryptionHandler_map" name = "shaka::media::EncryptionHandler_map" >
< area href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" alt = "shaka::media::MediaHandler" shape = "rect" coords = "0,0,196,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 >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a9cbfa2ad60aded9b62fa597082ffba30" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a9cbfa2ad60aded9b62fa597082ffba30" > < / a >
2017-08-18 18:39:42 +00:00
  < / td > < td class = "memItemRight" valign = "bottom" > < b > EncryptionHandler< / b > (const < a class = "el" href = "../../dc/da0/structshaka_1_1EncryptionParams.html" > EncryptionParams< / a > & encryption_params, < a class = "el" href = "../../d1/d1f/classshaka_1_1media_1_1KeySource.html" > KeySource< / a > *key_source)< / td > < / tr >
< tr class = "separator:a9cbfa2ad60aded9b62fa597082ffba30" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-02-11 01:23:57 +00:00
< tr class = "inherit_header pub_methods_classshaka_1_1media_1_1MediaHandler" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_classshaka_1_1media_1_1MediaHandler')" > < img src = "../../closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > shaka::media::MediaHandler< / a > < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a0fac1fe2d593e78d47244acdfa21759d inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a0fac1fe2d593e78d47244acdfa21759d" > < / a >
2017-09-20 02:35:05 +00:00
< a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a0fac1fe2d593e78d47244acdfa21759d" > SetHandler< / a > (size_t output_stream_index, std::shared_ptr< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > > handler)< / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memdesc:a0fac1fe2d593e78d47244acdfa21759d inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Connect downstream handler at the specified output stream index. < br / > < / td > < / tr >
2017-03-16 22:29:47 +00:00
< tr class = "separator:a0fac1fe2d593e78d47244acdfa21759d inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:afc48a2450ce50162de18071aef516b6c inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "afc48a2450ce50162de18071aef516b6c" > < / a >
2017-09-20 02:35:05 +00:00
< a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#afc48a2450ce50162de18071aef516b6c" > AddHandler< / a > (std::shared_ptr< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > > handler)< / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "memdesc:afc48a2450ce50162de18071aef516b6c inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Connect downstream handler to the next available output stream index. < br / > < / td > < / tr >
2017-02-11 01:23:57 +00:00
< tr class = "separator:afc48a2450ce50162de18071aef516b6c inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-09-20 02:35:05 +00:00
< tr class = "memitem:aed0da512bbd998ec9d0a5c019ad17acb inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#aed0da512bbd998ec9d0a5c019ad17acb" > Initialize< / a > ()< / td > < / tr >
2017-02-11 01:23:57 +00:00
< tr class = "separator:aed0da512bbd998ec9d0a5c019ad17acb inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a0e169e81344ce4ccfed3194ec5f4a3a1 inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a0e169e81344ce4ccfed3194ec5f4a3a1" > < / a >
2017-05-15 16:24:34 +00:00
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a0e169e81344ce4ccfed3194ec5f4a3a1" > IsConnected< / a > ()< / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memdesc:a0e169e81344ce4ccfed3194ec5f4a3a1 inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Validate if the handler is connected to its upstream handler. < br / > < / td > < / tr >
2017-05-15 16:24:34 +00:00
< tr class = "separator:a0e169e81344ce4ccfed3194ec5f4a3a1 inherit pub_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-02-11 01:23:57 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pro-methods" > < / a >
Protected Member Functions< / h2 > < / td > < / tr >
< tr > < td colspan = "2" > < div class = "groupHeader" > MediaHandler implementation overrides.< / div > < / td > < / tr >
2017-09-20 02:35:05 +00:00
< tr class = "memitem:a3f1808a4386081e5e1c9a798a1a69dd0" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d6/d4c/classshaka_1_1media_1_1EncryptionHandler.html#a3f1808a4386081e5e1c9a798a1a69dd0" > InitializeInternal< / a > () override< / td > < / tr >
2017-02-11 01:23:57 +00:00
< tr class = "separator:a3f1808a4386081e5e1c9a798a1a69dd0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-09-20 02:35:05 +00:00
< tr class = "memitem:a7887e6060eb572036674ecb9a7e045c4" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d6/d4c/classshaka_1_1media_1_1EncryptionHandler.html#a7887e6060eb572036674ecb9a7e045c4" > Process< / a > (std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > > stream_data) override< / td > < / tr >
2017-02-11 01:23:57 +00:00
< tr class = "separator:a7887e6060eb572036674ecb9a7e045c4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pro_methods_classshaka_1_1media_1_1MediaHandler" > < td colspan = "2" onclick = "javascript:toggleInherit('pro_methods_classshaka_1_1media_1_1MediaHandler')" > < img src = "../../closed.png" alt = "-" / >   Protected Member Functions inherited from < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > shaka::media::MediaHandler< / a > < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a69a31b8ec1b85fd4790c7c2013c69a73 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a69a31b8ec1b85fd4790c7c2013c69a73" > < / a >
2017-09-20 02:35:05 +00:00
virtual < a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a69a31b8ec1b85fd4790c7c2013c69a73" > OnFlushRequest< / a > (size_t input_stream_index)< / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memdesc:a69a31b8ec1b85fd4790c7c2013c69a73 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Event handler for flush request at the specific input stream index. < br / > < / td > < / tr >
2017-03-16 22:29:47 +00:00
< tr class = "separator:a69a31b8ec1b85fd4790c7c2013c69a73 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:abe33a7328099b7917b2b3ba1038997b0 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "abe33a7328099b7917b2b3ba1038997b0" > < / a >
virtual bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#abe33a7328099b7917b2b3ba1038997b0" > ValidateOutputStreamIndex< / a > (size_t stream_index) const< / td > < / tr >
< tr class = "memdesc:abe33a7328099b7917b2b3ba1038997b0 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Validate if the stream at the specified index actually exists. < br / > < / td > < / tr >
< tr class = "separator:abe33a7328099b7917b2b3ba1038997b0 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "memitem:afe98a4fd19eabe0fc78afc91959c34a6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#afe98a4fd19eabe0fc78afc91959c34a6" > Dispatch< / a > (std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > > stream_data) const< / td > < / tr >
< tr class = "separator:afe98a4fd19eabe0fc78afc91959c34a6 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad165375cd0a2074c5a740b42f847c499 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ad165375cd0a2074c5a740b42f847c499" > < / a >
< a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#ad165375cd0a2074c5a740b42f847c499" > DispatchStreamInfo< / a > (size_t stream_index, std::shared_ptr< const < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > > stream_info) const< / td > < / tr >
< tr class = "memdesc:ad165375cd0a2074c5a740b42f847c499 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the stream info to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:ad165375cd0a2074c5a740b42f847c499 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9a74fead95bc16255e73908bbebbced9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a9a74fead95bc16255e73908bbebbced9" > < / a >
< a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a9a74fead95bc16255e73908bbebbced9" > DispatchMediaSample< / a > (size_t stream_index, std::shared_ptr< const < a class = "el" href = "../../d7/d6d/classshaka_1_1media_1_1MediaSample.html" > MediaSample< / a > > media_sample) const< / td > < / tr >
< tr class = "memdesc:a9a74fead95bc16255e73908bbebbced9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the media sample to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:a9a74fead95bc16255e73908bbebbced9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9c44df529fead65c007ee27b84ebd32a inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a9c44df529fead65c007ee27b84ebd32a" > < / a >
< a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a9c44df529fead65c007ee27b84ebd32a" > DispatchTextSample< / a > (size_t stream_index, std::shared_ptr< const < a class = "el" href = "../../db/d1f/classshaka_1_1media_1_1TextSample.html" > TextSample< / a > > text_sample) const< / td > < / tr >
< tr class = "memdesc:a9c44df529fead65c007ee27b84ebd32a inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the text sample to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:a9c44df529fead65c007ee27b84ebd32a inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2acc1c84a61aee93229d493aa93308d5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a2acc1c84a61aee93229d493aa93308d5" > < / a >
< a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a2acc1c84a61aee93229d493aa93308d5" > DispatchSegmentInfo< / a > (size_t stream_index, std::shared_ptr< const < a class = "el" href = "../../d0/dc0/structshaka_1_1media_1_1SegmentInfo.html" > SegmentInfo< / a > > segment_info) const< / td > < / tr >
< tr class = "memdesc:a2acc1c84a61aee93229d493aa93308d5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the segment info to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:a2acc1c84a61aee93229d493aa93308d5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aaea265e5d6e765b75ad622c5588e09f8 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aaea265e5d6e765b75ad622c5588e09f8" > < / a >
< a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#aaea265e5d6e765b75ad622c5588e09f8" > DispatchScte35Event< / a > (size_t stream_index, std::shared_ptr< const < a class = "el" href = "../../d1/d41/structshaka_1_1media_1_1Scte35Event.html" > Scte35Event< / a > > scte35_event) const< / td > < / tr >
< tr class = "memdesc:aaea265e5d6e765b75ad622c5588e09f8 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the scte35 event to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:aaea265e5d6e765b75ad622c5588e09f8 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0dcba8fa849d5f031ab3e2b4803a7804 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a0dcba8fa849d5f031ab3e2b4803a7804" > < / a >
< a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a0dcba8fa849d5f031ab3e2b4803a7804" > DispatchCueEvent< / a > (size_t stream_index, std::shared_ptr< const < a class = "el" href = "../../da/d93/structshaka_1_1media_1_1CueEvent.html" > CueEvent< / a > > cue_event) const< / td > < / tr >
< tr class = "memdesc:a0dcba8fa849d5f031ab3e2b4803a7804 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dispatch the cue event to downstream handlers. < br / > < / td > < / tr >
< tr class = "separator:a0dcba8fa849d5f031ab3e2b4803a7804 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:ad5001bf12073101a949b062943769f5b inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ad5001bf12073101a949b062943769f5b" > < / a >
2017-09-20 02:35:05 +00:00
< a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#ad5001bf12073101a949b062943769f5b" > FlushDownstream< / a > (size_t output_stream_index)< / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memdesc:ad5001bf12073101a949b062943769f5b inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Flush the downstream connected at the specified output stream index. < br / > < / td > < / tr >
2017-03-16 22:29:47 +00:00
< tr class = "separator:ad5001bf12073101a949b062943769f5b inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:ab644ca7b0a0dbcbc42936f2dfb979ca5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ab644ca7b0a0dbcbc42936f2dfb979ca5" > < / a >
2017-09-20 02:35:05 +00:00
< a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#ab644ca7b0a0dbcbc42936f2dfb979ca5" > FlushAllDownstreams< / a > ()< / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "memdesc:ab644ca7b0a0dbcbc42936f2dfb979ca5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Flush all connected downstream handlers. < br / > < / td > < / tr >
2017-05-15 16:24:34 +00:00
< tr class = "separator:ab644ca7b0a0dbcbc42936f2dfb979ca5 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:aeb64985e305009df53bd60a5b4ff3122 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aeb64985e305009df53bd60a5b4ff3122" > < / a >
2017-05-02 18:44:28 +00:00
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > initialized< / b > ()< / td > < / tr >
< tr class = "separator:aeb64985e305009df53bd60a5b4ff3122 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:ad9090654f2a7355517f4a80bc6ce868d inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ad9090654f2a7355517f4a80bc6ce868d" > < / a >
size_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > num_input_streams< / b > () const< / td > < / tr >
< tr class = "separator:ad9090654f2a7355517f4a80bc6ce868d inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8d80c96b3c6824532733c73672185ba9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a8d80c96b3c6824532733c73672185ba9" > < / a >
size_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > next_output_stream_index< / b > () const< / td > < / tr >
< tr class = "separator:a8d80c96b3c6824532733c73672185ba9 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a665eb29cf9704481a490c5a912083104 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a665eb29cf9704481a490c5a912083104" > < / a >
const std::map< size_t, std::pair< std::shared_ptr< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > > , size_t > > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > output_handlers< / b > ()< / td > < / tr >
2017-03-16 22:29:47 +00:00
< tr class = "separator:a665eb29cf9704481a490c5a912083104 inherit pro_methods_classshaka_1_1media_1_1MediaHandler" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-02-11 01:23:57 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "friends" > < / a >
Friends< / h2 > < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:ae6ef5050f09e47aa7af48d55e7999cd0" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ae6ef5050f09e47aa7af48d55e7999cd0" > < / a >
2017-02-11 01:23:57 +00:00
class  < / td > < td class = "memItemRight" valign = "bottom" > < b > EncryptionHandlerTest< / b > < / td > < / tr >
< tr class = "separator:ae6ef5050f09e47aa7af48d55e7999cd0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" >
2018-02-10 23:37:42 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../dd/dbc/encryption__handler_8h_source.html#l00023" > 23< / a > of file < a class = "el" href = "../../dd/dbc/encryption__handler_8h_source.html" > encryption_handler.h< / a > .< / p >
2017-02-11 01:23:57 +00:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2018-02-10 23:37:42 +00:00
< a id = "a3f1808a4386081e5e1c9a798a1a69dd0" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3f1808a4386081e5e1c9a798a1a69dd0" > ◆ < / a > < / span > InitializeInternal()< / h2 >
2017-02-11 01:23:57 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2017-09-20 02:35:05 +00:00
< td class = "memname" > < a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a > shaka::media::EncryptionHandler::InitializeInternal < / td >
2017-02-11 01:23:57 +00:00
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Internal implementation of initialize. Note that it should only initialize the < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > itself. Downstream handlers are handled in < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#aed0da512bbd998ec9d0a5c019ad17acb" > Initialize()< / a > . < / p >
< p > Implements < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a0e05325d62bfb66318301c1ed790a46e" > shaka::media::MediaHandler< / a > .< / p >
2018-02-10 23:37:42 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../d3/d9c/encryption__handler_8cc_source.html#l00095" > 95< / a > of file < a class = "el" href = "../../d3/d9c/encryption__handler_8cc_source.html" > encryption_handler.cc< / a > .< / p >
2017-02-11 01:23:57 +00:00
< / div >
< / div >
2018-02-10 23:37:42 +00:00
< a id = "a7887e6060eb572036674ecb9a7e045c4" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a7887e6060eb572036674ecb9a7e045c4" > ◆ < / a > < / span > Process()< / h2 >
2017-02-11 01:23:57 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2017-09-20 02:35:05 +00:00
< td class = "memname" > < a class = "el" href = "../../d2/d20/classshaka_1_1Status.html" > Status< / a > shaka::media::EncryptionHandler::Process < / td >
2017-02-11 01:23:57 +00:00
< td > (< / td >
< td class = "paramtype" > std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > >   < / td >
< td class = "paramname" > < em > stream_data< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Process the incoming stream data. Note that (1) stream_data.stream_index should be the input stream index; (2) The implementation needs to call DispatchXxx to dispatch the processed stream data to the downstream handlers after finishing processing if needed. < / p >
< p > Implements < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html#acb614e9f43e1eb6f837801b15b78c0b4" > shaka::media::MediaHandler< / a > .< / p >
2018-02-10 23:37:42 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../d3/d9c/encryption__handler_8cc_source.html#l00106" > 106< / a > of file < a class = "el" href = "../../d3/d9c/encryption__handler_8cc_source.html" > encryption_handler.cc< / a > .< / p >
2017-02-11 01:23:57 +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/media/crypto/< a class = "el" href = "../../dd/dbc/encryption__handler_8h_source.html" > encryption_handler.h< / a > < / li >
< li > packager/media/crypto/< a class = "el" href = "../../d3/d9c/encryption__handler_8cc_source.html" > encryption_handler.cc< / a > < / li >
2017-02-11 01:23:57 +00:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2018-05-23 23:12:00 +00:00
Generated on Wed May 23 2018 16:10:56 for Shaka Packager SDK by   < a href = "http://www.doxygen.org/index.html" >
2017-02-11 01:23:57 +00:00
< img class = "footer" src = "../../doxygen.png" alt = "doxygen" / >
2018-02-10 23:37:42 +00:00
< / a > 1.8.13
2017-02-11 01:23:57 +00:00
< / small > < / address >
< / body >
< / html >