[Icecast] relay icecast to shoutcast

Iain D Mott i.mott at unimelb.edu.au
Fri Jun 3 02:37:54 UTC 2005

Hello List

Having great trouble relaying an icecast2 mp3 stream to a shoutcast server.
My client program successfully streams to icecast which is listening on
port 7000. I can listen to this stream with mozilla and xmms with no
problems. I can also stream my client directly to the shoutcast server but
it makes the client unstable (which is why i'm attempting a relay).

The shoutcast server is set up to relay with the relay host as: 
beijing.zhongshuo.org and port: 7000. The mountpoint my client sets is

I'll paste below my icecast.xml page. I've tried various port permutations
and aliasing but I can't get anything to work. (xmms reports a “402
Service Unavailable”)

Hope someone can help.

Cheers, iain

the file:

        <!-- If enabled, this will provide a burst of data when a client
             first connects, thereby significantly reducing the startup
             time for listeners that do substantial buffering. However,
             it also significantly increases latency between the source
             client and listening client.  For low-latency setups, you
             might want to disable this. -->
        <!-- same as burst-on-connect, but this allows for being more
             specific on how much to burst. Most people won't need to
             change from the default 64k. Applies to all mountpoints  -->

        <!-- Sources log in with username 'source' -->
        <!-- Relays log in username 'relay' -->

        <!-- Admin logs in with the username given below -->

    <!-- Uncomment this if you want directory listings -->


    <!-- This is the hostname other people will use to connect to your
    It affects mainly the urls generated by Icecast for playlists and yp
    listings. -->
<!--<hostname>localhost</hostname> -->

    <!-- You can use these two if you only want a single listener -->
    <!--<port>8000</port> -->

    <!-- You may have multiple <listener> elements -->
        <!-- <bind-address></bind-address> -->






    <!-- Only define a <mount> section if you want to use advanced options,
         like alternative usernames or passwords


        <authentication type="htpasswd">
                <option name="filename" value="myauth"/>
                <option name="allow_duplicate_users" value="0"/>


		<!-- basedir is only used if chroot is enabled -->

        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->
        <!-- <pidfile>/usr/share/icecast/icecast.pid</pidfile> -->

        <!-- Aliases: treat requests for 'source' path as being for 'dest'
             May be made specific to a port or bound address using the "port"
             and "bind-address" attributes.

<alias source="/" dest="/radio"/>

        <!-- Aliases: can also be used for simple redirections as well,
             this example will redirect all requests for
http://server:port/ to
             the status page
       <!-- <alias source="/" dest="/status.xsl"/> -->

      	<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->




More information about the Icecast mailing list