2021-06-11 15:03:35 +00:00
|
|
|
<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>
|
|
|
|
<!-- Admin logs in with the username given below -->
|
2021-06-11 15:33:42 +00:00
|
|
|
<admin-user>{{ admin_user }}</admin-user>
|
|
|
|
<admin-password>{{ admin_password }}</admin-password>
|
2021-06-11 15:03:35 +00:00
|
|
|
</authentication>
|
|
|
|
|
2021-06-11 15:33:42 +00:00
|
|
|
<hostname>{{ hostname }}</hostname>
|
2021-06-11 15:03:35 +00:00
|
|
|
|
|
|
|
<listen-socket>
|
2021-06-11 15:33:42 +00:00
|
|
|
<port>{{ port }}</port>
|
2021-06-11 15:03:35 +00:00
|
|
|
</listen-socket>
|
|
|
|
<http-headers>
|
|
|
|
<header name="Access-Control-Allow-Origin" value="*" />
|
|
|
|
</http-headers>
|
|
|
|
|
|
|
|
|
|
|
|
<mount type="normal">
|
2021-06-15 21:55:38 +00:00
|
|
|
<mount-name>/radio-bullshit</mount-name>
|
2021-06-11 15:03:35 +00:00
|
|
|
|
2021-06-11 15:33:42 +00:00
|
|
|
<username>{{ source_username }}</username>
|
|
|
|
<password>{{ source_password }}</password>
|
2021-06-11 15:03:35 +00:00
|
|
|
|
2021-06-11 15:33:42 +00:00
|
|
|
<max-listeners>{{ max_listeners }}</max-listeners>
|
2021-06-11 15:03:35 +00:00
|
|
|
<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>
|
|
|
|
</mount>
|
|
|
|
|
|
|
|
<fileserve>1</fileserve>
|
|
|
|
|
|
|
|
<paths>
|
2021-06-15 21:55:38 +00:00
|
|
|
<basedir>/usr/share/icecast2</basedir>
|
2021-06-11 15:03:35 +00:00
|
|
|
|
|
|
|
<logdir>/var/log/icecast</logdir>
|
2021-06-15 21:55:38 +00:00
|
|
|
<webroot>/usr/share/icecast2/web</webroot>
|
|
|
|
<adminroot>/usr/share/icecast2/admin</adminroot>
|
|
|
|
<alias source="/" destination="/index.html"/>
|
2021-06-11 15:03:35 +00:00
|
|
|
</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>
|