Hi all, I've been working on an app for the iPhone for some time, and often on the iPhone the 'quality' was always poorer than the same settings on PJSip running over Ethernet. I see a lot of debug output from the jitterbuffer as such: 14:26:19.807 strm0xc37f74 Jitter buffer empty (prefetch=0), plc invoked 14:26:19.851 strm0xc37f74 jb updated(2), lvl=6 pre=0, size=5 14:26:19.853 strm0xc37f74 Jitter buffer starts returning normal frames (after 1 empty/lost) 14:26:21.176 strm0xc37f74 jb updated(1), lvl=5 pre=0, size=2 14:26:22.429 strm0xc37f74 jb updated(1), lvl=4 pre=0, size=2 14:26:23.406 strm0xc37f74 Jitter buffer empty (prefetch=0), plc invoked 14:26:23.452 strm0xc37f74 Jitter buffer starts returning normal frames (after 1 empty/lost) 14:26:23.752 strm0xc37f74 jb updated(1), lvl=3 pre=0, size=2 14:26:24.590 strm0xc37f74 Jitter buffer empty (prefetch=0), plc invoked 14:26:24.659 strm0xc37f74 jb updated(2), lvl=6 pre=0, size=5 14:26:24.661 strm0xc37f74 Jitter buffer starts returning normal frames (after 1 empty/lost) 14:26:24.777 strm0xc37f74 Jitter buffer empty (prefetch=0), plc invoked 14:26:24.833 strm0xc37f74 Discarding frame #3777: eff=6 disc=0 orig:3771 seq_delta:412 14:26:24.844 strm0xc37f74 jb updated(2), lvl=8 pre=0, size=7 14:26:24.845 strm0xc37f74 Jitter buffer starts returning normal frames (after 1 empty/lost) 14:26:24.960 strm0xc37f74 Frame lost, recovered! 14:26:24.962 strm0xc37f74 Jitter buffer starts returning normal frames (after 1 empty/lost) 14:26:25.080 strm0xc37f74 Jitter buffer empty (prefetch=0), plc invoked 14:26:25.105 strm0xc37f74 Discarding frame #3794: eff=8 disc=0 orig:3786 seq_delta:17 14:26:25.147 strm0xc37f74 Jitter buffer starts returning normal frames (after 1 empty/lost) However in this case there was no packet lost - as evidenced from the media stats: totalrecv = 1581 : totalloss = 0 : jitterAvg = 15107 : jitterSTDDEV = 2378 I'm sending this to ask if anyone has previously worked on this, and if so are there any tweaks to set for the jitter buffer / audio stream. I have briefly played with the jb_* members of the pjsua_media_config, but they never seemed to make a difference. For what its worth there seems to be a issue between the wifi and jitter buffer as the same RTP source sounds fine over ethernet but produces the above output on wifi (even with the same amount of packet loss). -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110419/3619e019/attachment.html>