[Freeswitch-users] mod_shout delay in trunk

freeswitch-users at digitaldan.com freeswitch-users at digitaldan.com
Fri Feb 6 11:43:17 PST 2009


I have, do you know what would have changed between 1.0.2 and trunk that would cause the buffer to change? Also if its not in mod_shout.c (which I copied from 1.0.2 to trunk for testing with no luck), where else would fs be buffering? One thing I have noticed is that in 1.0.2 as soon as the dial plan hits my record statement I see mod_shout logging that it has connected to the icecast server, in trunk it takes about 5 seconds to see the same log mesage. Below is my current svn info 
Path: . 
URL: http://svn.freeswitch.org/svn/freeswitch/trunk 
Repository Root: http://svn.freeswitch.org/svn 
Repository UUID: d0543943-73ff-0310-b7d9-9358b9ac24b2 
Revision: 11669 
Node Kind: directory 
Schedule: normal 
Last Changed Author: brian 
Last Changed Rev: 11669 
Last Changed Date: 2009-02-06 11:29:51 -0700 (Fri, 06 Feb 2009) 

----- Original Message ----- 
From: "Brian West" <brian at freeswitch.org> 
To: freeswitch-users at lists.freeswitch.org 
Sent: Friday, February 6, 2009 12:11:54 PM GMT -07:00 US/Canada Mountain 
Subject: Re: [Freeswitch-users] mod_shout delay in trunk 

Yes this will be normal due to buffering. Have you tested svn trunk? 


/b 



On Feb 6, 2009, at 12:59 PM, Dan wrote: 


Hi, 

With the 1.0.2 release i was able to to stream a call using mod_shout to an icecast server with only a 1 or two second delay to clients. With the current trunk that delay is now 8 to 10 seconds. I thought it might have been a change to mod_shout.c. I tried tweaking a few outbound buffer sizes with no luck so I just copied the 1.0.2 version of mod_shout.c over, compiled and reinstalled the module, restarted fs and still the delay is 8 to 10 seconds. I'm a little stumped. I currently have both versions installed (trunk and 1.0.2) for testing. Both are streaming to the same icecast server. 

My current svn revision is 11669, the calls are coming in via sip using g.711 ulaw and it looks like lame/mod_shout is streaming it as a 16kbs, 8khz mono mp3 stream. I'm using a flash/flex applet I wrote to consume the icecast stream, although I have used totem to listen to the stream as well. 

Any thoughts 

_______________________________________________ Freeswitch-users mailing list Freeswitch-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090206/daf345e3/attachment-0002.html 


More information about the FreeSWITCH-users mailing list