Changeset 3251


Ignore:
Timestamp:
Aug 6, 2010 1:03:33 AM (14 years ago)
Author:
nanang
Message:

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).
Location:
pjproject/trunk/tests/pjsua
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/tests/pjsua/inc_sip.py

    r3243 r3251  
    176176                                continue 
    177177                        try: 
    178                                 msg, src_addr = self.sock.recvfrom(2048) 
     178                                msg, src_addr = self.sock.recvfrom(4096) 
    179179                        except: 
    180180                                print "recv() exception: ", sys.exc_info()[0] 
  • pjproject/trunk/tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py

    r2081 r3251  
    1414m=audio 4000 RTP/AVP 0 
    1515a=rtpmap:0 pcmu/8000 
    16 m=audio 5000 RTP/SAVP 0 
     16m=audio 4000 RTP/SAVP 0 
    1717a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ 
    1818""" 
     
    2121extra_headers = "" 
    2222include = ["Content-Type: application/sdp",     # response must include SDP 
    23            "m=audio 0 RTP/AVP[\\s\\S]+a=rtpmap:0[\\s\\S]+m=audio [1-9]+[0-9]* RTP/SAVP[\\s\\S]+a=crypto" 
     23           "m=audio 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/SAVP[\\s\\S]+a=crypto" 
    2424           ] 
    2525exclude = [] 
Note: See TracChangeset for help on using the changeset viewer.