diff options
Diffstat (limited to 'tests/pjsua')
-rw-r--r-- | tests/pjsua/inc_sip.py | 2 | ||||
-rw-r--r-- | tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/pjsua/inc_sip.py b/tests/pjsua/inc_sip.py index c27c72f3..ee4e0173 100644 --- a/tests/pjsua/inc_sip.py +++ b/tests/pjsua/inc_sip.py @@ -175,7 +175,7 @@ class Dialog: print "select other error" continue try: - msg, src_addr = self.sock.recvfrom(2048) + msg, src_addr = self.sock.recvfrom(4096) except: print "recv() exception: ", sys.exc_info()[0] continue 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 = [] |