mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
e5ae621235
svn path=/icecast/trunk/icecast/; revision=8511
61 lines
2.4 KiB
XML
61 lines
2.4 KiB
XML
<!-- This config file can be used to configure icecast
|
|
in shoutcast compatibility mode which will allow
|
|
you to connect the Shoutcast DSP (or other Nullsoft
|
|
encoders such as the NSV encoder). Note this is just
|
|
a minimal config, check the main icecast.xml.dist file
|
|
for a complete list of possible configuration options -->
|
|
<icecast>
|
|
<limits>
|
|
<sources>2</sources>
|
|
</limits>
|
|
<authentication>
|
|
<!-- Configure the shoutcast DSP to use this password -->
|
|
<source-password>hackme</source-password>
|
|
<!-- This is used for icecast's web interface -->
|
|
<admin-user>admin</admin-user>
|
|
<admin-password>hackme</admin-password>
|
|
</authentication>
|
|
<directory>
|
|
<yp-url-timeout>15</yp-url-timeout>
|
|
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
|
|
</directory>
|
|
<!-- This is the manufactured mount name for your shoutcast
|
|
compatible stream. Since the shoutcast DSP (and NSV encoder)
|
|
cannot specify a mountpoint, you must enter it here -->
|
|
<shoutcast-mount>/stream</shoutcast-mount>
|
|
<!-- Use this if you are streaming NSV using the nullsoft NSV encoder
|
|
<shoutcast-mount>/stream.nsv</shoutcast-mount>
|
|
-->
|
|
<!-- This is the hostname other people will use to connect to your server.
|
|
It affects mainly the urls generated by Icecast for playlists and yp
|
|
listings. -->
|
|
<hostname>localhost</hostname>
|
|
<!-- You MUST define 2 ports, port and port +1 -->
|
|
<listen-socket>
|
|
<!-- Configure the shoutcast DSP with *this* port
|
|
the shoutcast DSP actually will connect the
|
|
encoder to this port + 1 -->
|
|
<port>8000</port>
|
|
</listen-socket>
|
|
<listen-socket>
|
|
<!-- This port *must* be one larger than the one defined
|
|
above and defined as 'shoutcast-compat' -->
|
|
<port>8001</port>
|
|
<shoutcast-compat>1</shoutcast-compat>
|
|
</listen-socket>
|
|
<fileserve>1</fileserve>
|
|
<paths>
|
|
<logdir>@localstatedir@/log/@PACKAGE@</logdir>
|
|
<webroot>@pkgdatadir@/web</webroot>
|
|
<adminroot>@pkgdatadir@/admin</adminroot>
|
|
</paths>
|
|
<logging>
|
|
<accesslog>access.log</accesslog>
|
|
<errorlog>error.log</errorlog>
|
|
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
|
</logging>
|
|
<security>
|
|
<chroot>0</chroot>
|
|
</security>
|
|
</icecast>
|