Hi Mike, Just checked in this to SVN trunk in r4266 (https://trac.pjsip.org/repos/changeset/4266), will be backported to 1.x later. Thank you for the report. BR, nanang On Fri, Sep 14, 2012 at 3:15 PM, Michael Derfler <derfler.michael at gmail.com> wrote: > Hi, this one bugged me when I tried to use the g711 codec with 5ms ptime: > The samples per frame value is hardcoded ( 80 ) in the source instead of > using the define SAMPLES_PER_FRAME. > In g711.c : > > line: 334 replace "80" with "SAMPLES_PER_FRAME" > line: 343 replace "80" with "SAMPLES_PER_FRAME" > > Could one of you devs (by the way you do a great job here) submit this? > > > this enables simple switching between codec ptimes at compiletime by just > changing the define "PTIME" to any value you like (i.e.: 5) . > > BR, > Mike > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >