update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9090 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d55f030239
commit
44124b0de0
|
@ -2001,7 +2001,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (((m = sdp->sdp_media)) && (m->m_mode == sdp_sendonly || m->m_mode == sdp_inactive)) {
|
if ((m = sdp->sdp_media) && (m->m_mode == sdp_sendonly || m->m_mode == sdp_inactive)) {
|
||||||
sendonly = 2; /* global sendonly always wins */
|
sendonly = 2; /* global sendonly always wins */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2010,7 +2010,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((!strcasecmp(attr->a_name, "sendonly")) || (!strcasecmp(attr->a_name, "inactive"))) {
|
if (!strcasecmp(attr->a_name, "sendonly") || !strcasecmp(attr->a_name, "inactive")) {
|
||||||
sendonly = 1;
|
sendonly = 1;
|
||||||
} else if (sendonly < 2 && !strcasecmp(attr->a_name, "sendrecv")) {
|
} else if (sendonly < 2 && !strcasecmp(attr->a_name, "sendrecv")) {
|
||||||
sendonly = 0;
|
sendonly = 0;
|
||||||
|
|
Loading…
Reference in New Issue