mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
d0134556dc
svn path=/icecast/trunk/icecast/; revision=9790
50 lines
1.8 KiB
XML
50 lines
1.8 KiB
XML
<icecast>
|
|
<!-- This is a simple example of using the url authenticator. -->
|
|
<limits>
|
|
<clients>100</clients>
|
|
<sources>2</sources>
|
|
<threadpool>5</threadpool>
|
|
<queue-size>524288</queue-size>
|
|
<client-timeout>30</client-timeout>
|
|
<header-timeout>15</header-timeout>
|
|
<source-timeout>10</source-timeout>
|
|
<burst-on-connect>1</burst-on-connect>
|
|
<burst-size>65535</burst-size>
|
|
</limits>
|
|
<authentication>
|
|
<source-password>hackme</source-password>
|
|
<relay-password>hackme</relay-password>
|
|
<admin-user>admin</admin-user>
|
|
<admin-password>hackme</admin-password>
|
|
</authentication>
|
|
<hostname>localhost</hostname>
|
|
<listen-socket>
|
|
<port>8000</port>
|
|
</listen-socket>
|
|
<mount>
|
|
<mount-name>/auth_example.ogg</mount-name>
|
|
<authentication type="url">
|
|
<option name="mount_add" value="http://myauthserver.net/action.php"/>
|
|
<option name="mount_remove" value="http://myauthserver.net/action.php"/>
|
|
<option name="listener_add" value="http://myauthserver.net/action.php"/>
|
|
<option name="listener_remove" value="http://myauthserver.net/action.php"/>
|
|
</authentication>
|
|
</mount>
|
|
<fileserve>1</fileserve>
|
|
<paths>
|
|
<basedir>@pkgdatadir@</basedir>
|
|
<logdir>@localstatedir@/log/@PACKAGE@</logdir>
|
|
<webroot>@pkgdatadir@/web</webroot>
|
|
<adminroot>@pkgdatadir@/admin</adminroot>
|
|
<alias source="/" dest="/status.xsl"/>
|
|
</paths>
|
|
<logging>
|
|
<accesslog>access.log</accesslog>
|
|
<errorlog>error.log</errorlog>
|
|
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
|
</logging>
|
|
<security>
|
|
<chroot>0</chroot>
|
|
</security>
|
|
</icecast>
|