Ignore:
Timestamp:
Aug 19, 2011 12:24:48 PM (13 years ago)
Author:
nanang
Message:

Re #1346 (python test fixes): Updated test scenario that requires pjsua to generate multiple media offer using --extra-audio instead of using --use-srtp=3 (optional-with-duplicated-media).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/tests/pjsua/scripts-recvfrom/400_inv_answered_with_less_media.py

    r3195 r3716  
    55# Offer with 2 media lines answered with only 1 media line 
    66 
    7 pjsua = "--null-audio sip:127.0.0.1:$PORT --use-srtp=3 --srtp-secure=0" 
     7pjsua = "--null-audio sip:127.0.0.1:$PORT --id=sip:1000@localhost --extra-audio --use-srtp=0" 
    88 
    99sdp = \ 
     
    2222 
    2323req = sip.RecvfromTransaction("Receiving 2 media lines, answer with 1 media line", 200, 
    24                                 include=["m=audio \d+ RTP/SAVP", "m=audio \d+ RTP/AVP"],  
     24                                include=["m=audio \d+ RTP/AVP", "m=audio \d+ RTP/AVP"],  
    2525                                exclude=[], 
    2626                                resp_hdr=["Content-type: application/sdp"], 
Note: See TracChangeset for help on using the changeset viewer.