diff options
Diffstat (limited to 'pjsip-apps/src/test-pjsua/scripts-call/150_srtp_2_2.py')
-rw-r--r-- | pjsip-apps/src/test-pjsua/scripts-call/150_srtp_2_2.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_2_2.py b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_2_2.py index b03978d9..9ec2ab69 100644 --- a/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_2_2.py +++ b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_2_2.py @@ -1,10 +1,11 @@ # $Id$ # -import inc_cfg +from inc_cfg import * -# Simple call -config = inc_cfg.CallConfig( - title = "Callee=mandatory SRTP, caller=mandatory SRTP", - callee_cfg = inc_cfg.Config(arg="--null-audio --use-srtp=2 --srtp-secure=0"), - caller_cfg = inc_cfg.Config(arg="--null-audio --use-srtp=2 --srtp-secure=0") +test_param = TestParam( + "Callee=mandatory SRTP, caller=mandatory SRTP", + [ + InstanceParam("callee", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1"), + InstanceParam("caller", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1") + ] ) |