On Tue, Jun 24, 2008 at 12:25 PM, Lionel Sicilia <lionelsam at gmail.com> wrote: > >> Hi Benny. >> >> I found a solution to the problem. It never loses the sound >> Channel. The solution was to draw the lines following code in jbuf.c >> approximately 530 line. >> if ((jb-> jb_prefetch_cnt + 20 <jb-> jb_prefetch)) ( >> / * Can not return because frame jitter buffer is filling up >> * Minimum prefetch. >> * / / * >> / / Pj_bzero (frame, jb-> jb_frame_size); >> Memset (frame, 0, jb-> jb_frame_size); >> >> if (jb_framelist_size (jb &-> jb_framelist) == 0) ( >> * P_frame_type = PJMEDIA_JB_ZERO_EMPTY_FRAME; >> ) >> Else ( >> * p_frame_type = PJMEDIA_JB_ZERO_PREFETCH_FRAME; >> >> ) >> >> Return; >> ) >> >> Asked which have effects that and that makes this condition? > Sorry I don't get what you mean with the code above. So what did you propose? Anyway, the jitter buffer in the latest SVN code has been changed, and that part above is no longer used. It would be great if you could try out the latest SVN version, or wait until 0.9 is released this weekend, and see if the problem persists. Cheers Benny