[Freeswitch-users] Mod_shout using with icecast Big delay

Stephen Dame sdame at 207me.com
Thu Aug 15 02:12:01 MSD 2013


Did you restart the freeswitch server after changes to the config files,
I’m not sure 100% if reloadxml resets the conference settings. 

 

Also I use some flash based players, I think there where client settiings
for buffering.   Can you set buffer in HTML tag?

 

Regards,

Stephen

 

207 Technology Group Inc.   1-888-229-9756  skype: Stephen_Dame

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Jorge
Núñez
Sent: Wednesday, August 14, 2013 4:18 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Mod_shout using with icecast Big delay

 

Hi thanks, I set your configuration but nothing changed, I reduced the burst
size and it takes me just 11s and also I tried with 8k, 16k and 32k and
nothing change

 

    <limits>

        <clients>100</clients>

        <sources>10</sources>

        <threadpool>5</threadpool>

        <queue-size>524288</queue-size>

        <!-- <queue-size>524288</queue-size> -->

        <client-timeout>30</client-timeout>

        <header-timeout>15</header-timeout>

        <source-timeout>10</source-timeout>

        <!-- If enabled, this will provide a burst of data when a client 

             first connects, thereby significantly reducing the startup 

             time for listeners that do substantial buffering. However,

             it also significantly increases latency between the source

             client and listening client.  For low-latency setups, you

             might want to disable this. -->

        <burst-on-connect>0</burst-on-connect>

        <!-- same as burst-on-connect, but this allows for being more

             specific on how much to burst. Most people won't need to

             change from the default 64k. Applies to all mountpoints 

 

 -->

        <burst-size>4096</burst-size>

    </limits>

 

Regards

 

Jorge

 

 

2013/8/14 Stephen Dame <sdame at 207me.com <mailto:sdame at 207me.com> >

Jorge, 

 

Play around with the burst size and queue size
  here is my xml config
around 3-4 second delay from 16k freeswitch conference. 

To small a buffer and the players disconnect
 Im also running icecast on
same server.

 

<icecast>

    <limits>

        <clients>100</clients>

        <sources>10</sources>

        <threadpool>5</threadpool>

        <queue-size>524288</queue-size>

        <client-timeout>30</client-timeout>

        <header-timeout>15</header-timeout>

        <source-timeout>10</source-timeout>

        <burst-on-connect>1</burst-on-connect>

        <!-- same as burst-on-connect, but this allows for being more

             specific on how much to burst. Most people won't need to

             change from the default 64k. Applies to all mountpoints  -->

        <burst-size>65535</burst-size>

    </limits>

 

Regards,

Stephen

 

From: freeswitch-users-bounces at lists.freeswitch.org
<mailto:freeswitch-users-bounces at lists.freeswitch.org>
[mailto:freeswitch-users-bounces at lists.freeswitch.org
<mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Ken
Rice
Sent: Wednesday, August 14, 2013 12:35 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Mod_shout using with icecast Big delay

 

You have to keep in mind that icecast itself has a fair bit of buffering
involved with it and theres not a lot you can do about that


On 8/14/13 11:30 AM, "Jorge Núñez" <jorgefren12 at gmail.com
<http://jorgefren12@gmail.com> > wrote:

Hi I am using mod_shout to send a conference call to icecast and hear it
from a tag audio in html5 in realtime, but it has a big delay like 12
seconds. How can I reduce the latency of the audio sent from freeswitch or
what can I do to improve this.

Regards

Jorge


  _____  


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <http://consulting@freeswitch.org> 
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
<http://FreeSWITCH-users@lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net <http://irc.freenode.net>  #freeswitch


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
<mailto: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/20130814/4e6c39af/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list