Voice is bad when the received RTP packet include extension header.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/10/29 Greg <450829727 at qq.com>:
> 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));
> ?}


This should have been fixed by http://trac.pjsip.org/repos/ticket/952

Cheers
 Benny



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux