201_codec_l16_16000_stereo.py 479 B

12345678910111213141516
  1. #
  2. from inc_cfg import *
  3. # Call with L16/16000/2 codec
  4. test_param = TestParam(
  5. "PESQ defaults pjsua settings",
  6. [
  7. InstanceParam("UA1", "--stereo --max-calls=1 --clock-rate 16000 --add-codec L16/16000/2 --play-file wavs/input.2.16.wav --null-audio"),
  8. InstanceParam("UA2", "--stereo --max-calls=1 --clock-rate 16000 --add-codec L16/16000/2 --rec-file wavs/tmp.2.16.wav --auto-answer 200")
  9. ]
  10. )
  11. if (HAS_SND_DEV == 0):
  12. test_param.skip = True
  13. pesq_threshold = None