\hypertarget{classagora_1_1rtc_1_1_i_extension_encoder_callback}{}\doxysection{agora\+::rtc\+::I\+Extension\+Encoder\+Callback Class Reference}
\label{classagora_1_1rtc_1_1_i_extension_encoder_callback}\index{agora::rtc::IExtensionEncoderCallback@{agora::rtc::IExtensionEncoderCallback}}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \mbox{\hyperlink{classagora_1_1rtc_1_1_i_extension_encoder_callback_abd44539d4f37777f50822e14a7614732}{on\+Encoded\+Image}} (const \mbox{\hyperlink{classagora_1_1rtc_1_1_extension_encoded_image}{Extension\+Encoded\+Image}} $\ast$img, const char $\ast$extended\+\_\+info\+\_\+json)=0
\item 
virtual void \mbox{\hyperlink{classagora_1_1rtc_1_1_i_extension_encoder_callback_ab626096fae70d2b53f157938b58c9f9b}{print\+Log}} (commons\+::\+L\+O\+G\+\_\+\+L\+E\+V\+EL level, const char $\ast$format,...)=0
\end{DoxyCompactItemize}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classagora_1_1rtc_1_1_i_extension_encoder_callback_abd44539d4f37777f50822e14a7614732}\label{classagora_1_1rtc_1_1_i_extension_encoder_callback_abd44539d4f37777f50822e14a7614732}} 
\index{agora::rtc::IExtensionEncoderCallback@{agora::rtc::IExtensionEncoderCallback}!onEncodedImage@{onEncodedImage}}
\index{onEncodedImage@{onEncodedImage}!agora::rtc::IExtensionEncoderCallback@{agora::rtc::IExtensionEncoderCallback}}
\doxysubsubsection{\texorpdfstring{onEncodedImage()}{onEncodedImage()}}
{\footnotesize\ttfamily virtual void agora\+::rtc\+::\+I\+Extension\+Encoder\+Callback\+::on\+Encoded\+Image (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classagora_1_1rtc_1_1_extension_encoded_image}{Extension\+Encoded\+Image}} $\ast$}]{img,  }\item[{const char $\ast$}]{extended\+\_\+info\+\_\+json }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}

Called when a video frame has been successfully encoded. 
\begin{DoxyParams}{Parameters}
{\em img} & A pointer to the encoded image data. \\
\hline
{\em extended\+\_\+info\+\_\+json} & A J\+S\+ON formatted string containing additional information about the encoded frame. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classagora_1_1rtc_1_1_i_extension_encoder_callback_ab626096fae70d2b53f157938b58c9f9b}\label{classagora_1_1rtc_1_1_i_extension_encoder_callback_ab626096fae70d2b53f157938b58c9f9b}} 
\index{agora::rtc::IExtensionEncoderCallback@{agora::rtc::IExtensionEncoderCallback}!printLog@{printLog}}
\index{printLog@{printLog}!agora::rtc::IExtensionEncoderCallback@{agora::rtc::IExtensionEncoderCallback}}
\doxysubsubsection{\texorpdfstring{printLog()}{printLog()}}
{\footnotesize\ttfamily virtual void agora\+::rtc\+::\+I\+Extension\+Encoder\+Callback\+::print\+Log (\begin{DoxyParamCaption}\item[{commons\+::\+L\+O\+G\+\_\+\+L\+E\+V\+EL}]{level,  }\item[{const char $\ast$}]{format,  }\item[{}]{... }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}

Logs messages at various log levels. 
\begin{DoxyParams}{Parameters}
{\em level} & The log level indicating the severity of the message (e.\+g., I\+N\+FO, W\+A\+R\+N\+I\+NG, E\+R\+R\+OR). \\
\hline
{\em format} & A format string for the log message, similar to printf formatting. \\
\hline
{\em ...} & Additional arguments to format the log message. \\
\hline
\end{DoxyParams}
