summaryrefslogtreecommitdiff
path: root/tests/pjsua/scripts-call/150_srtp_3_0.py
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2010-10-05 16:32:04 +0000
committerNanang Izzuddin <nanang@teluu.com>2010-10-05 16:32:04 +0000
commitdafed581f04ba80f9376324fb29bd793f0e4aee4 (patch)
tree676cc2bf0ef13c331108b7f15448ac8cb1ae9dfe /tests/pjsua/scripts-call/150_srtp_3_0.py
parentb3fd2f88cb9a493c43d612bbc58713b50a93bd1b (diff)
Fix #1143:
- Fixed no audio bug when pjsua with SRTP optional-with-duplicated-offer calls pjsua with SRTP disabled, by updating active media index after SDP negotiation done. - Fixed bug in generating SDP, pjsua_media_channel_create_sdp(), by making sure all media in the SDP candidate are aligned with current active SDP before calling pjmedia_transport_encode_sdp(). - Fixed bug in modifying SDP for call hold, the media index to be modified was hardcoded to 0, should be active media index. - Added python tests for calls with SRTP optional-with-duplicated-offer. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3334 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/scripts-call/150_srtp_3_0.py')
-rw-r--r--tests/pjsua/scripts-call/150_srtp_3_0.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/pjsua/scripts-call/150_srtp_3_0.py b/tests/pjsua/scripts-call/150_srtp_3_0.py
new file mode 100644
index 00000000..2783b226
--- /dev/null
+++ b/tests/pjsua/scripts-call/150_srtp_3_0.py
@@ -0,0 +1,11 @@
+# $Id$
+#
+from inc_cfg import *
+
+test_param = TestParam(
+ "Callee=optional (with duplicated offer) SRTP, caller=no SRTP",
+ [
+ InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"),
+ InstanceParam("caller", "--null-audio --use-srtp=0 --srtp-secure=0 --max-calls=1")
+ ]
+ )