Hi Mike, The reason should have been described in this ticket: https://trac.pjsip.org/repos/ticket/1199. BR, nanang On Thu, Sep 6, 2012 at 1:19 AM, Michael Derfler <derfler.michael at gmail.com> wrote: > Is there a specific reason why the default codec ptime is 10ms but 2 frames > are used per packet to get to the 20ms? > > For me that means that the encoding and decoding has to be done twice with > the half sample count. > Isn't it possible to set the PTIME to 20ms and frames_per_pkt = 1? > > Involved lines of code: > pjmedia/src/pjmedia-codec/g722.c: line 41,43 and 295 > > Regards, > Mike Derfler > > _______________________________________________ > 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 >