I would like to add that delay buffer is still experimental now, so it may change or even disappear in the future (hence the default is still disabled). What we're trying to achieve is to buffer the audio bursts, so that audio callbacks are called evenly between playback and recording. This would make processing much easier in downstream media ports, and also potentially reduce audio latency. But it turns out it doesn't really work as expected, so maybe we'll scrap it soon for something else. -benny On 1/21/08, Nanang Izzuddin <nanang.izzuddin at gmail.com> wrote: > > Hi Samuel, > > The DELAYBUF feature works fine on all PCs I have. > Basically it is a kind of fixed jitter buffer for mic with > burst level learning at the beginning. > > I have just tested on Windows Desktop to playfile & recfile, > with call or not (just 'cc' command), it works fine. > And actually I did some more tests previously. > > I haven't tried much on other platform, but theoretically it should work > fine > as long as the learning stage gives a correct result (mic burst level). > > I think you can try to manipulate the LEARN_COUNT value in delaybuf.c, > by analyze the burst level value reported after learning stage. > After that, you can also manipulate the compensation level SAFE_MARGIN > value in delaybuf.c. > > Also please make sure you get the latest SVN ;-) > > > nanang > > > > On 21/01/2008, Nanang Izzuddin <nanang at pjsip.com> wrote: > > > > Hi Samuel, > > > > The DELAYBUF feature works fine on all PCs I have. > > Basically it is a kind of fixed jitter buffer for mic with > > burst level learning at the beginning. > > > > I have just tested on Windows Desktop to playfile & recfile, > > with call or not (just 'cc' command), it works fine. > > And actually I did some more tests previously. > > > > I haven't tried much on other platform, but theoretically it should work > > fine > > as long as the learning stage gives a correct result (mic burst level). > > > > I think you can try to manipulate the LEARN_COUNT value in delaybuf.c, > > by analyze the burst level value reported after learning stage. > > After that, you can also manipulate the compensation level SAFE_MARGIN > > value in delaybuf.c. > > > > Also please make sure you get the latest SVN ;-) > > > > > > nanang > > > > > > On 21/01/2008, Samuel Vinson <samuelv at laposte.net> wrote: > > > > > > Hi, > > > > > > When you define PJMEDIA_SOUND_USE_DELAYBUF to 1. > > > On Iphone and Ipod playfile and recfile doesn't work. > > > > > > Perhaps the problem comes from my sound port implementation. > > > > > > On other platform, do playfile and recfile work ? > > > > > > Samuel > > > > > > _______________________________________________ > > > 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 > > > > > > > > > _______________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080121/325541cb/attachment.html