diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py b/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py index dbbedfff..c194ba94 100644 --- a/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py +++ b/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py @@ -3,8 +3,7 @@ import inc_sip as sip import inc_sdp as sdp # Multiple good m=audio lines! The current algorithm in pjsua-lib will -# select the last audio (which should be okay, as we're entitled to -# select any of them) +# select the first audio (note that in 1.x it will select the last audio) sdp = \ """ v=0 @@ -20,7 +19,7 @@ m=audio 3000 RTP/AVP 0 pjsua_args = "--null-audio --auto-answer 200" extra_headers = "" include = ["Content-Type: application/sdp", # response must include SDP - "m=audio 0 RTP/AVP[\\s\\S]+m=audio 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP" + "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=audio 0 RTP/AVP[\\s\\S]+m=audio 0 RTP/AVP" ] exclude = [] |