\hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e}{}\doxysection{io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N\+\_\+\+M\+O\+DE Enum Reference}
\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e}\index{io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE@{io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE}}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e_ab06b8aceb7c058803300b6b6223416d0}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e_ab06b8aceb7c058803300b6b6223416d0}} 
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_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e_aa6ff9f8d4848e59127f0bd071d80f38c}{O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N\+\_\+\+M\+O\+D\+E\+\_\+\+A\+D\+A\+P\+T\+I\+VE}} =(0)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e_a6c3a7540b78b06569afe8b6907589636}{O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N\+\_\+\+M\+O\+D\+E\+\_\+\+F\+I\+X\+E\+D\+\_\+\+L\+A\+N\+D\+S\+C\+A\+PE}} =(1)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e_a16cb69e1c8b305d80648c220863958ea}{O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N\+\_\+\+M\+O\+D\+E\+\_\+\+F\+I\+X\+E\+D\+\_\+\+P\+O\+R\+T\+R\+A\+IT}} =(2)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The video orientation mode of the video. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e_aa6ff9f8d4848e59127f0bd071d80f38c}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e_aa6ff9f8d4848e59127f0bd071d80f38c}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE@{io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE}!ORIENTATION\_MODE\_ADAPTIVE@{ORIENTATION\_MODE\_ADAPTIVE}}
\index{ORIENTATION\_MODE\_ADAPTIVE@{ORIENTATION\_MODE\_ADAPTIVE}!io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE@{io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE}}
\doxysubsubsection{\texorpdfstring{ORIENTATION\_MODE\_ADAPTIVE}{ORIENTATION\_MODE\_ADAPTIVE}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N\+\_\+\+M\+O\+D\+E.\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N\+\_\+\+M\+O\+D\+E\+\_\+\+A\+D\+A\+P\+T\+I\+VE =(0)}

0\+: (Default) The adaptive mode.

The output video always follows the orientation of the captured video, because the receiver takes the rotational information passed on from the video encoder. Mainly used between Agora’s S\+D\+Ks.

If the captured video is in landscape mode, the output video is in landscape mode. If the captured video is in portrait mode, the output video is in portrait mode. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e_a6c3a7540b78b06569afe8b6907589636}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e_a6c3a7540b78b06569afe8b6907589636}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE@{io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE}!ORIENTATION\_MODE\_FIXED\_LANDSCAPE@{ORIENTATION\_MODE\_FIXED\_LANDSCAPE}}
\index{ORIENTATION\_MODE\_FIXED\_LANDSCAPE@{ORIENTATION\_MODE\_FIXED\_LANDSCAPE}!io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE@{io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE}}
\doxysubsubsection{\texorpdfstring{ORIENTATION\_MODE\_FIXED\_LANDSCAPE}{ORIENTATION\_MODE\_FIXED\_LANDSCAPE}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N\+\_\+\+M\+O\+D\+E.\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N\+\_\+\+M\+O\+D\+E\+\_\+\+F\+I\+X\+E\+D\+\_\+\+L\+A\+N\+D\+S\+C\+A\+PE =(1)}


\begin{DoxyEnumerate}
\item The landscape mode.
\end{DoxyEnumerate}

The output video is always in landscape mode. If the captured video is in portrait mode, the video encoder crops it to fit the output. Applies to situations where the receiving end cannot process the rotational information. For example, C\+DN live streaming. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e_a16cb69e1c8b305d80648c220863958ea}\label{enumio_1_1agora_1_1rtc2_1_1video_1_1_video_encoder_configuration_1_1_o_r_i_e_n_t_a_t_i_o_n___m_o_d_e_a16cb69e1c8b305d80648c220863958ea}} 
\index{io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE@{io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE}!ORIENTATION\_MODE\_FIXED\_PORTRAIT@{ORIENTATION\_MODE\_FIXED\_PORTRAIT}}
\index{ORIENTATION\_MODE\_FIXED\_PORTRAIT@{ORIENTATION\_MODE\_FIXED\_PORTRAIT}!io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE@{io.agora.rtc2.video.VideoEncoderConfiguration.ORIENTATION\_MODE}}
\doxysubsubsection{\texorpdfstring{ORIENTATION\_MODE\_FIXED\_PORTRAIT}{ORIENTATION\_MODE\_FIXED\_PORTRAIT}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+video.\+Video\+Encoder\+Configuration.\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N\+\_\+\+M\+O\+D\+E.\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N\+\_\+\+M\+O\+D\+E\+\_\+\+F\+I\+X\+E\+D\+\_\+\+P\+O\+R\+T\+R\+A\+IT =(2)}


\begin{DoxyEnumerate}
\item The portrait mode.
\end{DoxyEnumerate}

The output video is always in portrait mode. If the captured video is in landscape mode, the video encoder crops it to fit the output. Applies to situations where the receiving end cannot process the rotational information. For example, C\+DN live streaming. 