\hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_c_o_m_p_r_e_s_s_i_o_n___p_r_e_f_e_r_e_n_c_e}{}\doxysection{io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+C\+O\+M\+P\+R\+E\+S\+S\+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_c_o_m_p_r_e_s_s_i_o_n___p_r_e_f_e_r_e_n_c_e}\index{io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION\_PREFERENCE}}


Compression preference for video encoding.  


\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_c_o_m_p_r_e_s_s_i_o_n___p_r_e_f_e_r_e_n_c_e_a6d97767dd49e9f983942b860850dc865}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_c_o_m_p_r_e_s_s_i_o_n___p_r_e_f_e_r_e_n_c_e_a6d97767dd49e9f983942b860850dc865}} 
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_c_o_m_p_r_e_s_s_i_o_n___p_r_e_f_e_r_e_n_c_e_a5b9ecbb20b64bf0fe83c9b97c149b4bd}{P\+R\+E\+F\+E\+R\+\_\+\+C\+O\+M\+P\+R\+E\+S\+S\+I\+O\+N\+\_\+\+A\+U\+TO}} =(-\/1)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_c_o_m_p_r_e_s_s_i_o_n___p_r_e_f_e_r_e_n_c_e_acc0f2dcf2dcf611d1c226d14b9fc7736}{P\+R\+E\+F\+E\+R\+\_\+\+L\+O\+W\+\_\+\+L\+A\+T\+E\+N\+CY}} =(0)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_c_o_m_p_r_e_s_s_i_o_n___p_r_e_f_e_r_e_n_c_e_ac09cf0493840c28280f3c43e2980b7f2}{P\+R\+E\+F\+E\+R\+\_\+\+Q\+U\+A\+L\+I\+TY}} =(1)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Compression preference for video encoding. 

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

-\/1\+: (Default) Automatic mode. The S\+DK will automatically select P\+R\+E\+F\+E\+R\+\_\+\+L\+O\+W\+\_\+\+L\+A\+T\+E\+N\+CY or P\+R\+E\+F\+E\+R\+\_\+\+Q\+U\+A\+L\+I\+TY based on the video scenario you set to achieve the best user experience. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_c_o_m_p_r_e_s_s_i_o_n___p_r_e_f_e_r_e_n_c_e_acc0f2dcf2dcf611d1c226d14b9fc7736}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_c_o_m_p_r_e_s_s_i_o_n___p_r_e_f_e_r_e_n_c_e_acc0f2dcf2dcf611d1c226d14b9fc7736}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION\_PREFERENCE}!PREFER\_LOW\_LATENCY@{PREFER\_LOW\_LATENCY}}
\index{PREFER\_LOW\_LATENCY@{PREFER\_LOW\_LATENCY}!io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION\_PREFERENCE}}
\doxysubsubsection{\texorpdfstring{PREFER\_LOW\_LATENCY}{PREFER\_LOW\_LATENCY}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+C\+O\+M\+P\+R\+E\+S\+S\+I\+O\+N\+\_\+\+P\+R\+E\+F\+E\+R\+E\+N\+C\+E.\+P\+R\+E\+F\+E\+R\+\_\+\+L\+O\+W\+\_\+\+L\+A\+T\+E\+N\+CY =(0)}

0\+: Low latency preference. The S\+DK compresses video frames to reduce latency. This preference is suitable for scenarios where smoothness is prioritized and reduced video quality is acceptable. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_c_o_m_p_r_e_s_s_i_o_n___p_r_e_f_e_r_e_n_c_e_ac09cf0493840c28280f3c43e2980b7f2}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_c_o_m_p_r_e_s_s_i_o_n___p_r_e_f_e_r_e_n_c_e_ac09cf0493840c28280f3c43e2980b7f2}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION\_PREFERENCE}!PREFER\_QUALITY@{PREFER\_QUALITY}}
\index{PREFER\_QUALITY@{PREFER\_QUALITY}!io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION\_PREFERENCE}}
\doxysubsubsection{\texorpdfstring{PREFER\_QUALITY}{PREFER\_QUALITY}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+C\+O\+M\+P\+R\+E\+S\+S\+I\+O\+N\+\_\+\+P\+R\+E\+F\+E\+R\+E\+N\+C\+E.\+P\+R\+E\+F\+E\+R\+\_\+\+Q\+U\+A\+L\+I\+TY =(1)}

1\+: High quality preference. The S\+DK compresses video frames while maintaining video quality. This preference is suitable for scenarios where video quality is prioritized. 