summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/samples/aectest.c
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/samples/aectest.c')
-rw-r--r--pjsip-apps/src/samples/aectest.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/pjsip-apps/src/samples/aectest.c b/pjsip-apps/src/samples/aectest.c
index 645fd88d..ab887da2 100644
--- a/pjsip-apps/src/samples/aectest.c
+++ b/pjsip-apps/src/samples/aectest.c
@@ -59,7 +59,7 @@ static const char *desc =
" Default is 25 ms. See note below. \n"
" -l Set the echo tail length in ms. Default is 200 ms \n"
" -r Set repeat count (default=1) \n"
-" -a Algorithm: 0=default, 1=speex, 3=echo suppress \n"
+" -a Algorithm: 0=default, 1=speex, 2=echo suppress, 3=WebRtc \n"
" -i Interactive \n"
"\n"
" Note that for the AEC internal buffering mechanism, it is required\n"
@@ -123,12 +123,16 @@ int main(int argc, char *argv[])
switch (alg) {
case 0:
opt = 0;
+ break;
case 1:
opt = PJMEDIA_ECHO_SPEEX;
break;
- case 3:
+ case 2:
opt = PJMEDIA_ECHO_SIMPLE;
break;
+ case 3:
+ opt = PJMEDIA_ECHO_WEBRTC;
+ break;
default:
puts("Invalid algorithm");
puts(desc);