--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: shout does not feed data fast enough
- From: Peter Amstutz <tetron@student.umass.edu>
- Date: Wed, 5 Jun 2002 19:20:00 -0400 (EDT)
- Message-id: <Pine.LNX.4.44.0206051910030.6816-100000@mir.d.crud.net>
Package: icecast-client
Version: 1.4.0-4.1
In some circumstances shout's data buffer is too small which causes it to
feed data too slowly. As a result any players trying to play this stream
will frequently pause to rebuffer, as they are consuming mp3 data faster
than shout is sending it. This is not an issue of network lag, as it
occurs even over a local area network and through the loop device. The
following tweak to a constant (which exists specifically for this purpose
of tweaking output rate) in shout.c fixes the problem for me:
--- shout.c.old Wed Jun 5 19:18:12 2002
+++ shout.c Wed Jun 5 19:17:51 2002
@@ -324,7 +324,7 @@
set.logfile = NULL;
set.current_bitrate = DEFAULT_BITRATE;
set.overhead = 0.01;
- set.buffer_overhead = 0.001;
+ set.buffer_overhead = 0.003;
set.autocorrection = 0;
set.use_cue_file = 1;
set.use_dj = 0;
------------------ Peter Amstutz --------------------
---------------- amstutz@cs.umass.edu ---------------
------- http://www-unix.oit.umass.edu/~tetron -------
-----------------------------------------------------
--- End Message ---