John Todd wrote:


Google has given me too many responses, so I'll ask the list:

Where in the Asterisk rtp source code can I find the default millisecond frame size? I've looked around for obvious pointers, but it's not clear. I'd like to "force" my Asterisk server to use a certain frame size all the time. (Of course, ideally I'd like to prefer or even force that frame size in a peer-by-peer or user-by-user fashion, but I'm just looking for a quick hack right now.)

Anyone know where this is in rtp.c or other RTP-associated files?

You can force that by codec in rtp.c. For example for G729 find the following part of the code:

       case AST_FORMAT_G729A:
               if (!rtp->smoother) {
rtp->smoother = ast_smoother_new(20); <==== This 20 is the fame size in milliseconds, just change it to something else.

It works perfectly with other values we have tested of 40 and 60. We currently use 60 on all our servers. It cuts down on bandwidth for a G279 call to about 15Kbps.



--
Andres
Technical Support
http://www.telesip.net

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to