From cc9a1dfcad32d7ba6604fa583040c3e684ae1165 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 18 Aug 2010 11:41:30 +0000 Subject: Automated test (re #1111): workaround for failed Speex PESQ test caused by progressive discard in the jitter buffer: disable the VAD for the Speex tests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3285 74dad513-b988-da41-8d7b-12977e46ad98 --- tests/pjsua/scripts-pesq/100_defaults.py | 4 ++-- tests/pjsua/scripts-pesq/200_codec_speex_16000.py | 4 ++-- tests/pjsua/scripts-pesq/200_codec_speex_8000.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/pjsua/scripts-pesq/100_defaults.py b/tests/pjsua/scripts-pesq/100_defaults.py index 2901f469..d173062d 100644 --- a/tests/pjsua/scripts-pesq/100_defaults.py +++ b/tests/pjsua/scripts-pesq/100_defaults.py @@ -11,9 +11,9 @@ if (HAS_SND_DEV == 0): test_param = TestParam( "PESQ defaults pjsua settings", [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --play-file wavs/input.16.wav"), + InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --play-file wavs/input.16.wav --no-vad"), InstanceParam("UA2", "--null-audio --max-calls=1 --rec-file wavs/tmp.16.wav --clock-rate 16000 --auto-answer 200") ] ) -pesq_threshold = None +pesq_threshold = 3.9 diff --git a/tests/pjsua/scripts-pesq/200_codec_speex_16000.py b/tests/pjsua/scripts-pesq/200_codec_speex_16000.py index 448e04cb..62f58ab9 100644 --- a/tests/pjsua/scripts-pesq/200_codec_speex_16000.py +++ b/tests/pjsua/scripts-pesq/200_codec_speex_16000.py @@ -11,9 +11,9 @@ if (HAS_SND_DEV == 0): test_param = TestParam( "PESQ codec Speex WB", [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav"), + InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav --no-vad"), InstanceParam("UA2", "--null-audio --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --rec-file wavs/tmp.16.wav --auto-answer 200") ] ) -pesq_threshold = 3.7 +pesq_threshold = 3.9 diff --git a/tests/pjsua/scripts-pesq/200_codec_speex_8000.py b/tests/pjsua/scripts-pesq/200_codec_speex_8000.py index cf4b169d..2a754bdc 100644 --- a/tests/pjsua/scripts-pesq/200_codec_speex_8000.py +++ b/tests/pjsua/scripts-pesq/200_codec_speex_8000.py @@ -11,9 +11,9 @@ if (HAS_SND_DEV == 0): test_param = TestParam( "PESQ codec Speex NB", [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec speex/8000 --clock-rate 8000 --play-file wavs/input.8.wav"), + InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec speex/8000 --clock-rate 8000 --play-file wavs/input.8.wav --no-vad"), InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec speex/8000 --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") ] ) -pesq_threshold = 3.0 +pesq_threshold = 3.78 -- cgit v1.2.3