1
# $Id: 125_sdp_with_multi_audio_0.py 2081 2008-06-27 21:59:15Z bennylp $
5
# 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
11
o=- 0 0 IN IP4 127.0.0.1
15
m=audio 5000 RTP/AVP 0
16
m=audio 4000 RTP/AVP 0
17
m=audio 3000 RTP/AVP 0
20
pjsua_args = "--null-audio --auto-answer 200"
22
include = ["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"
27
sendto_cfg = sip.SendtoCfg("Mutiple good m=audio lines", pjsua_args, sdp, 200,
28
extra_headers=extra_headers,
29
resp_inc=include, resp_exc=exclude)