\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}}
\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}
Video C\+O\+M\+P\+R\+E\+S\+S\+I\+ON P\+R\+E\+F\+E\+R\+E\+N\+CE. 

\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)}

(Default) S\+DK uses compression preference according to set\+Video\+Scenario A\+PI settings, real-\/time network state and other relevant data information. If A\+PI set\+Video\+Scenario set video scenario to A\+P\+P\+L\+I\+C\+A\+T\+I\+O\+N\+\_\+\+S\+C\+E\+N\+A\+R\+I\+O\+\_\+\+L\+I\+V\+E\+S\+H\+OW, then P\+R\+E\+F\+E\+R\+\_\+\+Q\+U\+A\+L\+I\+TY is used. If not, then P\+R\+E\+F\+E\+R\+\_\+\+L\+O\+W\+\_\+\+L\+A\+T\+E\+N\+CY is used. Also if network state is changed, S\+DK may change this parameter between P\+R\+E\+F\+E\+R\+\_\+\+Q\+U\+A\+L\+I\+TY and P\+R\+E\+F\+E\+R\+\_\+\+L\+O\+W\+\_\+\+L\+A\+T\+E\+N\+CY automatically to get the best Q\+OE. We recommend using this option. \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)}

Prefer low latency, normally used in real-\/time communication \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)}

Prefer quality in sacrifice of a degree of latency, usually around 30ms $\sim$ 150ms, depends target fps 