\hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_track_type}{}\doxysection{io.\+agora.\+rtc2.\+Constants.\+Audio\+Track\+Type Enum Reference}
\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_track_type}\index{io.agora.rtc2.Constants.AudioTrackType@{io.agora.rtc2.Constants.AudioTrackType}}


The type of the audio track.  


\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_track_type_ae36950a921c2184445cdf0dab79af263}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_track_type_ae36950a921c2184445cdf0dab79af263}} 
static int {\bfseries get\+Value} (\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_track_type}{Audio\+Track\+Type}} type)
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_track_type_a43b21328b8c85a17b3fc0fddb5361230}{A\+U\+D\+I\+O\+\_\+\+T\+R\+A\+C\+K\+\_\+\+M\+I\+X\+A\+B\+LE}} =(0)
\item 
\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_track_type_afc08de02872637d1a966f28cbfde041a}{A\+U\+D\+I\+O\+\_\+\+T\+R\+A\+C\+K\+\_\+\+D\+I\+R\+E\+CT}} =(1)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The type of the audio track. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_track_type_a43b21328b8c85a17b3fc0fddb5361230}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_track_type_a43b21328b8c85a17b3fc0fddb5361230}} 
\index{io.agora.rtc2.Constants.AudioTrackType@{io.agora.rtc2.Constants.AudioTrackType}!AUDIO\_TRACK\_MIXABLE@{AUDIO\_TRACK\_MIXABLE}}
\index{AUDIO\_TRACK\_MIXABLE@{AUDIO\_TRACK\_MIXABLE}!io.agora.rtc2.Constants.AudioTrackType@{io.agora.rtc2.Constants.AudioTrackType}}
\doxysubsubsection{\texorpdfstring{AUDIO\_TRACK\_MIXABLE}{AUDIO\_TRACK\_MIXABLE}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Constants.\+Audio\+Track\+Type.\+A\+U\+D\+I\+O\+\_\+\+T\+R\+A\+C\+K\+\_\+\+M\+I\+X\+A\+B\+LE =(0)}

0\+: Mixable audio tracks. This type of audio track supports mixing with other audio streams (such as audio streams captured by microphone) and playing locally or publishing to channels after mixing. The latency of mixable audio tracks is higher than that of direct audio tracks. \mbox{\Hypertarget{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_track_type_afc08de02872637d1a966f28cbfde041a}\label{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_track_type_afc08de02872637d1a966f28cbfde041a}} 
\index{io.agora.rtc2.Constants.AudioTrackType@{io.agora.rtc2.Constants.AudioTrackType}!AUDIO\_TRACK\_DIRECT@{AUDIO\_TRACK\_DIRECT}}
\index{AUDIO\_TRACK\_DIRECT@{AUDIO\_TRACK\_DIRECT}!io.agora.rtc2.Constants.AudioTrackType@{io.agora.rtc2.Constants.AudioTrackType}}
\doxysubsubsection{\texorpdfstring{AUDIO\_TRACK\_DIRECT}{AUDIO\_TRACK\_DIRECT}}
{\footnotesize\ttfamily io.\+agora.\+rtc2.\+Constants.\+Audio\+Track\+Type.\+A\+U\+D\+I\+O\+\_\+\+T\+R\+A\+C\+K\+\_\+\+D\+I\+R\+E\+CT =(1)}

1\+: Direct audio tracks. This type of audio track will replace the audio streams captured by the microphone and does not support mixing with other audio streams. The latency of direct audio tracks is lower than that of mixable audio tracks. \begin{DoxyNote}{Note}
If {\ttfamily A\+U\+D\+I\+O\+\_\+\+T\+R\+A\+C\+K\+\_\+\+D\+I\+R\+E\+CT} is specified for this parameter, you must set {\ttfamily publish\+Microphone\+Track} to {\ttfamily false} in {\ttfamily \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options}{Channel\+Media\+Options}}} when calling {\ttfamily join\+Channel(String token, String channel\+Id, int uid, \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options}{Channel\+Media\+Options}} options)} to join the channel; otherwise, joining the channel fails and returns the error code -\/2. 
\end{DoxyNote}
