[Freeswitch-users] Mod_shout using with icecast Big delay

Jorge Núñez jorgefren12 at gmail.com
Mon Aug 19 20:11:58 MSD 2013


Yes it is!! because I have a live chat and other stuff working in real
time. So the voice wont have a big delay respect the other stuff.

I am using node,js and websockets for the html5 client thats why I want to
use the audio tag instead a flash player or something else

Thanks

Jorge




2013/8/19 Anthony Minessale <anthony.minessale at gmail.com>

> Is there a a real significance to it being 12 seconds of delay?  The
> people listening will not know it.  I am just wondering if there is a
> tangible problem with it or if its just obsession when listening to it in a
> test env.
>
>
>
>
> On Mon, Aug 19, 2013 at 8:40 AM, Michael Jerris <mike at jerris.com> wrote:
>
>> But this would still include buffering… although it should be less than
>> 12 seconds.
>>
>> On Aug 16, 2013, at 8:04 PM, Seven Du <dujinfang at gmail.com> wrote:
>>
>>  Another solution would to use flash with mod_rtmp.  And to make that
>> work better you need to change the flash code to remove the sound input
>> device since you don't need it and this also helps to remove the
>> confirmation prompt anytime you use a sound input in flash.
>>
>> I think I had written a plugin for flowplayer long time ago which works
>> well.
>>
>>
>> --
>> Seven Du
>> http://www.freeswitch.org.cn
>> http://about.me/dujinfang
>> http://www.dujinfang.com
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Saturday, August 17, 2013 at 2:22 AM, Jorge Núñez wrote:
>>
>> So Can anybody tell any other solution instead of webrtc and icecast to
>> broadcast a conference in realtime without delay or maybe just a little bit
>> of delay 1s or 2s?
>>
>> Thank you very much for your help
>>
>> Jorge
>>
>>
>> 2013/8/15 Jeff Leung <jleung at v10networks.ca>
>>
>> Icecast is known to have a relatively high latency for audio.
>>
>>
>> On Thu, Aug 15, 2013 at 10:34 AM, Anthony Minessale <
>> anthony.minessale at gmail.com> wrote:
>>
>> enable_file_write_buffering=false
>> stream_prebuffer=0
>>
>> On the leg doing the recording.  It does't stop the iceast server or
>> libshout from buffering it more.
>>
>>
>>
>>
>>
>> On Thu, Aug 15, 2013 at 12:07 PM, Jorge Núñez <jorgefren12 at gmail.com>wrote:
>>
>> Anthony and just for test how can I reduce the latency? and thanks
>> Michael for use webrtc Do I need to use Sipml5 or JSSIP o are there any
>> othe way to use because I was trying to find some information about
>> mod_html5 but I didn´t find
>>
>> thanks
>>
>> Jorge
>>
>>
>> 2013/8/15 Michael Jerris <mike at jerris.com>
>>
>> The alternative if you want in sync audio would be to use webrtc
>> endpoints to listen.
>>
>> On Aug 14, 2013, at 7:19 PM, Anthony Minessale <
>> anthony.minessale at gmail.com> wrote:
>>
>> Icecast is not designed for low-latency and realtime audio.  Its designed
>> for higher quality reliable audio.  The servers and the client libs both
>> use latency and buffering to guarantee this.  There are some techniques to
>> reduce the buffering on at least the FS side but then you will start
>> getting skips and resets if you miss any packets.
>>
>> This comes up all the time when people first try doing this.  Either you
>> need to just accept the delay since most people will not even know its
>> there or use some other method.
>>
>>
>>
>>
>> On Wed, Aug 14, 2013 at 5:12 PM, Stephen Dame <sdame at 207me.com> wrote:
>>
>> 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>****
>>
>> 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] *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> 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://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://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.freeswitch.org/>
>> http://www.ClueCon.com <http://www.cluecon.com/>
>> http://www.OSTAG.org <http://www.ostag.org/>
>> *irc.freenode.net #freeswitch****
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org****
>>
>> ** **
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>  _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> 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/20130819/ce90c344/attachment-0001.html 


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