\hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options}{}\doxysection{io.\+agora.\+rtc2.\+Constants.\+Stream\+Fallback\+Options Enum Reference}
\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options}\index{io.agora.rtc2.Constants.StreamFallbackOptions@{io.agora.rtc2.Constants.StreamFallbackOptions}}


Options for handling audio and video stream fallback when network conditions are weak.  


\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a232b3033d0cbfd1d15fdb992765fb74b}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a232b3033d0cbfd1d15fdb992765fb74b}} 
int {\bfseries get\+Value} ()
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a9f407c76ae2f19de24a6a2e8e2cd0571}{S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+D\+I\+S\+A\+B\+L\+ED}} =(0)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a9af7ee267eab813b7e55e158280cfb4e}{S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+OW}} =(1)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a8c6ba7db75934978351eba0c0aaaa602}{S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+A\+U\+D\+I\+O\+\_\+\+O\+N\+LY}} =(2)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a9b48de73273edec7cdcee1eb2c8772a1}{S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+A\+Y\+E\+R\+\_\+1}} =(3)
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a97d280c1ebfe2c0677b45360e6d6e787}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a97d280c1ebfe2c0677b45360e6d6e787}} 
{\bfseries S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+A\+Y\+E\+R\+\_\+2} =(4)
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a2ccb7bb9de37db3b9e593594f0b253f6}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a2ccb7bb9de37db3b9e593594f0b253f6}} 
{\bfseries S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+A\+Y\+E\+R\+\_\+3} =(5)
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a6d5d3783051a6f99934c6b921d550ab1}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a6d5d3783051a6f99934c6b921d550ab1}} 
{\bfseries S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+A\+Y\+E\+R\+\_\+4} =(6)
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_afcf6560a67bd6c55e58bdd3d3cfb9b0c}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_afcf6560a67bd6c55e58bdd3d3cfb9b0c}} 
{\bfseries S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+A\+Y\+E\+R\+\_\+5} =(7)
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a4c46125681efa163b2d8733d0f59ebce}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a4c46125681efa163b2d8733d0f59ebce}} 
{\bfseries S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+A\+Y\+E\+R\+\_\+6} =(8)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Options for handling audio and video stream fallback when network conditions are weak. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a9f407c76ae2f19de24a6a2e8e2cd0571}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a9f407c76ae2f19de24a6a2e8e2cd0571}} 
\index{io.agora.rtc2.Constants.StreamFallbackOptions@{io.agora.rtc2.Constants.StreamFallbackOptions}!STREAM\_FALLBACK\_OPTION\_DISABLED@{STREAM\_FALLBACK\_OPTION\_DISABLED}}
\index{STREAM\_FALLBACK\_OPTION\_DISABLED@{STREAM\_FALLBACK\_OPTION\_DISABLED}!io.agora.rtc2.Constants.StreamFallbackOptions@{io.agora.rtc2.Constants.StreamFallbackOptions}}
\doxysubsubsection{\texorpdfstring{STREAM\_FALLBACK\_OPTION\_DISABLED}{STREAM\_FALLBACK\_OPTION\_DISABLED}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Constants.\+Stream\+Fallback\+Options.\+S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+D\+I\+S\+A\+B\+L\+ED =(0)}

0\+: No fallback processing is performed on audio and video streams, the quality of the audio and video streams cannot be guaranteed. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a9af7ee267eab813b7e55e158280cfb4e}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a9af7ee267eab813b7e55e158280cfb4e}} 
\index{io.agora.rtc2.Constants.StreamFallbackOptions@{io.agora.rtc2.Constants.StreamFallbackOptions}!STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LOW@{STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LOW}}
\index{STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LOW@{STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LOW}!io.agora.rtc2.Constants.StreamFallbackOptions@{io.agora.rtc2.Constants.StreamFallbackOptions}}
\doxysubsubsection{\texorpdfstring{STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LOW}{STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LOW}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Constants.\+Stream\+Fallback\+Options.\+S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+OW =(1)}

1\+: Only receive low-\/quality (low resolution, low bitrate) video stream. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a8c6ba7db75934978351eba0c0aaaa602}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a8c6ba7db75934978351eba0c0aaaa602}} 
\index{io.agora.rtc2.Constants.StreamFallbackOptions@{io.agora.rtc2.Constants.StreamFallbackOptions}!STREAM\_FALLBACK\_OPTION\_AUDIO\_ONLY@{STREAM\_FALLBACK\_OPTION\_AUDIO\_ONLY}}
\index{STREAM\_FALLBACK\_OPTION\_AUDIO\_ONLY@{STREAM\_FALLBACK\_OPTION\_AUDIO\_ONLY}!io.agora.rtc2.Constants.StreamFallbackOptions@{io.agora.rtc2.Constants.StreamFallbackOptions}}
\doxysubsubsection{\texorpdfstring{STREAM\_FALLBACK\_OPTION\_AUDIO\_ONLY}{STREAM\_FALLBACK\_OPTION\_AUDIO\_ONLY}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Constants.\+Stream\+Fallback\+Options.\+S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+A\+U\+D\+I\+O\+\_\+\+O\+N\+LY =(2)}

2\+: When the network conditions are weak, try to receive the low-\/quality video stream first. If the video cannot be displayed due to extremely weak network environment, then fall back to receiving audio-\/only stream. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a9b48de73273edec7cdcee1eb2c8772a1}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_stream_fallback_options_a9b48de73273edec7cdcee1eb2c8772a1}} 
\index{io.agora.rtc2.Constants.StreamFallbackOptions@{io.agora.rtc2.Constants.StreamFallbackOptions}!STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LAYER\_1@{STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LAYER\_1}}
\index{STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LAYER\_1@{STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LAYER\_1}!io.agora.rtc2.Constants.StreamFallbackOptions@{io.agora.rtc2.Constants.StreamFallbackOptions}}
\doxysubsubsection{\texorpdfstring{STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LAYER\_1}{STREAM\_FALLBACK\_OPTION\_VIDEO\_STREAM\_LAYER\_1}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Constants.\+Stream\+Fallback\+Options.\+S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+A\+Y\+E\+R\+\_\+1 =(3)}

3$\sim$8\+: If the receiver S\+DK uses \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_a3aeb5327eea26b97b67bcf41d6021920}{set\+Remote\+Subscribe\+Fallback\+Option}}, it will receive one of the streams from agora\+::rtc\+::\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+A\+Y\+E\+R\+\_\+1 to agora\+::rtc\+::\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+A\+Y\+E\+R\+\_\+6 if the related layer exists when the network condition is poor. The lower bound of fallback depends on the S\+T\+R\+E\+A\+M\+\_\+\+F\+A\+L\+L\+B\+A\+C\+K\+\_\+\+O\+P\+T\+I\+O\+N\+\_\+\+V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+A\+Y\+E\+R\+\_\+X. 