diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-08-18 11:41:30 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-08-18 11:41:30 +0000 |
commit | cc9a1dfcad32d7ba6604fa583040c3e684ae1165 (patch) | |
tree | 9812e13e5f145bc1f72f11266d1278b466dbfd46 /tests | |
parent | d2bcef0c70e349488fd9218f7383a1a252cfc516 (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pjsua/scripts-pesq/100_defaults.py | 4 | ||||
-rw-r--r-- | tests/pjsua/scripts-pesq/200_codec_speex_16000.py | 4 | ||||
-rw-r--r-- | tests/pjsua/scripts-pesq/200_codec_speex_8000.py | 4 |
3 files changed, 6 insertions, 6 deletions
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 |