On Thu, Mar 12, 2009 at 11:23 PM, Samuel Vinson <samuelv at laposte.net> wrote: > Hello > > When I enable echo cancellation, my app crashes on iphone > > Thu Mar 12 21:27:09 Assertion failed: (N>0), function > echo_supp_cancel_echo, file ../src/pjmedia/echo_suppress.c, line 678. > Here is the lines of code : > N = ec->samples_per_frame / ec->samples_per_segment; > pj_assert(N>0); > > Do you have an idea where is the problem ? Do you have an idea how to > resolve this issue ? > > Hi Samuel, that assertion says that you configured the echo suppressor (or in this case, it's probably the sound device, since the EC setting is derived from the sound device setting) with ptime lower than 10ms? cheers Benny > Thanks in advance. > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090313/5ce2528b/attachment.html>