Changeset 3711 for pjproject


Ignore:
Timestamp:
Aug 18, 2011 5:31:46 PM (13 years ago)
Author:
nanang
Message:

Re #1346 (python test fixes): adjust test scenario to follow the new behavior of pjsua in selecting active media from multiple media with same types, i.e: it will select the first media (previously/1.x it will will select the last).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py

    r2081 r3711  
    44 
    55# Multiple good m=audio lines! The current algorithm in pjsua-lib will 
    6 # select the last audio (which should be okay, as we're entitled to 
    7 # select any of them) 
     6# select the first audio (note that in 1.x it will select the last audio) 
    87sdp = \ 
    98""" 
     
    2120extra_headers = "" 
    2221include = ["Content-Type: application/sdp",     # response must include SDP 
    23            "m=audio 0 RTP/AVP[\\s\\S]+m=audio 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP" 
     22           "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=audio 0 RTP/AVP[\\s\\S]+m=audio 0 RTP/AVP" 
    2423           ] 
    2524exclude = [] 
Note: See TracChangeset for help on using the changeset viewer.