summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pjsua/scripts-pesq/100_defaults.py4
-rw-r--r--tests/pjsua/scripts-pesq/200_codec_speex_16000.py4
-rw-r--r--tests/pjsua/scripts-pesq/200_codec_speex_8000.py4
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