[Icecast] relaying IceCast from ShoutCast

Fred Black fred at batanga.com
Wed Jul 20 07:25:46 PDT 2005

I forgot something!
We also have a even lower quality MP3 stream, so I need 44 listen-socket
ports, not 22.  The plan of moving Icecast to the "radio" servers will work
because it's still under 10 (8).


-----Original Message-----
From: Fred Black [mailto:fred at batanga.com] 
Sent: Wednesday, July 20, 2005 10:21 AM
To: 'icecast'
Subject: RE: [Icecast] relaying IceCast from ShoutCast

I filed the bug report.

I think we've come up with a work around for now that will allow me to work.
We have 22 stations, each with a lower quality signal with ads and a higher
quality signal without ads (44 streams).  These stations are generated on 6
"radio servers" that have 8 stations 4 x 2(high + low quality).  I only
generated mp3 streams for the lower quality streams.  Most of our listeners
connect using Windows Media to our cluster of three Windows Media Servers.
I have also setup three servers to distribute the MP3 streams and this is
where I was setting up Icecast.  I also have the need to have shoutcast so
that's why I wanted to relay from Icecast to Shoutcast (vs. setting up
another set of encoders on each of the "radio" servers).  So on each of the
three MP3 servers, I need to define 22 listen-socket ports for Icecast
aliases to relay to shoutcast: this is when I hit this problem.  However for
now, I'm going to move Icecast back to the "radio" servers and then relay
Icecast from there to Icecast on the MP3 servers, defining the port alisaes
on each of the "radio" servers will keep the number under 10.


-----Original Message-----
From: Michael Smith [mailto:mlrsmith at gmail.com]
Sent: Wednesday, July 20, 2005 9:49 AM
To: Fred Black
Cc: icecast
Subject: Re: [Icecast] relaying IceCast from ShoutCast

On 7/20/05, Fred Black <fred at batanga.com> wrote:
> This is killing me...
> I've tried everything I can think of, but Icecast still crashes if I 
> define more than 10 listen-socket ports.  Is there a limit that's not 
> documented or is this a bug?  I'm using the latest Windows build that
OddSock compiled.

It's a hardcoded limit (MAX_LISTEN_SOCKETS in the source) which is easily
changed. However, could you please file a bug report
(http://bugs.xiph.org) about the crash? It should just be refusing to read
any further listen-socket definitions, rather than crashing.


More information about the Icecast mailing list