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