2004-11-11 17:25:00 -05:00
|
|
|
<!-- 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
|
2018-09-28 05:40:09 -04:00
|
|
|
for a complete list of possible configuration options
|
|
|
|
-->
|
2004-11-11 17:25:00 -05:00
|
|
|
<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>
|
2022-03-12 08:09:50 -05:00
|
|
|
<yp-directory url="https://dir.xiph.org/cgi-bin/yp-cgi">
|
|
|
|
<option name="timeout" value="15" />
|
|
|
|
</yp-directory>
|
2004-11-11 17:25:00 -05:00
|
|
|
<!-- This is the hostname other people will use to connect to your server.
|
2018-09-28 05:40:09 -04:00
|
|
|
It affects mainly the urls generated by Icecast for playlists and yp
|
|
|
|
listings.
|
|
|
|
-->
|
2004-11-11 17:25:00 -05:00
|
|
|
<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>
|
2008-01-28 22:24:47 -05:00
|
|
|
<shoutcast-mount>/stream</shoutcast-mount>
|
2004-11-11 17:25:00 -05:00
|
|
|
</listen-socket>
|
|
|
|
<paths>
|
|
|
|
<logdir>@localstatedir@/log/@PACKAGE@</logdir>
|
|
|
|
<webroot>@pkgdatadir@/web</webroot>
|
|
|
|
<adminroot>@pkgdatadir@/admin</adminroot>
|
|
|
|
</paths>
|
|
|
|
<logging>
|
|
|
|
<accesslog>access.log</accesslog>
|
|
|
|
<errorlog>error.log</errorlog>
|
2018-09-28 06:59:09 -04:00
|
|
|
<loglevel>information</loglevel> <!-- "debug", "information", "warning", or "error" -->
|
2004-11-11 17:25:00 -05:00
|
|
|
</logging>
|
|
|
|
<security>
|
2018-09-28 06:59:09 -04:00
|
|
|
<chroot>false</chroot>
|
2004-11-11 17:25:00 -05:00
|
|
|
</security>
|
2018-09-28 05:54:11 -04:00
|
|
|
<http-headers>
|
2018-11-04 07:55:51 -05:00
|
|
|
<header type="cors" name="Access-Control-Allow-Origin" />
|
2022-03-12 08:54:02 -05:00
|
|
|
<header type="cors" name="Access-Control-Allow-Headers" />
|
|
|
|
<header type="cors" name="Access-Control-Expose-Headers" />
|
2018-09-28 05:54:11 -04:00
|
|
|
</http-headers>
|
2004-11-11 17:25:00 -05:00
|
|
|
</icecast>
|