\hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_e_n_c_o_d_i_n_g___p_r_e_f_e_r_e_n_c_e}{}\doxysection{io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+E\+N\+C\+O\+D\+I\+N\+G\+\_\+\+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_e_n_c_o_d_i_n_g___p_r_e_f_e_r_e_n_c_e}\index{io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING\_PREFERENCE}}


Video encoder preference.  


\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_e_n_c_o_d_i_n_g___p_r_e_f_e_r_e_n_c_e_a08f756c0155d70964696c5d2546bdc46}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_e_n_c_o_d_i_n_g___p_r_e_f_e_r_e_n_c_e_a08f756c0155d70964696c5d2546bdc46}} 
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_e_n_c_o_d_i_n_g___p_r_e_f_e_r_e_n_c_e_a891c857784bdcf90861c0009ab538a6c}{P\+R\+E\+F\+E\+R\+\_\+\+A\+U\+TO}} =(-\/1)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_e_n_c_o_d_i_n_g___p_r_e_f_e_r_e_n_c_e_a7d48fd497f9c9f65b26f9dadbb11b138}{P\+R\+E\+F\+E\+R\+\_\+\+S\+O\+F\+T\+W\+A\+RE}} =(0)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_e_n_c_o_d_i_n_g___p_r_e_f_e_r_e_n_c_e_afb40a2f8e3f7f2fb4e950d2b6e3c63fd}{P\+R\+E\+F\+E\+R\+\_\+\+H\+A\+R\+D\+W\+A\+RE}} =(1)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Video encoder preference. 

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

-\/1\+: Adaptive preference. The S\+DK automatically selects the optimal encoding type for encoding based on factors such as platform and device type. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_e_n_c_o_d_i_n_g___p_r_e_f_e_r_e_n_c_e_a7d48fd497f9c9f65b26f9dadbb11b138}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_e_n_c_o_d_i_n_g___p_r_e_f_e_r_e_n_c_e_a7d48fd497f9c9f65b26f9dadbb11b138}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING\_PREFERENCE}!PREFER\_SOFTWARE@{PREFER\_SOFTWARE}}
\index{PREFER\_SOFTWARE@{PREFER\_SOFTWARE}!io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING\_PREFERENCE}}
\doxysubsubsection{\texorpdfstring{PREFER\_SOFTWARE}{PREFER\_SOFTWARE}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+E\+N\+C\+O\+D\+I\+N\+G\+\_\+\+P\+R\+E\+F\+E\+R\+E\+N\+C\+E.\+P\+R\+E\+F\+E\+R\+\_\+\+S\+O\+F\+T\+W\+A\+RE =(0)}

0\+: Software coding preference. The S\+DK prefers software encoders for video encoding. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_e_n_c_o_d_i_n_g___p_r_e_f_e_r_e_n_c_e_afb40a2f8e3f7f2fb4e950d2b6e3c63fd}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_e_n_c_o_d_i_n_g___p_r_e_f_e_r_e_n_c_e_afb40a2f8e3f7f2fb4e950d2b6e3c63fd}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING\_PREFERENCE}!PREFER\_HARDWARE@{PREFER\_HARDWARE}}
\index{PREFER\_HARDWARE@{PREFER\_HARDWARE}!io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING\_PREFERENCE@{io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING\_PREFERENCE}}
\doxysubsubsection{\texorpdfstring{PREFER\_HARDWARE}{PREFER\_HARDWARE}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+E\+N\+C\+O\+D\+I\+N\+G\+\_\+\+P\+R\+E\+F\+E\+R\+E\+N\+C\+E.\+P\+R\+E\+F\+E\+R\+\_\+\+H\+A\+R\+D\+W\+A\+RE =(1)}

1\+: Hardware encoding preference. The S\+DK prefers a hardware encoder for video encoding. When the device does not support hardware encoding, the S\+DK automatically uses software encoding and reports the currently used video encoder type through {\ttfamily hw\+Encoder\+Accelerating} in the {\ttfamily on\+Local\+Video\+Stats} callback. 