[Asterisk-Dev] SIP RTP JitterBuffer in Asterisk

Matt Hess mhess at livewirenet.com
Thu Aug 25 11:55:27 MST 2005


and to solve my own error:

ifdef is line 866 of rtp.c

#ifdef USE_JB
static void rtp_jb_destroy(struct ast_rtp *rtp)
{

         int len;

         /* destroy the jitterbuffer */
         scx_jb_destroy(rtp->jb);
         rtp->jb = NULL;

         /* close the framelog file */
         if(rtp->jb_logfile != NULL)
         {
                 fseek(rtp->jb_logfile, 0, SEEK_END);
                 len = ftell(rtp->jb_logfile);

compiles happy now.


Matt Hess wrote:
> I get a compile error.. did a fresh cvs get of asterisk and applied 
> patch cleanly.
> 
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
> -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT 
> -D_GNU_SOURCE  -O6 -march=i386  -pthread           -fomit-frame-pointer 
>    -c -o rtp.o rtp.c
> rtp.c: In function `rtp_jb_destroy':
> rtp.c:877: syntax error before `int'
> rtp.c:882: `len' undeclared (first use in this function)
> rtp.c:882: (Each undeclared identifier is reported only once
> rtp.c:882: for each function it appears in.)
> gmake: *** [rtp.o] Error 1
> 
> 
> Slav Klenov wrote:
> 
>> New SIP jitterbuffer patch against today cvs-head is available on mantis:
>>
>> http://bugs.digium.com/view.php?id=3854
>>
>>
>> Slav
>>
>> Olle E. Johansson wrote:
>>
>>> Matt wrote:
>>>  
>>>
>>>> Hi,
>>>> I heard talk that there was a SIP RTP JitterBuffer which was either in
>>>> asterisk CVS, or was being made as a patch here on the dev list.   Can
>>>> anyone confirm this or deny it?  And if it exists, what is the current
>>>> status of it?
>>>>   
>>>
>>>
>>> At this point, a lot of work is going on to fix this. We do not know if
>>> we can fix it in due time for 1.2. There are non-working patches in the
>>> bug tracker, but rumour (a less than one hour old rumour) tells me that
>>> something is working out there. Nothing is included in CVS at this 
>>> point.
>>>
>>> A bit longer answer than "no" this second time :-)
>>>
>>> /O
>>> _______________________________________________
>>> Asterisk-Dev mailing list
>>> Asterisk-Dev at lists.digium.com
>>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>>>  
>>>
>>
>> _______________________________________________
>> Asterisk-Dev mailing list
>> Asterisk-Dev at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mhess.vcf
Type: text/x-vcard
Size: 288 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20050825/b3f6cdef/mhess.vcf


More information about the asterisk-dev mailing list