2001-09-09 22:21:46 -04:00
|
|
|
<icecast>
|
2003-06-03 21:40:06 -04:00
|
|
|
<limits>
|
|
|
|
<clients>100</clients>
|
|
|
|
<sources>2</sources>
|
|
|
|
<threadpool>5</threadpool>
|
2003-02-24 08:37:15 -05:00
|
|
|
<queue-size>102400</queue-size>
|
2003-06-03 21:40:06 -04:00
|
|
|
<client-timeout>30</client-timeout>
|
|
|
|
<header-timeout>15</header-timeout>
|
|
|
|
<source-timeout>10</source-timeout>
|
2004-04-29 11:23:13 -04:00
|
|
|
<!-- This will provide a burst of data when a client first connects,
|
|
|
|
thereby significantly reducing the startup time for a listener -->
|
|
|
|
<burst-on-connect>1</burst-on-connect>
|
2003-06-03 21:40:06 -04:00
|
|
|
</limits>
|
2001-09-09 22:21:46 -04:00
|
|
|
|
2003-02-06 08:10:48 -05:00
|
|
|
<authentication>
|
|
|
|
<!-- Sources log in with username 'source' -->
|
2003-06-03 21:40:06 -04:00
|
|
|
<source-password>hackme</source-password>
|
2003-02-06 08:10:48 -05:00
|
|
|
<!-- Relays log in username 'relay' -->
|
2003-06-03 21:40:06 -04:00
|
|
|
<relay-password>hackme</relay-password>
|
2003-02-06 08:10:48 -05:00
|
|
|
|
|
|
|
<!-- Admin logs in with the username given below -->
|
|
|
|
<admin-user>admin</admin-user>
|
|
|
|
<admin-password>hackme</admin-password>
|
|
|
|
</authentication>
|
|
|
|
|
|
|
|
<!-- Uncomment this if you want directory listings -->
|
|
|
|
<!--
|
2003-10-31 14:16:12 -05:00
|
|
|
<directory>
|
|
|
|
<yp-url-timeout>15</yp-url-timeout>
|
|
|
|
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
|
|
|
|
</directory>
|
2003-02-06 08:10:48 -05:00
|
|
|
<directory>
|
2003-04-10 23:14:26 -04:00
|
|
|
<yp-url-timeout>15</yp-url-timeout>
|
2003-02-06 08:10:48 -05:00
|
|
|
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
|
|
|
|
</directory>
|
|
|
|
-->
|
2001-09-09 22:21:46 -04:00
|
|
|
|
2004-04-28 16:58:47 -04:00
|
|
|
<!-- 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. -->
|
2003-06-03 21:40:06 -04:00
|
|
|
<hostname>localhost</hostname>
|
2001-09-09 22:21:46 -04:00
|
|
|
|
2003-03-09 06:27:06 -05:00
|
|
|
<!-- You can use these two if you only want a single listener -->
|
2003-06-03 21:40:06 -04:00
|
|
|
<!--<port>8000</port> -->
|
|
|
|
<!--<bind-address>127.0.0.1</bind-address>-->
|
2003-03-09 06:27:06 -05:00
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
-->
|
|
|
|
|
2003-06-03 21:40:06 -04:00
|
|
|
<!--<master-server>127.0.0.1</master-server>-->
|
|
|
|
<!--<master-server-port>8001</master-server-port>-->
|
|
|
|
<!--<master-update-interval>120</master-update-interval>-->
|
|
|
|
<!--<master-password>hackme</master-password>-->
|
2003-02-07 05:53:38 -05:00
|
|
|
<!--
|
|
|
|
<relay>
|
2003-06-03 21:40:06 -04:00
|
|
|
<server>127.0.0.1</server>
|
|
|
|
<port>8001</port>
|
|
|
|
<mount>/example.ogg</mount>
|
|
|
|
<local-mount>/different.ogg</local-mount>
|
2003-02-24 08:37:15 -05:00
|
|
|
|
2003-06-03 21:40:06 -04:00
|
|
|
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
|
2003-02-07 05:53:38 -05:00
|
|
|
</relay>
|
|
|
|
-->
|
2002-08-05 10:48:04 -04:00
|
|
|
|
2003-04-25 04:38:47 -04:00
|
|
|
<!-- Only define a <mount> section if you want to use advanced options,
|
|
|
|
like alternative usernames or passwords
|
2003-02-11 09:23:34 -05:00
|
|
|
<mount>
|
2003-04-25 04:38:47 -04:00
|
|
|
<mount-name>/example-complex.ogg</mount-name>
|
2003-03-02 05:18:28 -05:00
|
|
|
|
2003-02-11 09:23:34 -05:00
|
|
|
<username>othersource</username>
|
|
|
|
<password>hackmemore</password>
|
|
|
|
|
|
|
|
<max-listeners>1</max-listeners>
|
2004-01-08 09:16:26 -05:00
|
|
|
<dump-file>/tmp/dump-example1.ogg</dump-file>
|
2003-02-11 09:23:34 -05:00
|
|
|
<fallback-mount>/example2.ogg</fallback-mount>
|
|
|
|
</mount>
|
2004-01-08 09:16:26 -05:00
|
|
|
-->
|
2003-02-11 09:23:34 -05:00
|
|
|
|
2003-06-03 21:40:06 -04:00
|
|
|
<fileserve>1</fileserve>
|
2002-08-18 01:06:58 -04:00
|
|
|
|
2003-06-03 21:40:06 -04:00
|
|
|
<paths>
|
2004-01-08 09:16:26 -05:00
|
|
|
<!-- basedir is only used if chroot is enabled -->
|
2003-06-17 17:10:56 -04:00
|
|
|
<basedir>@pkgdatadir@</basedir>
|
2003-03-02 05:18:28 -05:00
|
|
|
|
|
|
|
<!-- Note that if <chroot> is turned on below, these paths must both
|
|
|
|
be relative to the new root, not the original root -->
|
2003-06-20 00:01:31 -04:00
|
|
|
<logdir>@localstatedir@/log/@PACKAGE@</logdir>
|
2003-06-17 17:10:56 -04:00
|
|
|
<webroot>@pkgdatadir@/web</webroot>
|
|
|
|
<adminroot>@pkgdatadir@/admin</adminroot>
|
2003-12-04 11:54:48 -05:00
|
|
|
<!-- <pidfile>@pkgdatadir@/icecast.pid</pidfile> -->
|
2003-04-23 08:44:29 -04:00
|
|
|
|
|
|
|
<!-- 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.
|
|
|
|
-->
|
|
|
|
<!--
|
|
|
|
<alias source="/foo" dest="/bar"/>
|
|
|
|
-->
|
2003-06-03 21:40:06 -04:00
|
|
|
</paths>
|
2001-09-09 22:21:46 -04:00
|
|
|
|
2003-06-03 21:40:06 -04:00
|
|
|
<logging>
|
|
|
|
<accesslog>access.log</accesslog>
|
|
|
|
<errorlog>error.log</errorlog>
|
2003-02-06 08:10:48 -05:00
|
|
|
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
2003-06-03 21:40:06 -04:00
|
|
|
</logging>
|
|
|
|
|
|
|
|
<security>
|
|
|
|
<chroot>0</chroot>
|
|
|
|
<!--
|
|
|
|
<changeowner>
|
|
|
|
<user>nobody</user>
|
|
|
|
<group>nogroup</group>
|
2004-01-08 09:16:26 -05:00
|
|
|
</changeowner>
|
2003-06-03 21:40:06 -04:00
|
|
|
-->
|
|
|
|
</security>
|
2001-09-09 22:21:46 -04:00
|
|
|
</icecast>
|