High audio latency with Icecast and Darkice

☆樱花仙子☆ 提交于 2019-12-03 06:13:09

This is not poor performance... it is deliberate so that clients don't experience re-buffering once playback has begun. Internet radio servers are not built for low-latency.

There are many sources of the delay:

  • Capture buffer (<500ms)
  • Encoding buffer (~250ms-1s depending on codec)
  • Encoder-to-Server Network Transfer and Buffer (<10ms)
  • Server buffer (the one you disabled, often set at 1MB which can be a long time depending on bitrate)
  • Server-to-Client Network Transfer and Buffer (<10ms-1s typically, longer times for mobile)
  • Client buffer (widely variable, but 2s is typical)
  • Client playback buffer (<500ms)

The biggest of these as you can see is the server buffer. You have eliminated that, and that is all you can do. If you want something with lower latency, you need a different technology.

Try using Icecast-kh https://karlheyes.github.io/

From my experience it gives less latency, I am not sure why, will be glad if someone will explain that, maybe it has a smaller server buffer.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!