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:
- use a high bandwidth, so any buffers along the way are filled up
faster. I used 320kbit/s.
- set burst-size to 0, just as you did
- 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.
Nedre Gate 5
N-0551 Oslo Norway
tlf.: +47 22358065
Linux-audio-user mailing list