\hypertarget{structagora_1_1rtc_1_1_echo_test_configuration}{}\doxysection{agora\+::rtc\+::Echo\+Test\+Configuration Struct Reference}
\label{structagora_1_1rtc_1_1_echo_test_configuration}\index{agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}}


The configuration of the audio and video call loop test.  




{\ttfamily \#include $<$Agora\+Base.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structagora_1_1rtc_1_1_echo_test_configuration_a85ae610d7348775780da44487bf9be8a}\label{structagora_1_1rtc_1_1_echo_test_configuration_a85ae610d7348775780da44487bf9be8a}} 
{\bfseries Echo\+Test\+Configuration} (view\+\_\+t v, bool ea, bool ev, const char $\ast$t, const char $\ast$c, const int is)
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
view\+\_\+t \mbox{\hyperlink{structagora_1_1rtc_1_1_echo_test_configuration_a2bfc5caf8ce19413eb8e1d6557a5ef77}{view}}
\item 
bool \mbox{\hyperlink{structagora_1_1rtc_1_1_echo_test_configuration_a6850494d01de67550cfd3fd86192eb5b}{enable\+Audio}}
\item 
bool \mbox{\hyperlink{structagora_1_1rtc_1_1_echo_test_configuration_a4f11ec92f5db67f38488e3ffa412b564}{enable\+Video}}
\item 
const char $\ast$ \mbox{\hyperlink{structagora_1_1rtc_1_1_echo_test_configuration_aaf8e89df3d3aa0e480f3f69f7b40ca7c}{token}}
\item 
const char $\ast$ \mbox{\hyperlink{structagora_1_1rtc_1_1_echo_test_configuration_a401ae7c9c77a21405c5555b16f299083}{channel\+Id}}
\item 
int \mbox{\hyperlink{structagora_1_1rtc_1_1_echo_test_configuration_a9335bedcaac26324d07d9c311bbae12b}{interval\+In\+Seconds}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The configuration of the audio and video call loop test. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_echo_test_configuration_a2bfc5caf8ce19413eb8e1d6557a5ef77}\label{structagora_1_1rtc_1_1_echo_test_configuration_a2bfc5caf8ce19413eb8e1d6557a5ef77}} 
\index{agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}!view@{view}}
\index{view@{view}!agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}}
\doxysubsubsection{\texorpdfstring{view}{view}}
{\footnotesize\ttfamily view\+\_\+t agora\+::rtc\+::\+Echo\+Test\+Configuration\+::view}

The view used to render the local user\textquotesingle{}s video. This parameter is only applicable to scenarios testing video devices, that is, when {\ttfamily enable\+Video} is true. \mbox{\Hypertarget{structagora_1_1rtc_1_1_echo_test_configuration_a6850494d01de67550cfd3fd86192eb5b}\label{structagora_1_1rtc_1_1_echo_test_configuration_a6850494d01de67550cfd3fd86192eb5b}} 
\index{agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}!enableAudio@{enableAudio}}
\index{enableAudio@{enableAudio}!agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}}
\doxysubsubsection{\texorpdfstring{enableAudio}{enableAudio}}
{\footnotesize\ttfamily bool agora\+::rtc\+::\+Echo\+Test\+Configuration\+::enable\+Audio}

Whether to enable the audio device for the loop test\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: (Default) Enable the audio device. To test the audio device, set this parameter as true.
\item {\ttfamily false}\+: Disable the audio device. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_echo_test_configuration_a4f11ec92f5db67f38488e3ffa412b564}\label{structagora_1_1rtc_1_1_echo_test_configuration_a4f11ec92f5db67f38488e3ffa412b564}} 
\index{agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}!enableVideo@{enableVideo}}
\index{enableVideo@{enableVideo}!agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}}
\doxysubsubsection{\texorpdfstring{enableVideo}{enableVideo}}
{\footnotesize\ttfamily bool agora\+::rtc\+::\+Echo\+Test\+Configuration\+::enable\+Video}

Whether to enable the video device for the loop test\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: (Default) Enable the video device. To test the video device, set this parameter as true.
\item {\ttfamily false}\+: Disable the video device. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_echo_test_configuration_aaf8e89df3d3aa0e480f3f69f7b40ca7c}\label{structagora_1_1rtc_1_1_echo_test_configuration_aaf8e89df3d3aa0e480f3f69f7b40ca7c}} 
\index{agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}!token@{token}}
\index{token@{token}!agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}}
\doxysubsubsection{\texorpdfstring{token}{token}}
{\footnotesize\ttfamily const char$\ast$ agora\+::rtc\+::\+Echo\+Test\+Configuration\+::token}

The token used to secure the audio and video call loop test. If you do not enable App Certificate in Agora Console, you do not need to pass a value in this parameter; if you have enabled App Certificate in Agora Console, you must pass a token in this parameter; the {\ttfamily uid} used when you generate the token must be 0x\+F\+F\+F\+F\+F\+F\+FF, and the channel name used must be the channel name that identifies each audio and video call loop tested. For server-\/side token generation, see . \mbox{\Hypertarget{structagora_1_1rtc_1_1_echo_test_configuration_a401ae7c9c77a21405c5555b16f299083}\label{structagora_1_1rtc_1_1_echo_test_configuration_a401ae7c9c77a21405c5555b16f299083}} 
\index{agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}!channelId@{channelId}}
\index{channelId@{channelId}!agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}}
\doxysubsubsection{\texorpdfstring{channelId}{channelId}}
{\footnotesize\ttfamily const char$\ast$ agora\+::rtc\+::\+Echo\+Test\+Configuration\+::channel\+Id}

The channel name that identifies each audio and video call loop. To ensure proper loop test functionality, the channel name passed in to identify each loop test cannot be the same when users of the same project (App ID) perform audio and video call loop tests on different devices. \mbox{\Hypertarget{structagora_1_1rtc_1_1_echo_test_configuration_a9335bedcaac26324d07d9c311bbae12b}\label{structagora_1_1rtc_1_1_echo_test_configuration_a9335bedcaac26324d07d9c311bbae12b}} 
\index{agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}!intervalInSeconds@{intervalInSeconds}}
\index{intervalInSeconds@{intervalInSeconds}!agora::rtc::EchoTestConfiguration@{agora::rtc::EchoTestConfiguration}}
\doxysubsubsection{\texorpdfstring{intervalInSeconds}{intervalInSeconds}}
{\footnotesize\ttfamily int agora\+::rtc\+::\+Echo\+Test\+Configuration\+::interval\+In\+Seconds}

Set the time interval or delay for returning the results of the audio and video loop test. The value range is \mbox{[}2,10\mbox{]}, in seconds, with the default value being 2 seconds.
\begin{DoxyItemize}
\item For audio loop tests, the test results will be returned according to the time interval you set.
\item For video loop tests, the video will be displayed in a short time, after which the delay will gradually increase until it reaches the delay you set. 
\end{DoxyItemize}