\hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason}{}\doxysection{io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Reason Enum Reference}
\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason}\index{io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}}


Reasons for the changes in C\+DN streaming status.  


\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_aaba7caaa5315f4d81d20aba32da5711c}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_aaba7caaa5315f4d81d20aba32da5711c}} 
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_reason_a6d8fe3393bc65e9587afcadbaaad11c6}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a6d8fe3393bc65e9587afcadbaaad11c6}} 
static \mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason}{Direct\+Cdn\+Streaming\+Reason}} {\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_reason_acf54f969587641be75a99864687318c0}{OK}} =(0)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a1c06b4789670295e1e2c0427aa12a3bf}{F\+A\+I\+L\+ED}} =(1)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a3ebdaf8096aa915e848029382c091530}{A\+U\+D\+I\+O\+\_\+\+P\+U\+B\+L\+I\+C\+A\+T\+I\+ON}} =(2)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a25421a03f4e4a5a4e990eee240bc8e1c}{V\+I\+D\+E\+O\+\_\+\+P\+U\+B\+L\+I\+C\+A\+T\+I\+ON}} =(3)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a599e4033b60b4134e7a03c4230c60fa9}{N\+E\+T\+\_\+\+C\+O\+N\+N\+E\+CT}} =(4)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a9bb4e94b80ffe723e99c2718b415d230}{B\+A\+D\+\_\+\+N\+A\+ME}} =(5)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Reasons for the changes in C\+DN streaming status. 

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


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_acf54f969587641be75a99864687318c0}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_acf54f969587641be75a99864687318c0}} 
\index{io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}!OK@{OK}}
\index{OK@{OK}!io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}}
\doxysubsubsection{\texorpdfstring{OK}{OK}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Reason.\+OK =(0)}

0\+: No error. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a1c06b4789670295e1e2c0427aa12a3bf}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a1c06b4789670295e1e2c0427aa12a3bf}} 
\index{io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}!FAILED@{FAILED}}
\index{FAILED@{FAILED}!io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}}
\doxysubsubsection{\texorpdfstring{FAILED}{FAILED}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Reason.\+F\+A\+I\+L\+ED =(1)}

1\+: A general error; no specific reason. You can try to push the media stream again. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a3ebdaf8096aa915e848029382c091530}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a3ebdaf8096aa915e848029382c091530}} 
\index{io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}!AUDIO\_PUBLICATION@{AUDIO\_PUBLICATION}}
\index{AUDIO\_PUBLICATION@{AUDIO\_PUBLICATION}!io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}}
\doxysubsubsection{\texorpdfstring{AUDIO\_PUBLICATION}{AUDIO\_PUBLICATION}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Reason.\+A\+U\+D\+I\+O\+\_\+\+P\+U\+B\+L\+I\+C\+A\+T\+I\+ON =(2)}

2\+: An error occurs when pushing audio streams. For example, the local audio capture device is not working properly, is occupied by another process, or does not get the permission required. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a25421a03f4e4a5a4e990eee240bc8e1c}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a25421a03f4e4a5a4e990eee240bc8e1c}} 
\index{io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}!VIDEO\_PUBLICATION@{VIDEO\_PUBLICATION}}
\index{VIDEO\_PUBLICATION@{VIDEO\_PUBLICATION}!io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}}
\doxysubsubsection{\texorpdfstring{VIDEO\_PUBLICATION}{VIDEO\_PUBLICATION}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Reason.\+V\+I\+D\+E\+O\+\_\+\+P\+U\+B\+L\+I\+C\+A\+T\+I\+ON =(3)}

3\+: An error occurs when pushing video streams. For example, the local video capture device is not working properly, is occupied by another process, or does not get the permission required. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a599e4033b60b4134e7a03c4230c60fa9}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a599e4033b60b4134e7a03c4230c60fa9}} 
\index{io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}!NET\_CONNECT@{NET\_CONNECT}}
\index{NET\_CONNECT@{NET\_CONNECT}!io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}}
\doxysubsubsection{\texorpdfstring{NET\_CONNECT}{NET\_CONNECT}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Reason.\+N\+E\+T\+\_\+\+C\+O\+N\+N\+E\+CT =(4)}

4\+: Fails to connect to the C\+DN. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a9bb4e94b80ffe723e99c2718b415d230}\label{enumio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_reason_a9bb4e94b80ffe723e99c2718b415d230}} 
\index{io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}!BAD\_NAME@{BAD\_NAME}}
\index{BAD\_NAME@{BAD\_NAME}!io.agora.rtc2.DirectCdnStreamingReason@{io.agora.rtc2.DirectCdnStreamingReason}}
\doxysubsubsection{\texorpdfstring{BAD\_NAME}{BAD\_NAME}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Reason.\+B\+A\+D\+\_\+\+N\+A\+ME =(5)}

5\+: The U\+RL is already being used. Use a new U\+RL for streaming. 