\hypertarget{interfaceio_1_1agora_1_1mediaplayer_1_1_i_media_player_audio_frame_observer}{}\doxysection{io.\+agora.\+mediaplayer.\+I\+Media\+Player\+Audio\+Frame\+Observer Interface Reference}
\label{interfaceio_1_1agora_1_1mediaplayer_1_1_i_media_player_audio_frame_observer}\index{io.agora.mediaplayer.IMediaPlayerAudioFrameObserver@{io.agora.mediaplayer.IMediaPlayerAudioFrameObserver}}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classio_1_1agora_1_1base_1_1_audio_frame}{Audio\+Frame}} \mbox{\hyperlink{interfaceio_1_1agora_1_1mediaplayer_1_1_i_media_player_audio_frame_observer_a1d1a83fa887c5f941f2dc197e37813b4}{on\+Frame}} (\mbox{\hyperlink{classio_1_1agora_1_1base_1_1_audio_frame}{Audio\+Frame}} frame)
\begin{DoxyCompactList}\small\item\em Occurs each time the player receives an audio frame. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{interfaceio_1_1agora_1_1mediaplayer_1_1_i_media_player_audio_frame_observer_a1d1a83fa887c5f941f2dc197e37813b4}\label{interfaceio_1_1agora_1_1mediaplayer_1_1_i_media_player_audio_frame_observer_a1d1a83fa887c5f941f2dc197e37813b4}} 
\index{io.agora.mediaplayer.IMediaPlayerAudioFrameObserver@{io.agora.mediaplayer.IMediaPlayerAudioFrameObserver}!onFrame@{onFrame}}
\index{onFrame@{onFrame}!io.agora.mediaplayer.IMediaPlayerAudioFrameObserver@{io.agora.mediaplayer.IMediaPlayerAudioFrameObserver}}
\doxysubsubsection{\texorpdfstring{onFrame()}{onFrame()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classio_1_1agora_1_1base_1_1_audio_frame}{Audio\+Frame}} io.\+agora.\+mediaplayer.\+I\+Media\+Player\+Audio\+Frame\+Observer.\+on\+Frame (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classio_1_1agora_1_1base_1_1_audio_frame}{Audio\+Frame}}}]{frame }\end{DoxyParamCaption})}



Occurs each time the player receives an audio frame. 

After registering the audio frame observer, the callback occurs every time the player receives an audio frame, reporting the detailed information of the audio frame.


\begin{DoxyParams}{Parameters}
{\em frame} & The audio frame information. See Audio\+Frame.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Passes in the audio data after setting the {\ttfamily mode} parameter in {\ttfamily register\+Audio\+Frame\+Observer} for handling audio data. 
\end{DoxyReturn}
