Hi all. Slightly off topic here but I was wondering if anyone here can give me some info on creating a client for an Icecast server. Some months ago I made a simple client (in Java) but was not able to get a reliable glitch free stream and it would only play for a minute or two before the Icecast server would dump the stream with the 'too many errors' complaint. Are there guidelines (suggestions) for buffer sizes in relation to bit rates etc.? All suggestions welcome... BTW: The aim here is to create a hardware client on a dsp for icecast. Thanks in advance. -- _________________________________ Ronan O'Ciosoig Parthus Technologies plc. 32-34 Harcourt St. Dublin 2, Ireland. T: +353 1 402-2503 M: +353 (0)87 22 33 424 E: ronan.ociosoig@parthus.com I: www.parthus.com Parthus - Powering the Mobile-Internet _________________________________ I tell it like it is. _________________________________ --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
First, src/vsnprintf.[ch] where not added to cvs, version checked out off CVS does not build. Second, src/main.c *still* does not build on Linux 2.4.x based systems - it is necessary to #include <sys/resource.h> somewhere. Eugene --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> Some months ago I made a simple client (in Java) but was not able to get a reliable glitch free > stream and it would only play for a minute or two before the Icecast server would dump the stream > with the 'too many errors' complaint.It's entirely possible that java wasn't fast enough and you weren't in fact able to keep up with the stream. You might want to try with a lower bitrate or a different JIT.> Are there guidelines (suggestions) for buffer sizes in relation to bit rates etc.?I think most people have a default 64k buffer size, and they prebuffer from 25% to 50% of it. Each client is probably slightly different. The more prebuffer you have, the more resilient you are going to be when there are data flow problems, but of course, you'll have to wait longer for the stream to start.> BTW: The aim here is to create a hardware client on a dsp for icecast.That would be interesting to see :) jack. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> First, src/vsnprintf.[ch] where not added to cvs, version checked out > off CVS does not build.You're right. I forgot to cvs add them. They are now in the repository.> Second, src/main.c *still* does not build on Linux 2.4.x based systems - > it is necessary to #include <sys/resource.h> somewhere.I could have sworn that I have the 2.4 headers installed on this machine, and it builds fine here. Do you know what specific piece of resource.h is needed? What are we using from there? jack. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Can you detail what's needed to build on 2.4.x if you know? I have to do that later this week. Anyone had any good/bad experiences with Icecast on 2.4 or 2.4 in general? Hunter> From: Eugene Crosser <crosser@online.ru> > Reply-To: icecast@xiph.org > Date: Tue, 27 Mar 2001 15:06:37 +0400 (MSD) > To: icecast@xiph.org > Subject: [icecast] icecast 1.3.10 problems > > First, src/vsnprintf.[ch] where not added to cvs, version checked out > off CVS does not build. > > Second, src/main.c *still* does not build on Linux 2.4.x based systems - > it is necessary to #include <sys/resource.h> somewhere. > > Eugene > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.