summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/test-pjsua
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-08-07 09:55:52 +0000
committerBenny Prijono <bennylp@teluu.com>2008-08-07 09:55:52 +0000
commitb2a88bf19bf545fbe4da1de0bb40f0e2469dcb46 (patch)
treec3b7bdf4b6e46e9efd876f97365f15d27d764995 /pjsip-apps/src/test-pjsua
parentf0bdf37277b4b7ab3ae03fbc4ddd452269196a1a (diff)
Ticket #586: Added ICE negotiations test to test the scenario when two agents have different number of components
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2196 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/test-pjsua')
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-call/305_ice_comp_1_2.py12
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-call/305_ice_comp_2_1.py12
2 files changed, 24 insertions, 0 deletions
diff --git a/pjsip-apps/src/test-pjsua/scripts-call/305_ice_comp_1_2.py b/pjsip-apps/src/test-pjsua/scripts-call/305_ice_comp_1_2.py
new file mode 100644
index 00000000..7580b204
--- /dev/null
+++ b/pjsip-apps/src/test-pjsua/scripts-call/305_ice_comp_1_2.py
@@ -0,0 +1,12 @@
+# $Id$
+#
+from inc_cfg import *
+
+# Different number of ICE components
+test_param = TestParam(
+ "Callee=use ICE, caller=use ICE",
+ [
+ InstanceParam("callee", "--null-audio --use-ice --max-calls=1 --ice-no-rtcp", enable_buffer=True),
+ InstanceParam("caller", "--null-audio --use-ice --max-calls=1", enable_buffer=True)
+ ]
+ )
diff --git a/pjsip-apps/src/test-pjsua/scripts-call/305_ice_comp_2_1.py b/pjsip-apps/src/test-pjsua/scripts-call/305_ice_comp_2_1.py
new file mode 100644
index 00000000..a0ddaf78
--- /dev/null
+++ b/pjsip-apps/src/test-pjsua/scripts-call/305_ice_comp_2_1.py
@@ -0,0 +1,12 @@
+# $Id$
+#
+from inc_cfg import *
+
+# Different number of ICE components
+test_param = TestParam(
+ "Callee=use ICE, caller=use ICE",
+ [
+ InstanceParam("callee", "--null-audio --use-ice --max-calls=1", enable_buffer=True),
+ InstanceParam("caller", "--null-audio --use-ice --max-calls=1 --ice-no-rtcp", enable_buffer=True)
+ ]
+ )