\hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e}{}\doxysection{io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+D\+E\+G\+R\+A\+D\+A\+T\+I\+O\+N\+\_\+\+P\+R\+E\+F\+E\+R\+E\+N\+CE Enum Reference}
\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e}\index{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_af7b054f3993e01f576a7ba1e92727202}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_af7b054f3993e01f576a7ba1e92727202}} 
int {\bfseries get\+Value} ()
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_aa75fd7dacfe8079a940c4b146b67c2f1}{M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+A\+U\+TO}} =(-\/1)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_a906a24cb18b34be8413ae34352a73ae2}{M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+Q\+U\+A\+L\+I\+TY}} =(0)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_ada1994b7a25c1608f26bd337e0a4d86b}{M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+F\+R\+A\+M\+E\+R\+A\+TE}} =(1)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_a11b3ad3c189b57ae706f620a74eb44ea}{M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+B\+A\+L\+A\+N\+C\+ED}} =(2)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_a938ecc7587e88f177b1c628985fc7d20}{M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+R\+E\+S\+O\+L\+U\+T\+I\+ON}} =(3)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_ab4d48e8a1baa61116e6106563c9b33e8}{D\+I\+S\+A\+B\+L\+ED}} =(100)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The video encoding degradation preference under limited bandwidth. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_aa75fd7dacfe8079a940c4b146b67c2f1}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_aa75fd7dacfe8079a940c4b146b67c2f1}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}!MAINTAIN\_AUTO@{MAINTAIN\_AUTO}}
\index{MAINTAIN\_AUTO@{MAINTAIN\_AUTO}!io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}}
\doxysubsubsection{\texorpdfstring{MAINTAIN\_AUTO}{MAINTAIN\_AUTO}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+D\+E\+G\+R\+A\+D\+A\+T\+I\+O\+N\+\_\+\+P\+R\+E\+F\+E\+R\+E\+N\+C\+E.\+M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+A\+U\+TO =(-\/1)}

-\/1\+: (Default) S\+DK uses option M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+R\+E\+S\+O\+L\+U\+T\+I\+ON By default. But If user set video scenario through A\+PI set\+Video\+Scenario or network state has changed, sdk may change this parameter between M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+F\+R\+A\+M\+E\+R\+A\+T\+E、\+M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+B\+A\+L\+A\+N\+C\+ED and M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+R\+E\+S\+O\+L\+U\+T\+I\+ON $\ast$ automatically to get the best Q\+OE. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_a906a24cb18b34be8413ae34352a73ae2}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_a906a24cb18b34be8413ae34352a73ae2}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}!MAINTAIN\_QUALITY@{MAINTAIN\_QUALITY}}
\index{MAINTAIN\_QUALITY@{MAINTAIN\_QUALITY}!io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}}
\doxysubsubsection{\texorpdfstring{MAINTAIN\_QUALITY}{MAINTAIN\_QUALITY}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+D\+E\+G\+R\+A\+D\+A\+T\+I\+O\+N\+\_\+\+P\+R\+E\+F\+E\+R\+E\+N\+C\+E.\+M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+Q\+U\+A\+L\+I\+TY =(0)}

0\+: (Deprecated) Degrade the frame rate and keep resolution to guarantee the video quality. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_ada1994b7a25c1608f26bd337e0a4d86b}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_ada1994b7a25c1608f26bd337e0a4d86b}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}!MAINTAIN\_FRAMERATE@{MAINTAIN\_FRAMERATE}}
\index{MAINTAIN\_FRAMERATE@{MAINTAIN\_FRAMERATE}!io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}}
\doxysubsubsection{\texorpdfstring{MAINTAIN\_FRAMERATE}{MAINTAIN\_FRAMERATE}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+D\+E\+G\+R\+A\+D\+A\+T\+I\+O\+N\+\_\+\+P\+R\+E\+F\+E\+R\+E\+N\+C\+E.\+M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+F\+R\+A\+M\+E\+R\+A\+TE =(1)}

1\+: Degrade resolution in order to maintain framerate. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_a11b3ad3c189b57ae706f620a74eb44ea}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_a11b3ad3c189b57ae706f620a74eb44ea}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}!MAINTAIN\_BALANCED@{MAINTAIN\_BALANCED}}
\index{MAINTAIN\_BALANCED@{MAINTAIN\_BALANCED}!io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}}
\doxysubsubsection{\texorpdfstring{MAINTAIN\_BALANCED}{MAINTAIN\_BALANCED}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+D\+E\+G\+R\+A\+D\+A\+T\+I\+O\+N\+\_\+\+P\+R\+E\+F\+E\+R\+E\+N\+C\+E.\+M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+B\+A\+L\+A\+N\+C\+ED =(2)}

2\+: Maintain resolution in video quality control process. Under limited bandwidth, degrade video quality first and then degrade frame rate. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_a938ecc7587e88f177b1c628985fc7d20}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_a938ecc7587e88f177b1c628985fc7d20}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}!MAINTAIN\_RESOLUTION@{MAINTAIN\_RESOLUTION}}
\index{MAINTAIN\_RESOLUTION@{MAINTAIN\_RESOLUTION}!io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}}
\doxysubsubsection{\texorpdfstring{MAINTAIN\_RESOLUTION}{MAINTAIN\_RESOLUTION}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+D\+E\+G\+R\+A\+D\+A\+T\+I\+O\+N\+\_\+\+P\+R\+E\+F\+E\+R\+E\+N\+C\+E.\+M\+A\+I\+N\+T\+A\+I\+N\+\_\+\+R\+E\+S\+O\+L\+U\+T\+I\+ON =(3)}

3\+: Degrade framerate in order to maintain resolution. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_ab4d48e8a1baa61116e6106563c9b33e8}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_d_e_g_r_a_d_a_t_i_o_n___p_r_e_f_e_r_e_n_c_e_ab4d48e8a1baa61116e6106563c9b33e8}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}!DISABLED@{DISABLED}}
\index{DISABLED@{DISABLED}!io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION\_PREFERENCE}}
\doxysubsubsection{\texorpdfstring{DISABLED}{DISABLED}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+D\+E\+G\+R\+A\+D\+A\+T\+I\+O\+N\+\_\+\+P\+R\+E\+F\+E\+R\+E\+N\+C\+E.\+D\+I\+S\+A\+B\+L\+ED =(100)}

4\+: Disabled V\+QC adjustion. 