tweak ilbc to default to 30 if no mode= fmtp is defined on the inbound which seems to be the default behavior of everything out there.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12110 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2009-02-17 19:50:12 +00:00
parent 900907a205
commit 4af5bf963d
2 changed files with 8 additions and 1 deletions

View File

@@ -446,6 +446,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_init(switch_codec_t *codec, co
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 */