/MODSOFIA-74

This commit is contained in:
Anthony Minessale 2010-04-28 17:23:53 -05:00
parent 5b51e97e0a
commit 6b69495034
1 changed files with 1 additions and 13 deletions

View File

@ -3573,18 +3573,6 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
match = 0;
got_audio = 0;
}
for (map = m->m_rtpmaps; map; map = map->rm_next) {
if ((zstr(map->rm_encoding) || (tech_pvt->profile->ndlb & PFLAG_NDLB_ALLOW_BAD_IANANAME)) && map->rm_pt < 96) {
match = (map->rm_pt == tech_pvt->agreed_pt) ? 1 : 0;
} else {
match = strcasecmp(map->rm_encoding, tech_pvt->rm_encoding) ? 0 : 1;
}
}
if (match) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Existing codec is already acceptable, using that.\n");
}
}
for (map = m->m_rtpmaps; map; map = map->rm_next) {