mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-12 20:27:19 +00:00
ignore a= lines when m= port is 0
This commit is contained in:
parent
3efed6d095
commit
750847f290
@ -1 +1 @@
|
|||||||
Wed Sep 18 05:12:10 CDT 2013
|
Thu Sep 19 13:44:16 CDT 2013
|
||||||
|
@ -1589,7 +1589,7 @@ static void parse_media_attr(sdp_parser_t *p, char *r, sdp_media_t *m,
|
|||||||
|
|
||||||
if (p->pr_mode_manual)
|
if (p->pr_mode_manual)
|
||||||
;
|
;
|
||||||
else if (su_casematch(name, "inactive")) {
|
else if (m->m_port == 0 || su_casematch(name, "inactive")) {
|
||||||
m->m_mode = sdp_inactive;
|
m->m_mode = sdp_inactive;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user