84 lines
2.5 KiB
XML
84 lines
2.5 KiB
XML
<icecast>
|
|
<location>Earth</location>
|
|
<admin>icemaster@localhost</admin>
|
|
|
|
<limits>
|
|
<clients>100</clients>
|
|
<sources>2</sources>
|
|
<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>
|
|
<!-- Sources log in with username 'source' -->
|
|
<source-password>hackme</source-password>
|
|
<!-- Relays log in with username 'relay' -->
|
|
<relay-password>hackme</relay-password>
|
|
|
|
<relay-user>bro</relay-user>
|
|
|
|
<!-- Admin logs in with the username given below -->
|
|
<admin-user>admin</admin-user>
|
|
<admin-password>hackme</admin-password>
|
|
</authentication>
|
|
|
|
<hostname>localhost</hostname>
|
|
|
|
<listen-socket>
|
|
<port>8000</port>
|
|
</listen-socket>
|
|
<http-headers>
|
|
<header name="Access-Control-Allow-Origin" value="*" />
|
|
</http-headers>
|
|
|
|
|
|
<mount type="normal">
|
|
<mount-name>/radio-bullshit.ogg</mount-name>
|
|
|
|
<username>othersource</username>
|
|
<password>hackmemore</password>
|
|
|
|
<max-listeners>1</max-listeners>
|
|
<dump-file>/tmp/dump-example1.ogg</dump-file>
|
|
<burst-size>65536</burst-size>
|
|
<fallback-mount>/example2.ogg</fallback-mount>
|
|
<fallback-override>1</fallback-override>
|
|
<fallback-when-full>1</fallback-when-full>
|
|
<intro>/example_intro.ogg</intro>
|
|
<hidden>1</hidden>
|
|
<public>1</public>
|
|
<http-headers>
|
|
<header name="Access-Control-Allow-Origin" value="http://webplayer.example.org" />
|
|
<header name="baz" value="quux" />
|
|
</http-headers>
|
|
<on-connect>/home/icecast/bin/stream-start</on-connect>
|
|
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
|
|
</mount>
|
|
|
|
<fileserve>1</fileserve>
|
|
|
|
<paths>
|
|
<basedir>/usr/share/icecast</basedir>
|
|
|
|
<logdir>/var/log/icecast</logdir>
|
|
<webroot>/usr/share/icecast/web</webroot>
|
|
<adminroot>/usr/share/icecast/admin</adminroot>
|
|
<alias source="/" destination="/status.xsl"/>
|
|
</paths>
|
|
|
|
<logging>
|
|
<accesslog>access.log</accesslog>
|
|
<errorlog>error.log</errorlog>
|
|
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
|
<logsize>10000</logsize> <!-- Max size of a logfile -->
|
|
</logging>
|
|
|
|
<security>
|
|
<chroot>0</chroot>
|
|
</security>
|
|
</icecast>
|