diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2010-08-06 01:03:33 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2010-08-06 01:03:33 +0000 |
commit | d904e30b3c100fbac6742b6528467a11ce90e289 (patch) | |
tree | ee4b05c83de45ed42f6604d8f8393cd58de72962 /tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py | |
parent | 820921e537d99763c1a9d6a9b5eb7809d1a61108 (diff) |
Misc (re #1068), updates in python test:
- increased receive buffer size in python test driver function inc_sip.Dialog.wait_msg_from(), the previous buffer size (2048) caused socket exception in receiving large SIP packet.
- updated verification regex in scripts-sendto/330_srtp_prefer_rtp_savp.py (related to changes in #668: omitting media attribute in disabled/rejected media).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3251 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py')
-rw-r--r-- | tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py b/tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py index e8097367..168b36ce 100644 --- a/tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py +++ b/tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py @@ -13,14 +13,14 @@ c=IN IP4 127.0.0.1 t=0 0 m=audio 4000 RTP/AVP 0 a=rtpmap:0 pcmu/8000 -m=audio 5000 RTP/SAVP 0 +m=audio 4000 RTP/SAVP 0 a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ """ pjsua_args = "--null-audio --auto-answer 200 --use-srtp 1 --srtp-secure 0" extra_headers = "" include = ["Content-Type: application/sdp", # response must include SDP - "m=audio 0 RTP/AVP[\\s\\S]+a=rtpmap:0[\\s\\S]+m=audio [1-9]+[0-9]* RTP/SAVP[\\s\\S]+a=crypto" + "m=audio 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/SAVP[\\s\\S]+a=crypto" ] exclude = [] |