Add support for ICE/STUN/TURN in res_rtp_asterisk and chan_sip.
[asterisk/asterisk.git] / res / pjproject / tests / pjsua / scripts-pesq / 201_codec_l16_8000.py
1 # $Id$
2 #
3 from inc_cfg import *
4
5 # Call with L16/8000/1 codec
6 test_param = TestParam(
7                 "PESQ codec L16/8000/1 (RX side uses snd dev)",
8                 [
9                         InstanceParam("UA1", "--max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"),
10                         InstanceParam("UA2", "--max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --rec-file  wavs/tmp.8.wav   --auto-answer 200")
11                 ]
12                 )
13
14 if (HAS_SND_DEV == 0):
15         test_param.skip = True
16
17 pesq_threshold = 3.5