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 22:28:58 -04:00
|
|
|
<!-- 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,
|
2004-07-22 09:38:20 -04:00
|
|
|
it also significantly increases latency between the source
|
|
|
|
client and listening client. For low-latency setups, you
|
|
|
|
might want to disable this. -->
|
|
|
|
<burst-on-connect>1</burst-on-connect>
|
2004-08-22 11:00:35 -04:00
|
|
|
<!-- 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 -->
|
|
|
|
<burst-size>65535</burst-size>
|
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>
|
2004-08-22 11:00:35 -04:00
|
|
|
<burst-size>65536</burst-size>
|
2003-02-11 09:23:34 -05:00
|
|
|
<fallback-mount>/example2.ogg</fallback-mount>
|
2004-11-19 21:16:59 -05:00
|
|
|
<fallback-override>1</fallback-override>
|
2004-11-22 13:21:48 -05:00
|
|
|
<hidden>1</hidden>
|
2004-11-21 10:51:49 -05:00
|
|
|
<no-yp>1</no-yp>
|
2004-04-30 10:36:07 -04:00
|
|
|
<authentication type="htpasswd">
|
|
|
|
<option name="filename" value="myauth"/>
|
2004-05-17 00:33:46 -04:00
|
|
|
<option name="allow_duplicate_users" value="0"/>
|
2004-04-30 10:36:07 -04:00
|
|
|
</authentication>
|
2003-02-11 09:23:34 -05:00
|
|
|
</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
|
|
|
|
2004-11-17 11:02:04 -05:00
|
|
|
<!-- set the mountpoint for a shoutcast source to use, the default if not
|
|
|
|
specified is /stream but you can change it here if an alternative is
|
|
|
|
wanted or an extension is required
|
|
|
|
<shoutcast-mount>/live.nsv</shoutcast-mount>
|
|
|
|
-->
|
|
|
|
|
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"/>
|
|
|
|
-->
|
2004-05-03 11:00:18 -04:00
|
|
|
<!-- 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"/>
|
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>
|
2004-11-15 23:04:02 -05:00
|
|
|
<!-- <playlistlog>playlist.log</playlistlog> -->
|
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>
|