[icecast] Icecast2 and Ices2 and Authentication Probs.
Fraser Walters
fraser at walters1243.fsnet.co.uk
Sat Jun 28 21:46:16 UTC 2003
Thanks Geoff, for looking at it for me...... The ices config is as
follows...:
Any help would be great.....
Ices-playlist.xml is :
<?xml version="1.0"?>
<ices>
<background>0</background> <!-- run in background?
(unimplemented) -->
<logpath>/usr/local/icecast/stream/var/logs</logpath> <!-- where
logs, etc go. -->
<logfile>ices.log</logfile>
<loglevel>4</loglevel> <!-- 1=error,2=warn,3=info,4=debug -->
<consolelog>0</consolelog> <!-- set this to 1 to log to the console
instead
of to the file above -->
<stream>
<!-- metadata used for stream listing (not currently used) -->
<metadata>
<name>Example stream name</name>
<genre>Example genre</genre>
<description>A short description of your
stream</description>
</metadata>
<input>
<module>playlist</module>
<param name="type">basic</param><!-- Only 'basic'
implemented -->
<param
name="file">/usr/local/icecast/stream/conf/playlist.txt</param> <!-- be sure
this exists -->
<param name="random">0</param> <!-- random play -->
<param name="once">0</param> <!-- if set to 1 , plays once
through,
then exits. -->
</input>
<p><instance>
<!-- Server details:
You define hostname and port for the server here, along
with
the source password and mountpoint.
-->
<hostname>localhost</hostname>
<port>8000</port>
<password>XXXXXXX</password>
<mount>/beatles</mount>
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<maxqueuelength>80</maxqueuelength>
<encode>
<nominal-bitrate>64000</nominal-bitrate> <!-- bps. e.g.
64000 for 64 kbps -->
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance>
<!-- Now, we define a 2nd stream instance.
-->
<instance>
<hostname>localhost</hostname>
<port>8000</port>
<password>XXXXXXX</password>
<mount>/example2.ogg</mount>
<!-- Stream saving. Save the outgoing stream to the specified file
This is commented out since we don't want it by default -->
<!--
<savefile>streamdump.ogg</savefile>
-->
</instance>
</stream>
</ices>
and the icecast config....:
<p>Icecast.xml is as follows :
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>XXXXXXX</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>XXXXXXX</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>XXXXXXX</admin-password>
</authentication>
<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url><a href="http://www.oddsock.org/cgi-bin/yp-cgi</yp-url">http://www.oddsock.org/cgi-bin/yp-cgi</yp-url</a>>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url><a href="http://yp.icecast.net/cgi-bin/yp.cgi</yp-url">http://yp.icecast.net/cgi-bin/yp.cgi</yp-url</a>>
</directory>
-->
<hostname>80.253.XXX.XXX</hostname>
<!-- You can use these two if you only want a single listener -->
<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
</listen-socket>
<listen-socket>
<port>8001</port>
</listen-socket>
<p> <master-server>80.253.104.218</master-server>-->
<master-server-port>8001</master-server-port>-->
<master-update-interval>120</master-update-interval>-->
<master-password>XXXXXX</master-password>-->
<paths>
<basedir>/home/icecast/stream/share</basedir>
<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>/usr/local/icecast/stream/var/logs</logdir>
<webroot>/usr/local/icecast/stream/share/web</webroot>
<adminroot>/usr/local/icecast/stream/share/admin</adminroot>
<!-- Aliases: treat requests for 'source' path as being for 'dest'
path
May be made specific to a port or bound address using the
"port"
and "bind-address" attributes.
<p> <!--<port>8000</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->
<!-- You may have multiple <listener> elements -->
----- Original Message -----
From: "Geoff Shang" <gshang at uq.net.au>
To: <icecast at xiph.org>
Sent: Friday, June 27, 2003 3:49 AM
Subject: Re: [icecast] Icecast2 and Ices2 and Authentication Probs.
<p>> Hi:
>
> We'll need to see your ices configuration file to determine what's going
in
> here. Feel free to send it to me privately if you'd rather do that.
>
> Geoff.
>
>
> --
> Geoff Shang <gshang at uq.net.au>
> ICQ number 43634701
>
> Make sure your E-mail can be read by everyone!
> http://www.betips.net/etc/evilmail.html
>
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.fsf.org/philosophy/no-word-attachments.html
>
> --- >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 at 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 at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast
mailing list