From: Alexander Traud Date: Wed, 21 Oct 2015 13:08:51 +0000 (+0200) Subject: format: Update the maximum packetization time for iLBC 30. X-Git-Tag: 14.0.0-beta1~615^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fchanges%2F64%2F1464%2F2;p=thirdparty%2Fasterisk.git format: Update the maximum packetization time for iLBC 30. In September 2006, the maximum packetization time (ptime) were set to such a low value, packetization was disabled for many codecs actually. This was fixed for many codecs but not for iLBC 30. This enables packetization for iLBC which can be enabled for example via allow=ilbc:60,gsm,alaw,ulaw in the file sip.conf. ASTERISK-7803 Change-Id: I2ef90023d35efb7cb8fe96ed74f53f6846ffad12 --- diff --git a/main/codec_builtin.c b/main/codec_builtin.c index 4be635e1b5..f86a8dfc89 100644 --- a/main/codec_builtin.c +++ b/main/codec_builtin.c @@ -594,7 +594,7 @@ static struct ast_codec ilbc = { .type = AST_MEDIA_TYPE_AUDIO, .sample_rate = 8000, .minimum_ms = 30, - .maximum_ms = 30, + .maximum_ms = 300, .default_ms = 30, .minimum_bytes = 50, .samples_count = ilbc_samples,