\doxysection{com.\+tritondigital.\+net.\+streaming.\+proxy.\+Proxy\+Factory Class Reference}
\hypertarget{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1ProxyFactory}{}\label{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1ProxyFactory}\index{com.tritondigital.net.streaming.proxy.ProxyFactory@{com.tritondigital.net.streaming.proxy.ProxyFactory}}
\doxysubsubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy}{Proxy}} \mbox{\hyperlink{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1ProxyFactory_ad971b3593683a7e79ca4b5dc15a14b6a}{create\+Rtsp\+Proxy}} (Stream\+Container\+Decoder.\+Meta\+Data\+Decoded\+Listener metadata\+Decoded\+Listener)
\begin{DoxyCompactList}\small\item\em Proceeds to the creation of an RTSP Proxy using the given client as a source and streaming payload of the given server type. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy}{Proxy}} \mbox{\hyperlink{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1ProxyFactory_aae5321e7edbf1562e10ab26be74f6e4a}{create\+Http\+Proxy}} (Stream\+Container\+Decoder.\+Meta\+Data\+Decoded\+Listener metadata\+Decoded\+Listener)
\begin{DoxyCompactList}\small\item\em Proceeds to the creation of an HTTP Proxy using the given client as a source and streaming payload of the given server type. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This class simplifies the creation of a proxy with the most frequents combination of client and server types. It takes care of creating all instances needed for the creation of a proxy and connecting them together.

Usage example\+: 
\begin{DoxyPre}
     Proxy proxy = ProxyFactory.createRtspProxy(ProxyFactory.RtspServerType.MP4\_LATM, metadataDecodedListener);

     // Start using the proxy and playing
     mMediaPlayer.start(proxy.startAsync("{}http://myFlvUrl"{}));

     // Optionally, but strongly recommended, make sure that the MediaPlayer.OnPreparedListener calls proxy.audioPlaybackDidStart() in
     // its 'onPrepared' implementation.
 \end{DoxyPre}
 

\doxysubsection{Member Function Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1ProxyFactory_aae5321e7edbf1562e10ab26be74f6e4a}\label{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1ProxyFactory_aae5321e7edbf1562e10ab26be74f6e4a} 
\index{com.tritondigital.net.streaming.proxy.ProxyFactory@{com.tritondigital.net.streaming.proxy.ProxyFactory}!createHttpProxy@{createHttpProxy}}
\index{createHttpProxy@{createHttpProxy}!com.tritondigital.net.streaming.proxy.ProxyFactory@{com.tritondigital.net.streaming.proxy.ProxyFactory}}
\doxysubsubsection{\texorpdfstring{createHttpProxy()}{createHttpProxy()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy}{Proxy}} com.\+tritondigital.\+net.\+streaming.\+proxy.\+Proxy\+Factory.\+create\+Http\+Proxy (\begin{DoxyParamCaption}\item[{Stream\+Container\+Decoder.\+Meta\+Data\+Decoded\+Listener}]{metadata\+Decoded\+Listener }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Proceeds to the creation of an HTTP Proxy using the given client as a source and streaming payload of the given server type. 


\begin{DoxyParams}{Parameters}
{\em metadata\+Decoded\+Listener} & The listener to be notified when new Meta Data is received / decoded.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created proxy or {\ttfamily null} if this combination is not supported. 
\end{DoxyReturn}
\Hypertarget{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1ProxyFactory_ad971b3593683a7e79ca4b5dc15a14b6a}\label{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1ProxyFactory_ad971b3593683a7e79ca4b5dc15a14b6a} 
\index{com.tritondigital.net.streaming.proxy.ProxyFactory@{com.tritondigital.net.streaming.proxy.ProxyFactory}!createRtspProxy@{createRtspProxy}}
\index{createRtspProxy@{createRtspProxy}!com.tritondigital.net.streaming.proxy.ProxyFactory@{com.tritondigital.net.streaming.proxy.ProxyFactory}}
\doxysubsubsection{\texorpdfstring{createRtspProxy()}{createRtspProxy()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy}{Proxy}} com.\+tritondigital.\+net.\+streaming.\+proxy.\+Proxy\+Factory.\+create\+Rtsp\+Proxy (\begin{DoxyParamCaption}\item[{Stream\+Container\+Decoder.\+Meta\+Data\+Decoded\+Listener}]{metadata\+Decoded\+Listener }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Proceeds to the creation of an RTSP Proxy using the given client as a source and streaming payload of the given server type. 


\begin{DoxyParams}{Parameters}
{\em metadata\+Decoded\+Listener} & The listener to be notified when new Meta Data is received / decoded.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created proxy or {\ttfamily null} if this combination is not supported. 
\end{DoxyReturn}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
streamingproxy/src/main/java/com/tritondigital/net/streaming/proxy/Proxy\+Factory.\+java\end{DoxyCompactItemize}
