Hi, the log output is similar to the handling of Speex DTX in jitter buffer problem (http://trac.pjsip.org/repos/ticket/762#comment:8), though I'm not sure if you're using Speex. Try with version 1.2 and see how it goes. cheers Benny On Mon, Apr 27, 2009 at 1:55 AM, Ramesh D <ramdev_sw at yahoo.com> wrote: > Hi, > > I am using streamutil application(that is part of PJSIP 1.1 package) to > play streaming audio(PCMU). The audio stutters periodically. This problem > occurs even after increasing the value of PJMEDIA_SOUND_BUFFER_COUNT to 16. > See below for the output. > > Can someone tell me if I am missing any configuration(s)? I can include the > wav file if interested. > > Thanks, > Ramesh > > OUTPUT from STREAMUTIL application : > > ./streamutil-i686-pc-linux-gnu --local-port=5000 > 20:38:58.518 os_core_unix.c pjlib 1.1 for POSIX initialized > 20:38:58.525 pa_dev.c PortAudio sound library initialized, status=0 > 20:38:58.525 pa_dev.c PortAudio host api count=1 > 20:38:58.525 pa_dev..c Sound device count=1 > 20:38:58.526 pjlib select() I/O Queue created (0x816943c) > 20:38:58.539 strm0x816e85c VAD temporarily disabled > 20:38:58.539 rtp.c pjmedia_rtp_session_init: ses=0x8177ebc, > default_pt=0, ssrc=0x596a71c7 > 20:38:58.539 rtp.c pjmedia_rtp_session_init: ses=0x81784e0, > default_pt=96, ssrc=0x596a71c7 > 20:38:58.539 stream.c Stream strm0x816e85c created > 20:38:58.539 pa_dev.c Opened device 0: /dev/dsp(OSS) for playing, > sample rate=8000, ch=1, bits=16, 160 samples per frame, latency=96 ms > 20:38:58.539 pa_dev.c Starting /dev/dsp stream.. > 20:38:58.570 pa_dev.c Player thread started > 20:38:58.570 pa_dev.c Done, status=0 > 20:38:58.570 strm0x816e85c Encoder stream paused > 20:38:58.570 strm0x816e85c Decoder stream started > Stream is active, dir is recv-only, local port is 5000 > > Commands: > s Display media statistics > q Quit > > Command: 20:38:58.602 strm0x816e85c Jitter buffer empty (prefetch=0) > 20:39:10.316 udp0x8173c28 Remote RTCP address switched to > 192.168.1.103:54268 > 20:39:10.316 strm0x816e85c RTP status: badpt=0, badssrc=0, dup=0, > outorder=-1, probation=-1, restart=0 > 20:39:10.318 strm0x816e85c RTP status: badpt=0, badssrc=0, dup=0, > outorder=0, probation=-1, restart=0 > 20:39:10.319 udp0x8173c28 Remote RTP address switched to > 192.168.1.103:54267 > 20:39:10.346 strm0x816e85c Lost frame recovered > 20:39:10.474 strm0x816e85c Lost frame recovered > 20:39:10.570 strm0x816e85c Lost frame recovered > 20:39:10.666 strm0x816e85c Lost frame recovered > 20:39:10.826 strm0x816e85c Lost frame recovered > 20:39:10.890 strm0x816e85c Lost frame recovered > 20:39:10.954 strm0x816e85c Lost frame recovered > 20:39:11.018 strm0x816e85c Lost frame recovered > 20:39:11.082 strm0x816e85c Lost frame recovered > 20:39:11.146 strm0x816e85c Lost frame recovered > 20:39:11.242 strm0x816e85c Lost frame recovered > 20:39:11.306 strm0x816e85c Lost frame recovered > 20:39:11.402 strm0x816e85c Jitter buffer empty (prefetch=40) > 20:39:11.818 strm0x816e85c Lost frame recovered > 20:39:11.882 strm0x816e85c Lost frame recovered > 20:39:11.978 strm0x816e85c Lost frame recovered > 20:39:12.042 strm0x816e85c Lost frame recovered > 20:39:12.106 strm0x816e85c Lost frame recovered > 20:39:12.202 strm0x816e85c Lost frame recovered > 20:39:12.266 strm0x816e85c Lost frame recovered > 20:39:12.330 strm0x816e85c Lost frame recovered > 20:39:12.394 strm0x816e85c Lost frame recovered > 20:39:12.426 strm0x816e85c Jitter buffer empty (prefetch=40) > 20:39:12.842 strm0x816e85c Lost frame recovered > 20:39:12.906 strm0x816e85c Lost frame recovered > 20:39:12.970 strm0x816e85c Lost frame recovered > 20:39:13.066 strm0x816e85c Lost frame recovered > 20:39:13.130 strm0x816e85c Lost frame recovered > 20:39:13.194 strm0x816e85c Lost frame recovered > 20:39:13.258 strm0x816e85c Lost frame recovered > 20:39:13.354 strm0x816e85c Lost frame recovered > 20:39:13.418 strm0x816e85c Lost frame recovered > 20:39:13.482 strm0x816e85c Jitter buffer empty (prefetch=40) > 20:39:13.610 strm0x816e85c Lost frame recovered > 20:39:13.674 strm0x816e85c Lost frame recovered > 20:39:13.770 strm0x816e85c Lost frame recovered > 20:39:13.815 strm0x816e85c Lost frame recovered > 20:39:13.898 strm0x816e85c Lost frame recovered > 20:39:13.962 strm0x816e85c Lost frame recovered > 20:39:14.026 strm0x816e85c Lost frame recovered > 20:39:14.090 strm0x816e85c Lost frame recovered > 20:39:14.186 strm0x816e85c Jitter buffer empty (prefetch=40) > ...... > ..... > .... > > > _______________________________________________ > 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/20090513/ce7793b5/attachment-0001.html>