\hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration}{}\doxysection{io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration Class Reference}
\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration}\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a3f307d6b27317a52863f284b8de298e0}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a3f307d6b27317a52863f284b8de298e0}} 
{\bfseries Media\+Recorder\+Configuration} (String \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a104a7a7a113151c82e95228f6e7b8443}{storage\+Path}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ab0dd0123ab31b402b9ff975d4f67ffd4}{container\+Format}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_aef4053503622ce7722ceb9f37042729c}{stream\+Type}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a06c0a9b124b80f872447289789c89462}{max\+Duration\+Ms}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ac25f40ef3d77eb0ba3790f78076461aa}{recorder\+Info\+Update\+Interval}})
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a270c7a677b6dc5644f750ac8680e4b84}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a270c7a677b6dc5644f750ac8680e4b84}} 
{\bfseries Media\+Recorder\+Configuration} (String \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a104a7a7a113151c82e95228f6e7b8443}{storage\+Path}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ab0dd0123ab31b402b9ff975d4f67ffd4}{container\+Format}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_aef4053503622ce7722ceb9f37042729c}{stream\+Type}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a06c0a9b124b80f872447289789c89462}{max\+Duration\+Ms}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ac25f40ef3d77eb0ba3790f78076461aa}{recorder\+Info\+Update\+Interval}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a933c7e54a2cec0ea08439bdc3a5414e2}{width}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a18cebc937072efea43680942b5d78561}{height}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a2cacd1deaa3bc955b348c876af6d6eee}{fps}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ae1184d3ffd7ee9a7f918142e511bfad2}{sample\+\_\+rate}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a0ceb8e76358ab49d493e7a5585a96e9e}{channel\+\_\+num}}, int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a8d55d7a7468dd990dae4dba3d9d28ee0}{video\+Source\+Type}})
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a104a7a7a113151c82e95228f6e7b8443}{storage\+Path}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ab0dd0123ab31b402b9ff975d4f67ffd4}{container\+Format}} = \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_aac18d6e91cc7be6acc3ddd8d4eb026f9}{C\+O\+N\+T\+A\+I\+N\+E\+R\+\_\+\+M\+P4}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_aef4053503622ce7722ceb9f37042729c}{stream\+Type}} = \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_af0a185b86df6eb4d3111b87604ccc1f1}{S\+T\+R\+E\+A\+M\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+O\+TH}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a06c0a9b124b80f872447289789c89462}{max\+Duration\+Ms}} = 120000
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ac25f40ef3d77eb0ba3790f78076461aa}{recorder\+Info\+Update\+Interval}} = 0
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a933c7e54a2cec0ea08439bdc3a5414e2}{width}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a18cebc937072efea43680942b5d78561}{height}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a2cacd1deaa3bc955b348c876af6d6eee}{fps}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ae1184d3ffd7ee9a7f918142e511bfad2}{sample\+\_\+rate}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a0ceb8e76358ab49d493e7a5585a96e9e}{channel\+\_\+num}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a8d55d7a7468dd990dae4dba3d9d28ee0}{video\+Source\+Type}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Configurations for the local audio and video recording.

\begin{DoxySince}{Since}
v3.\+5.\+2 
\end{DoxySince}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a104a7a7a113151c82e95228f6e7b8443}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a104a7a7a113151c82e95228f6e7b8443}} 
\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}!storagePath@{storagePath}}
\index{storagePath@{storagePath}!io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsubsection{\texorpdfstring{storagePath}{storagePath}}
{\footnotesize\ttfamily String io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration.\+storage\+Path}

The absolute path (including the filename extensions) for the recording file. For example, {\ttfamily /storage/emulated/0/\+Android/data/$<$package name$>$/files/example.mp4}.

\begin{DoxyNote}{Note}
Ensure that the specified path exists and is writable. 
\end{DoxyNote}
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ab0dd0123ab31b402b9ff975d4f67ffd4}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ab0dd0123ab31b402b9ff975d4f67ffd4}} 
\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}!containerFormat@{containerFormat}}
\index{containerFormat@{containerFormat}!io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsubsection{\texorpdfstring{containerFormat}{containerFormat}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration.\+container\+Format = \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_aac18d6e91cc7be6acc3ddd8d4eb026f9}{C\+O\+N\+T\+A\+I\+N\+E\+R\+\_\+\+M\+P4}}}

The format of the recording file. The S\+DK currently supports only \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_aac18d6e91cc7be6acc3ddd8d4eb026f9}{C\+O\+N\+T\+A\+I\+N\+E\+R\+\_\+\+M\+P4(1)}}. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_aef4053503622ce7722ceb9f37042729c}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_aef4053503622ce7722ceb9f37042729c}} 
\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}!streamType@{streamType}}
\index{streamType@{streamType}!io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsubsection{\texorpdfstring{streamType}{streamType}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration.\+stream\+Type = \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_af0a185b86df6eb4d3111b87604ccc1f1}{S\+T\+R\+E\+A\+M\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+O\+TH}}}

The recording content\+:
\begin{DoxyItemize}
\item \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_a6e110d62525ac8b01f9a01fe2eebb752}{S\+T\+R\+E\+A\+M\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+I\+O(0x1)}}\+: Only audio.
\item \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_a1a30361aec61fc3070d1df58238dbd7f}{S\+T\+R\+E\+A\+M\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+E\+O(0x2)}}\+: Only video.
\item \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_af0a185b86df6eb4d3111b87604ccc1f1}{S\+T\+R\+E\+A\+M\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+O\+T\+H(0x3)}}\+: (Default) Audio and video. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a06c0a9b124b80f872447289789c89462}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a06c0a9b124b80f872447289789c89462}} 
\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}!maxDurationMs@{maxDurationMs}}
\index{maxDurationMs@{maxDurationMs}!io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsubsection{\texorpdfstring{maxDurationMs}{maxDurationMs}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration.\+max\+Duration\+Ms = 120000}

The maximum recording duration, in milliseconds. The default value is 120000. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ac25f40ef3d77eb0ba3790f78076461aa}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ac25f40ef3d77eb0ba3790f78076461aa}} 
\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}!recorderInfoUpdateInterval@{recorderInfoUpdateInterval}}
\index{recorderInfoUpdateInterval@{recorderInfoUpdateInterval}!io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsubsection{\texorpdfstring{recorderInfoUpdateInterval}{recorderInfoUpdateInterval}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration.\+recorder\+Info\+Update\+Interval = 0}

The interval (ms) of updating the recording information. The value range is \mbox{[}1000,10000\mbox{]}. Based on the set value of {\ttfamily recorder\+Info\+Update\+Interval}, the S\+DK triggers the \{\mbox{\hyperlink{}{on\+Recorder\+Info\+Updated\} callback to report the updated recording information. }}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a933c7e54a2cec0ea08439bdc3a5414e2}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a933c7e54a2cec0ea08439bdc3a5414e2}} 
\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}!width@{width}}
\index{width@{width}!io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsubsection{\texorpdfstring{width}{width}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration.\+width}

The video width \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a18cebc937072efea43680942b5d78561}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a18cebc937072efea43680942b5d78561}} 
\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}!height@{height}}
\index{height@{height}!io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsubsection{\texorpdfstring{height}{height}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration.\+height}

The video height \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a2cacd1deaa3bc955b348c876af6d6eee}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a2cacd1deaa3bc955b348c876af6d6eee}} 
\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}!fps@{fps}}
\index{fps@{fps}!io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsubsection{\texorpdfstring{fps}{fps}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration.\+fps}

The video fps \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ae1184d3ffd7ee9a7f918142e511bfad2}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_ae1184d3ffd7ee9a7f918142e511bfad2}} 
\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}!sample\_rate@{sample\_rate}}
\index{sample\_rate@{sample\_rate}!io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsubsection{\texorpdfstring{sample\_rate}{sample\_rate}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration.\+sample\+\_\+rate}

The audio sample rate \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a0ceb8e76358ab49d493e7a5585a96e9e}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a0ceb8e76358ab49d493e7a5585a96e9e}} 
\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}!channel\_num@{channel\_num}}
\index{channel\_num@{channel\_num}!io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsubsection{\texorpdfstring{channel\_num}{channel\_num}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration.\+channel\+\_\+num}

The audio channel nums \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a8d55d7a7468dd990dae4dba3d9d28ee0}\label{classio_1_1agora_1_1rtc2_1_1_agora_media_recorder_1_1_media_recorder_configuration_a8d55d7a7468dd990dae4dba3d9d28ee0}} 
\index{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}!videoSourceType@{videoSourceType}}
\index{videoSourceType@{videoSourceType}!io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration@{io.agora.rtc2.AgoraMediaRecorder.MediaRecorderConfiguration}}
\doxysubsubsection{\texorpdfstring{videoSourceType}{videoSourceType}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Agora\+Media\+Recorder.\+Media\+Recorder\+Configuration.\+video\+Source\+Type}

The video source just for out channel recoder 