Discussion:
[Icecast] Icecast-asterisk streaming delay
Gopinath Reddy
2018-11-16 02:21:43 UTC
Permalink
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
Jake
2018-11-16 02:34:50 UTC
Permalink
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 ----
Post by Gopinath Reddy
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
http://lists.xiph.org/mailman/listinfo/icecast
Geoff Shang
2018-11-16 07:33:06 UTC
Permalink
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.
Post by Gopinath Reddy
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
Paul Martin
2018-11-16 15:28:22 UTC
Permalink
Post by Gopinath Reddy
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 <***@nowster.me.uk>
Loading...