2001-09-09 22:21:46 -04:00
|
|
|
<icecast>
|
2011-11-25 17:41:54 -05:00
|
|
|
<!-- location and admin are two arbitrary strings that are e.g. visible
|
|
|
|
on the server info page of the icecast web interface
|
|
|
|
(server_version.xsl). -->
|
2011-12-17 16:05:10 -05:00
|
|
|
<location>Earth</location>
|
2011-11-25 17:41:54 -05:00
|
|
|
<admin>icemaster@localhost</admin>
|
|
|
|
|
2003-06-03 21:40:06 -04:00
|
|
|
<limits>
|
|
|
|
<clients>100</clients>
|
|
|
|
<sources>2</sources>
|
|
|
|
<threadpool>5</threadpool>
|
2005-06-09 11:32:19 -04:00
|
|
|
<queue-size>524288</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>
|
|
|
|
|
2008-04-18 22:04:17 -04: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-02-06 08:10:48 -05:00
|
|
|
<!-- 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>
|
2003-02-06 08:10:48 -05:00
|
|
|
</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 may have multiple <listener> elements -->
|
|
|
|
<listen-socket>
|
|
|
|
<port>8000</port>
|
|
|
|
<!-- <bind-address>127.0.0.1</bind-address> -->
|
2008-02-02 22:11:54 -05:00
|
|
|
<!-- <shoutcast-mount>/stream</shoutcast-mount> -->
|
2003-03-09 06:27:06 -05:00
|
|
|
</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>-->
|
2005-06-09 11:44:38 -04:00
|
|
|
|
|
|
|
<!-- setting this makes all relays on-demand unless overridden, this is
|
|
|
|
useful for master relays which do not have <relay> definitions here.
|
|
|
|
The default is 0 -->
|
|
|
|
<!--<relays-on-demand>1</relays-on-demand>-->
|
|
|
|
|
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>
|
2005-06-09 11:44:38 -04:00
|
|
|
<on-demand>0</on-demand>
|
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>
|
2005-08-23 14:40:20 -04:00
|
|
|
<fallback-when-full>1</fallback-when-full>
|
2005-06-09 11:44:38 -04:00
|
|
|
<intro>/example_intro.ogg</intro>
|
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>
|
2005-06-09 20:37:09 -04:00
|
|
|
<on-connect>/home/icecast/bin/stream-start</on-connect>
|
|
|
|
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
|
2003-02-11 09:23:34 -05:00
|
|
|
</mount>
|
2005-08-17 12:38:46 -04:00
|
|
|
|
|
|
|
<mount>
|
|
|
|
<mount-name>/auth_example.ogg</mount-name>
|
|
|
|
<authentication type="url">
|
|
|
|
<option name="mount_add" value="http://myauthserver.net/notify_mount.php"/>
|
|
|
|
<option name="mount_remove" value="http://myauthserver.net/notify_mount.php"/>
|
|
|
|
<option name="listener_add" value="http://myauthserver.net/notify_listener.php"/>
|
|
|
|
<option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
|
|
|
|
</authentication>
|
|
|
|
</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.
|
|
|
|
-->
|
|
|
|
<!--
|
2011-11-25 17:22:48 -05:00
|
|
|
<alias source="/foo" destination="/bar"/>
|
2003-04-23 08:44:29 -04:00
|
|
|
-->
|
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
|
|
|
|
-->
|
2011-11-25 17:22:48 -05:00
|
|
|
<alias source="/" destination="/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> -->
|
2008-02-02 22:11:54 -05:00
|
|
|
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
2005-10-24 10:51:54 -04:00
|
|
|
<logsize>10000</logsize> <!-- Max size of a logfile -->
|
|
|
|
<!-- If logarchive is enabled (1), then when logsize is reached
|
|
|
|
the logfile will be moved to [error|access|playlist].log.DATESTAMP,
|
|
|
|
otherwise it will be moved to [error|access|playlist].log.old.
|
|
|
|
Default is non-archive mode (i.e. overwrite)
|
|
|
|
-->
|
|
|
|
<!-- <logarchive>1</logarchive> -->
|
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>
|