\hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state}{}\doxysection{io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+State Enum Reference}
\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state}\index{io.agora.rtc2.DirectCdnStreamingState@{io.agora.rtc2.DirectCdnStreamingState}}


The current C\+DN streaming state.  


\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a352b86c602bad548015cd7b1e02c749f}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a352b86c602bad548015cd7b1e02c749f}} 
int {\bfseries get\+Value} ()
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a2f4700d51c2eca14e97498e501db910b}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a2f4700d51c2eca14e97498e501db910b}} 
static \mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state}{Direct\+Cdn\+Streaming\+State}} {\bfseries from\+Int} (int v)
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a0395e277311757c9898d385f1cb18f24}{I\+D\+LE}} =(0)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a1a721eb5e8133bf91343e93cd4127e2f}{R\+U\+N\+N\+I\+NG}} =(1)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a83b5d166668f5ff18bcda7f3d1082d64}{S\+T\+O\+P\+P\+ED}} =(2)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a6c06e8305017db946156932c74e6fe1d}{F\+A\+I\+L\+ED}} =(3)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a21add41cbc6e9ad43dfc3be2fe62bf0f}{R\+E\+C\+O\+V\+E\+R\+I\+NG}} =(4)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The current C\+DN streaming state. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000013}{Deprecated}}]v4.\+6.\+0. \end{DoxyRefDesc}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a0395e277311757c9898d385f1cb18f24}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a0395e277311757c9898d385f1cb18f24}} 
\index{io.agora.rtc2.DirectCdnStreamingState@{io.agora.rtc2.DirectCdnStreamingState}!IDLE@{IDLE}}
\index{IDLE@{IDLE}!io.agora.rtc2.DirectCdnStreamingState@{io.agora.rtc2.DirectCdnStreamingState}}
\doxysubsubsection{\texorpdfstring{IDLE}{IDLE}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+State.\+I\+D\+LE =(0)}

0\+: The initial state before the C\+DN streaming starts. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a1a721eb5e8133bf91343e93cd4127e2f}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a1a721eb5e8133bf91343e93cd4127e2f}} 
\index{io.agora.rtc2.DirectCdnStreamingState@{io.agora.rtc2.DirectCdnStreamingState}!RUNNING@{RUNNING}}
\index{RUNNING@{RUNNING}!io.agora.rtc2.DirectCdnStreamingState@{io.agora.rtc2.DirectCdnStreamingState}}
\doxysubsubsection{\texorpdfstring{RUNNING}{RUNNING}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+State.\+R\+U\+N\+N\+I\+NG =(1)}

1\+: Streams are being pushed to the C\+DN. The S\+DK returns this value when you call the {\ttfamily start\+Direct\+Cdn\+Streaming} method to push streams to the C\+DN. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a83b5d166668f5ff18bcda7f3d1082d64}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a83b5d166668f5ff18bcda7f3d1082d64}} 
\index{io.agora.rtc2.DirectCdnStreamingState@{io.agora.rtc2.DirectCdnStreamingState}!STOPPED@{STOPPED}}
\index{STOPPED@{STOPPED}!io.agora.rtc2.DirectCdnStreamingState@{io.agora.rtc2.DirectCdnStreamingState}}
\doxysubsubsection{\texorpdfstring{STOPPED}{STOPPED}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+State.\+S\+T\+O\+P\+P\+ED =(2)}

2\+: Stops pushing streams to the C\+DN. The S\+DK returns this value when you call the {\ttfamily stop\+Direct\+Cdn\+Streaming} method to stop pushing streams to the C\+DN. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a6c06e8305017db946156932c74e6fe1d}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a6c06e8305017db946156932c74e6fe1d}} 
\index{io.agora.rtc2.DirectCdnStreamingState@{io.agora.rtc2.DirectCdnStreamingState}!FAILED@{FAILED}}
\index{FAILED@{FAILED}!io.agora.rtc2.DirectCdnStreamingState@{io.agora.rtc2.DirectCdnStreamingState}}
\doxysubsubsection{\texorpdfstring{FAILED}{FAILED}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+State.\+F\+A\+I\+L\+ED =(3)}

3\+: Fails to push streams to the C\+DN. You can troubleshoot the issue with the information reported by the {\ttfamily on\+Direct\+Cdn\+Streaming\+State\+Changed} callback, and then push streams to the C\+DN again. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a21add41cbc6e9ad43dfc3be2fe62bf0f}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_state_a21add41cbc6e9ad43dfc3be2fe62bf0f}} 
\index{io.agora.rtc2.DirectCdnStreamingState@{io.agora.rtc2.DirectCdnStreamingState}!RECOVERING@{RECOVERING}}
\index{RECOVERING@{RECOVERING}!io.agora.rtc2.DirectCdnStreamingState@{io.agora.rtc2.DirectCdnStreamingState}}
\doxysubsubsection{\texorpdfstring{RECOVERING}{RECOVERING}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+State.\+R\+E\+C\+O\+V\+E\+R\+I\+NG =(4)}

4\+: Tries to reconnect the Agora server to the C\+DN. The S\+DK attempts to reconnect a maximum of 10 times; if the connection is not restored, the streaming state becomes F\+A\+I\+L\+ED. 