[Icecast] Re: Re: ices-kh dropping jack ports unexpectedly

andy andy at earthsong.free-online.co.uk
Mon Nov 8 09:18:33 UTC 2004


On Mon, 01 Nov 2004 10:50:39 +0000, Karl Heyes wrote:

>> I've just tried rewriting the im-jack module so it doesn't shutdown when
>> the ringbuffer fills up (but still logs the error), which ought to solve
>> the problem (I'd rather have occasional breaks in the audio than lose
>> the connection altogether) but maybe isn't the best way to do things.
> 
> If the ring buffer becomes full, then it doesn't matter if you try to
> continue or not, it will loose audio. At the moment it shuts down the
> input on such cases but in theory it could introduce a skip.
> 

I put in the change you made to the bit where it sets the buffer size from
the svn code, and it's now been running for nearly 3 days solid with no
ringbuffer xruns (ices was kicked once by jack, but this was a different
error, not the 'ringbuffer full' error.) I'm feeling happier about using
the jack module for real now, so thanks for telling me about this. (the
svn code). The port auto (re)connection code I wrote seems to be working
nicely as well - when the input module restarts it connects itself back to
the same input client, so the stream doesn't go down.

andy.




More information about the Icecast mailing list