Re: [LAU] Tuning icecast/ices for low latency

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: linux-audio-user <linux-audio-user@...>
Date: Wednesday, September 8, 2010 - 12:19 am

On 09/07/2010 01:39 PM, Julien Claassen wrote:

The setup of the receiving client matters also. I have used the
combination ices->icecast->ogg123 for streaming over the internet with a
latency of ca. 3-4seconds, which is worse than what you get. But the
three processes were on three machines with the internet in between, and
the receiving side was connected using CDMA.

The crude tweaks I used to get latency down, were:

In ices.conf:
- use a high bandwidth, so any buffers along the way are filled up
faster. I used 320kbit/s.

In icecast.xml:
- set burst-size to 0, just as you did

With ogg123:
- chose a small input buffer. I used:
$ ogg123 -b 8 http://users.notam02.no:8000/bells.ogg
and got dropouts, and then I used
$ ogg123 -b 16 http://users.notam02.no:8000/bells.ogg
and run without dropouts for 30minutes.

One problem I saw, was that drifting of the clocks caused the buffers
either to be emptied or to be overfilled after a while - depending on
which soundcard was the faster one.

/ Hans

-----
Hans Wilmers
NOTAM
Nedre Gate 5
N-0551 Oslo Norway
tlf.: +47 22358065
http://www.notam02.no

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Tuning icecast/ices for low latency, Julien Claassen, (Tue Sep 7, 11:39 am)
Re: [LAU] Tuning icecast/ices for low latency, Jörn Nettingsmeier, (Thu Sep 9, 5:37 pm)
Re: [LAU] Tuning icecast/ices for low latency, Lists Parisson, (Thu Sep 9, 8:46 pm)
Re: [LAU] Tuning icecast/ices for low latency, Julien Claassen, (Thu Sep 9, 9:15 pm)
Re: [LAU] Tuning icecast/ices for low latency, Julien Claassen, (Thu Sep 9, 5:52 pm)
Re: [LAU] Tuning icecast/ices for low latency, Hans Wilmers, (Wed Sep 8, 12:19 am)
Re: [LAU] Tuning icecast/ices for low latency, Julien Claassen, (Wed Sep 8, 12:32 am)