I found that voice was bad when RTP header included extension. Fix this bug as the below: file: rtp.c line:171 if ((*hdr)->x) { pjmedia_rtp_ext_hdr *ext = (pjmedia_rtp_ext_hdr*) (((pj_uint8_t*)pkt) + offset); offset +=4; // insert this line, must add the length of the extension header itself. offset += (pj_ntohs(ext->length) * sizeof(pj_uint32_t)); } Greg Cheng 2009-10-29 ?????????????? ???www.vanceinfo.com ???cheng_haisheng at vanceinfo.com ???025-52821690 ???13776606316 18951678207 ???210012 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091029/f54c70fc/attachment.html>