\hypertarget{structagora_1_1rtc_1_1_audio_enc_frame_recv_params}{}\doxysection{agora\+::rtc\+::Audio\+Enc\+Frame\+Recv\+Params Struct Reference}
\label{structagora_1_1rtc_1_1_audio_enc_frame_recv_params}\index{agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}}


{\ttfamily \#include $<$N\+G\+I\+Agora\+Audio\+Track.\+h$>$}

\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7e}{Receive\+Mode}} \{ \mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7eaab500ab025eba425dc5d14994afc1da2}{O\+R\+I\+G\+I\+N\+AL}} = 0, 
\mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7eab931fa87d7235b212a5e9745fd81a5b8}{M\+A\+T\+C\+H\+E\+D\+\_\+\+C\+O\+D\+EC}} = 1, 
\mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7ea86f86f9fe3e665641473daffa6c71741}{M\+A\+T\+C\+H\+E\+D\+\_\+\+A\+LL}} = 2
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ac4aa4559493cfffc416d4c27ab2ff76a}\label{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ac4aa4559493cfffc416d4c27ab2ff76a}} 
{\bfseries Audio\+Enc\+Frame\+Recv\+Params} (const \mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params}{Audio\+Enc\+Frame\+Recv\+Params}} \&src\+\_\+params)
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7e}{Receive\+Mode}} \mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_a92b3b0941347c6e65731d4f563ac6bac}{receive\+\_\+mode}}
\item 
A\+U\+D\+I\+O\+\_\+\+C\+O\+D\+E\+C\+\_\+\+T\+Y\+PE \mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_acf18c8513d9549ccd226434bf0e61003}{target\+\_\+codec}}
\item 
int32\+\_\+t \mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_a18216f404740aac5c65b938aa8d76501}{target\+\_\+sample\+\_\+rate}}
\item 
int32\+\_\+t \mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_a8894bd86475d4c5f35a94a72f1ce4219}{target\+\_\+num\+\_\+channels}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Properties of receive parameters for \mbox{\hyperlink{classagora_1_1rtc_1_1_i_audio_encoded_frame_receiver}{I\+Audio\+Encoded\+Frame\+Receiver}} 

\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7e}\label{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7e}} 
\index{agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}!ReceiveMode@{ReceiveMode}}
\index{ReceiveMode@{ReceiveMode}!agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}}
\doxysubsubsection{\texorpdfstring{ReceiveMode}{ReceiveMode}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7e}{agora\+::rtc\+::\+Audio\+Enc\+Frame\+Recv\+Params\+::\+Receive\+Mode}}}

The callback mode of \mbox{\hyperlink{classagora_1_1rtc_1_1_i_audio_encoded_frame_receiver}{I\+Audio\+Encoded\+Frame\+Receiver}} \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ORIGINAL@{ORIGINAL}!agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}}\index{agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}!ORIGINAL@{ORIGINAL}}}\mbox{\Hypertarget{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7eaab500ab025eba425dc5d14994afc1da2}\label{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7eaab500ab025eba425dc5d14994afc1da2}} 
O\+R\+I\+G\+I\+N\+AL&\mbox{\hyperlink{classagora_1_1rtc_1_1_i_audio_encoded_frame_receiver}{I\+Audio\+Encoded\+Frame\+Receiver}} callback the down-\/link audio packet directly \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MATCHED\_CODEC@{MATCHED\_CODEC}!agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}}\index{agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}!MATCHED\_CODEC@{MATCHED\_CODEC}}}\mbox{\Hypertarget{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7eab931fa87d7235b212a5e9745fd81a5b8}\label{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7eab931fa87d7235b212a5e9745fd81a5b8}} 
M\+A\+T\+C\+H\+E\+D\+\_\+\+C\+O\+D\+EC&\mbox{\hyperlink{classagora_1_1rtc_1_1_i_audio_encoded_frame_receiver}{I\+Audio\+Encoded\+Frame\+Receiver}} whill callback the original down-\/link audio packet while the codec of down-\/link packet is same as target\+\_\+codec.

Othewise convert down-\/link audio packet to new target packet which parameter contain the combination of (target\+\_\+codec, target\+\_\+sample\+\_\+rate, target\+\_\+sample\+\_\+rate). \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MATCHED\_ALL@{MATCHED\_ALL}!agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}}\index{agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}!MATCHED\_ALL@{MATCHED\_ALL}}}\mbox{\Hypertarget{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7ea86f86f9fe3e665641473daffa6c71741}\label{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7ea86f86f9fe3e665641473daffa6c71741}} 
M\+A\+T\+C\+H\+E\+D\+\_\+\+A\+LL&\mbox{\hyperlink{classagora_1_1rtc_1_1_i_audio_encoded_frame_receiver}{I\+Audio\+Encoded\+Frame\+Receiver}} whill callback the original down-\/link audio packet while the combination of (codec, sampling rate, channels) of down-\/link packet is same as the combination of (target\+\_\+codec, target\+\_\+sample\+\_\+rate, target\+\_\+sample\+\_\+rate).

Othewise convert down-\/link audio packet to new target packet which parameter contain the combination of (target\+\_\+codec, target\+\_\+sample\+\_\+rate, target\+\_\+sample\+\_\+rate). \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_a92b3b0941347c6e65731d4f563ac6bac}\label{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_a92b3b0941347c6e65731d4f563ac6bac}} 
\index{agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}!receive\_mode@{receive\_mode}}
\index{receive\_mode@{receive\_mode}!agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}}
\doxysubsubsection{\texorpdfstring{receive\_mode}{receive\_mode}}
{\footnotesize\ttfamily \mbox{\hyperlink{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_ab0fb4c870e62353b3210933a4c82af7e}{Receive\+Mode}} agora\+::rtc\+::\+Audio\+Enc\+Frame\+Recv\+Params\+::receive\+\_\+mode}

The trans mode of audio packet \mbox{\Hypertarget{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_acf18c8513d9549ccd226434bf0e61003}\label{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_acf18c8513d9549ccd226434bf0e61003}} 
\index{agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}!target\_codec@{target\_codec}}
\index{target\_codec@{target\_codec}!agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}}
\doxysubsubsection{\texorpdfstring{target\_codec}{target\_codec}}
{\footnotesize\ttfamily A\+U\+D\+I\+O\+\_\+\+C\+O\+D\+E\+C\+\_\+\+T\+Y\+PE agora\+::rtc\+::\+Audio\+Enc\+Frame\+Recv\+Params\+::target\+\_\+codec}

The audio codec of target audio packet \mbox{\Hypertarget{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_a18216f404740aac5c65b938aa8d76501}\label{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_a18216f404740aac5c65b938aa8d76501}} 
\index{agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}!target\_sample\_rate@{target\_sample\_rate}}
\index{target\_sample\_rate@{target\_sample\_rate}!agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}}
\doxysubsubsection{\texorpdfstring{target\_sample\_rate}{target\_sample\_rate}}
{\footnotesize\ttfamily int32\+\_\+t agora\+::rtc\+::\+Audio\+Enc\+Frame\+Recv\+Params\+::target\+\_\+sample\+\_\+rate}

The sample rate HZ of target audio packet \mbox{\Hypertarget{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_a8894bd86475d4c5f35a94a72f1ce4219}\label{structagora_1_1rtc_1_1_audio_enc_frame_recv_params_a8894bd86475d4c5f35a94a72f1ce4219}} 
\index{agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}!target\_num\_channels@{target\_num\_channels}}
\index{target\_num\_channels@{target\_num\_channels}!agora::rtc::AudioEncFrameRecvParams@{agora::rtc::AudioEncFrameRecvParams}}
\doxysubsubsection{\texorpdfstring{target\_num\_channels}{target\_num\_channels}}
{\footnotesize\ttfamily int32\+\_\+t agora\+::rtc\+::\+Audio\+Enc\+Frame\+Recv\+Params\+::target\+\_\+num\+\_\+channels}

The channel numbers of target audio packet 