[Pkg-icecast-devel] Bug#516305: Bug#516305: icecast2: Likes to disconnect sources streaming silence (extremely low bit rates)

Jonas Smedegaard dr at jones.dk
Sun Feb 22 18:38:14 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Feb 20, 2009 at 04:08:15PM +0200, hhaamu at gmail.com wrote:
> The icecast2 server likes to disconnect sources streaming things with 
> extremely low bit rates, such as an ogg vorbis file with a 
> considerable amount of silence.
>
> What likely happens is that the source client sends a whole block of 
> silence (20+ seconds) in just a single packet, and then refrains from 
> sending any further packets. The server notices that the socket seems 
> stale and disconnects the source, although the source is still there 
> and the server still has plenty of data in its buffer.
>
> I tested this with oggfwd, and I've observed it before with ices2.
>
> Attached is error.log in debug mode streaming an offending file 
> (20m36s with silence starting at roughly 3m50s). The streaming client 
> (oggfwd) exited after 4 minutes 13 seconds.
>
> Possible work-arounds:
> 1) adjust source-timeout in icecast.xml
>
> 2) use encoder in managed bit rate mode (set a minimum bit rate)

Thanks for the bugreport!

Which of the workarounds would you consider best? Could you perhaps 
provide a proposed patch?

And would you maybe be interested in helping maintain this package? That 
would be awesome - and no, you do not need to be a Debian developer to 
help, neither do you need to understand all parts of the packaging 
routines: I am still around and I know the packaging parts pretty well.

:-)

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmhm5YACgkQn7DbMsAkQLjk2ACghrDH12W5+yMTq5c1lW882HaE
GAMAoKIly0Fgi7BUYX+LPLHgR89G+9Rr
=LQyU
-----END PGP SIGNATURE-----





More information about the Pkg-icecast-devel mailing list