62 lines
1.8 KiB
XML
62 lines
1.8 KiB
XML
<icecast>
|
|
<location>Asteroid Radio</location>
|
|
<admin>admin@asteroid.radio</admin>
|
|
|
|
<limits>
|
|
<clients>100</clients>
|
|
<sources>5</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>500000</burst-size>
|
|
</limits>
|
|
|
|
<authentication>
|
|
<source-password>H1tn31EhsyLrfRmo</source-password>
|
|
<relay-password>asteroid_relay_2024</relay-password>
|
|
<admin-user>admin</admin-user>
|
|
<admin-password>asteroid_admin_2024</admin-password>
|
|
</authentication>
|
|
|
|
<hostname>localhost</hostname>
|
|
|
|
<listen-socket>
|
|
<port>8000</port>
|
|
</listen-socket>
|
|
|
|
|
|
<fileserve>1</fileserve>
|
|
|
|
<paths>
|
|
<basedir>/usr/share/icecast2</basedir>
|
|
<logdir>/var/log/icecast</logdir>
|
|
<webroot>/usr/share/icecast2/web</webroot>
|
|
<adminroot>/usr/share/icecast2/admin</adminroot>
|
|
<alias source="/" destination="/status.xsl"/>
|
|
</paths>
|
|
|
|
<logging>
|
|
<accesslog>access.log</accesslog>
|
|
<errorlog>error.log</errorlog>
|
|
<loglevel>3</loglevel>
|
|
<logsize>10000</logsize>
|
|
</logging>
|
|
|
|
<security>
|
|
<chroot>0</chroot>
|
|
<changeowner>
|
|
<user>icecast</user>
|
|
<group>icecast</group>
|
|
</changeowner>
|
|
</security>
|
|
|
|
<!-- CORS headers for Web Audio API -->
|
|
<http-headers>
|
|
<header name="Access-Control-Allow-Origin" value="*" />
|
|
<header name="Access-Control-Allow-Headers" value="Origin, Accept, X-Requested-With, Content-Type" />
|
|
<header name="Access-Control-Allow-Methods" value="GET, OPTIONS, HEAD" />
|
|
</http-headers>
|
|
</icecast>
|