[Asterisk-Dev] Re: variable sample period?

Steve Kann stevek at stevek.com
Wed Feb 23 10:40:35 MST 2005


Tony Mountifield wrote:

>Brian West <brian.west at mac.com> wrote:
>  
>
>>This is not actually all that true.  ilbc is a 30ms codec.  Check 
>>frame.c and rtp.c you'll see where all that is done.  And maybe tweak 
>>it.
>>    
>>
>
>In the Grandstream phones iLBC can be set to 20ms or 30ms frame size.
>I've tried both with success, but settled on 20ms for compatibility with
>transcoding to other codecs.  I don't know if there are any subtle
>issues I've missed.
>  
>

I think you'll have problems with asterisk if you set iLBC to be 20ms..  
It assumes in several places that it's 30, and will only send you 30ms 
frames if it's encoding..

The translators should be fine with taking in 2 30ms frames and spitting 
out 3 20ms frames.


-SteveK




More information about the asterisk-dev mailing list