Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Synchronization and audio stream latency, lag with Webradio sound
There is always latency since, if nothing else, the player takes at least 1 to 2 seconds to preload the buffer before starting playback. By default, Icecast has a 64KB buffer, roughly corresponding to 4 seconds of broadcast in 128k MP3.
Encoding clients generally have buffers which allow to minimize blanks. There exists several latency points, corresponding to the various buffers used. It's possible to reduce the buffer in order to reduce latency, however it is risky, for Internet connections cannot guarantee constant and stable bandwidth. Latency is your enemy, buffer-size your ally. Play around with the size to maximise your broadcasts.
Link to this FAQ: