\hypertarget{structagora_1_1rtc_1_1_camera_capturer_configuration}{}\doxysection{agora\+::rtc\+::Camera\+Capturer\+Configuration Struct Reference}
\label{structagora_1_1rtc_1_1_camera_capturer_configuration}\index{agora::rtc::CameraCapturerConfiguration@{agora::rtc::CameraCapturerConfiguration}}


The camera capturer preference.  




{\ttfamily \#include $<$I\+Agora\+Rtc\+Engine.\+h$>$}

\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ const char $\ast$ $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_camera_capturer_configuration_ab8fed7c5f12d91702469b857e9187cff}{device\+Id}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_camera_capturer_configuration_a8e5dcbc12757c3966945c95f7fa344a7}{follow\+Encode\+Dimension\+Ratio}}
\item 
\mbox{\hyperlink{structagora_1_1rtc_1_1_video_format}{Video\+Format}} \mbox{\hyperlink{structagora_1_1rtc_1_1_camera_capturer_configuration_a758b09b7e72c07a21d0c1d96db3fc7d7}{format}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The camera capturer preference. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_camera_capturer_configuration_ab8fed7c5f12d91702469b857e9187cff}\label{structagora_1_1rtc_1_1_camera_capturer_configuration_ab8fed7c5f12d91702469b857e9187cff}} 
\index{agora::rtc::CameraCapturerConfiguration@{agora::rtc::CameraCapturerConfiguration}!deviceId@{deviceId}}
\index{deviceId@{deviceId}!agora::rtc::CameraCapturerConfiguration@{agora::rtc::CameraCapturerConfiguration}}
\doxysubsubsection{\texorpdfstring{deviceId}{deviceId}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$const char $\ast$$>$ agora\+::rtc\+::\+Camera\+Capturer\+Configuration\+::device\+Id}

Camera direction settings (for Android/i\+OS only). See\+: \#\+C\+A\+M\+E\+R\+A\+\_\+\+D\+I\+R\+E\+C\+T\+I\+ON. The camera ID. The maximum length is {\ttfamily M\+A\+X\+\_\+\+D\+E\+V\+I\+C\+E\+\_\+\+I\+D\+\_\+\+L\+E\+N\+G\+T\+H\+\_\+\+T\+Y\+PE}. \begin{DoxyNote}{Note}
This parameter is for Windows and mac\+OS only. 
\end{DoxyNote}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_camera_capturer_configuration_a8e5dcbc12757c3966945c95f7fa344a7}\label{structagora_1_1rtc_1_1_camera_capturer_configuration_a8e5dcbc12757c3966945c95f7fa344a7}} 
\index{agora::rtc::CameraCapturerConfiguration@{agora::rtc::CameraCapturerConfiguration}!followEncodeDimensionRatio@{followEncodeDimensionRatio}}
\index{followEncodeDimensionRatio@{followEncodeDimensionRatio}!agora::rtc::CameraCapturerConfiguration@{agora::rtc::CameraCapturerConfiguration}}
\doxysubsubsection{\texorpdfstring{followEncodeDimensionRatio}{followEncodeDimensionRatio}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Camera\+Capturer\+Configuration\+::follow\+Encode\+Dimension\+Ratio}

(\mbox{\hyperlink{classagora_1_1_optional}{Optional}}) Whether to follow the video aspect ratio set in {\ttfamily set\+Video\+Encoder\+Configuration}\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: (Default) Follow the set video aspect ratio. The S\+DK crops the captured video according to the set video aspect ratio and synchronously changes the local preview screen and the video frame in {\ttfamily on\+Capture\+Video\+Frame} and {\ttfamily on\+Pre\+Encode\+Video\+Frame}.
\item {\ttfamily false}\+: Do not follow the system default audio playback device. The S\+DK does not change the aspect ratio of the captured video frame. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_camera_capturer_configuration_a758b09b7e72c07a21d0c1d96db3fc7d7}\label{structagora_1_1rtc_1_1_camera_capturer_configuration_a758b09b7e72c07a21d0c1d96db3fc7d7}} 
\index{agora::rtc::CameraCapturerConfiguration@{agora::rtc::CameraCapturerConfiguration}!format@{format}}
\index{format@{format}!agora::rtc::CameraCapturerConfiguration@{agora::rtc::CameraCapturerConfiguration}}
\doxysubsubsection{\texorpdfstring{format}{format}}
{\footnotesize\ttfamily \mbox{\hyperlink{structagora_1_1rtc_1_1_video_format}{Video\+Format}} agora\+::rtc\+::\+Camera\+Capturer\+Configuration\+::format}

(\mbox{\hyperlink{classagora_1_1_optional}{Optional}}) The format of the video frame. See {\ttfamily \mbox{\hyperlink{structagora_1_1rtc_1_1_video_format}{Video\+Format}}}. 