Hi Experts, I am using icecast to stream the audio from asterisk server. we using asterisk voip server for emergency announcement for user extensions which are associated with that server. During emergency announcement if any one of user is offline or their application running in background he will not listen announcement. To overcome this, we are streaming the same announcement to icecast and from there even offline user can listen announcement using icecast mount point url. But offline user facing latency around 25~30 seconds compared to original announcement reached to online user via asterisk. Could you please help me out to minimize this latency when announcement path like asterisk ---> icecast--->icecast mount-->offline user. Thanks in advance. Regards, Gopinath -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20181116/2bd829cd/attachment.html>
What is the end user using to stream? Is this issue the same with different end user software? For some reason, Kodi seems to take 10-20 seconds to start streaming my personal icecast but any other client seems fine. ---- Gopinath Reddy wrote ---->Hi Experts, > >I am using icecast to stream the audio from asterisk server. > >we using asterisk voip server for emergency announcement for user >extensions which are associated with that server. > >During emergency announcement if any one of user is offline or their >application running in background he will not listen announcement. > >To overcome this, we are streaming the same announcement to icecast and >from there even offline user can listen announcement using icecast mount >point url. But offline user facing latency around 25~30 seconds compared to >original announcement reached to online user via asterisk. > >Could you please help me out to minimize this latency when announcement >path like asterisk ---> icecast--->icecast mount-->offline user. > >Thanks in advance. > >Regards, >Gopinath > >_______________________________________________ >Icecast mailing list >Icecast at xiph.org >http://lists.xiph.org/mailman/listinfo/icecast-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20181116/7f02ae52/attachment.html>
Hi, First, Icecast isn't a low-latency solution. Something which uses a UDP protocol will be faster. You can reduce the latency by reducing the buffer size on the client side. Disabling the burst options in Icecast may also help. Also, which codec are you using to stream and at what bitrate? the reason why I ask is that the Ogg Vorbis bit rate (I believe) drops very low during silence. Cheers, Geoff. On Fri, 16 Nov 2018, Gopinath Reddy wrote:> Hi Experts, > > I am using icecast to stream the audio from asterisk server. > > we using asterisk voip server for emergency announcement for user > extensions which are associated with that server. > > During emergency announcement if any one of user is offline or their > application running in background he will not listen announcement. > > To overcome this, we are streaming the same announcement to icecast and > from there even offline user can listen announcement using icecast mount > point url. But offline user facing latency around 25~30 seconds compared to > original announcement reached to online user via asterisk. > > Could you please help me out to minimize this latency when announcement > path like asterisk ---> icecast--->icecast mount-->offline user. > > Thanks in advance. > > Regards, > Gopinath >
On Fri, Nov 16, 2018 at 07:51:43AM +0530, Gopinath Reddy wrote:> To overcome this, we are streaming the same announcement to icecast and > from there even offline user can listen announcement using icecast mount > point url. But offline user facing latency around 25~30 seconds compared to > original announcement reached to online user via asterisk.Latency can be more a function of the encoder/decoder and the buffering in the client rather than Icecast itself. You're probably best looking into using Opus codec in a low latency mode, Speex or FLAC. -- Paul Martin <pm at nowster.me.uk>