mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
move exception for iLBC hack to sdp up to sofia (see Moc if anything breaks)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16898 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -507,19 +507,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_init(switch_codec_t *codec, co
|
||||
return SWITCH_STATUS_GENERR;
|
||||
}
|
||||
|
||||
if (!strcasecmp(codec_name, "ilbc") && mode && !strncasecmp(mode, "mode=", 5)) {
|
||||
int mms;
|
||||
mode += 5;
|
||||
if (mode) {
|
||||
mms = atoi(mode);
|
||||
if (mms == 20 || mms == 30) {
|
||||
ms = mms;
|
||||
}
|
||||
}
|
||||
} else if (!strcasecmp(codec_name, "ilbc")) {
|
||||
ms = 30;
|
||||
}
|
||||
|
||||
/* If no specific codec interval is requested opt for 20ms above all else because lots of stuff assumes it */
|
||||
if (!ms) {
|
||||
for (iptr = codec_interface->implementations; iptr; iptr = iptr->next) {
|
||||
|
Reference in New Issue
Block a user