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