79 lines
2.0 KiB
XML
79 lines
2.0 KiB
XML
|
<icecast>
|
||
|
<hostname>radio.arav.su</hostname>
|
||
|
<location>Somewhere in Russia</location>
|
||
|
<admin>admin@arav.su</admin>
|
||
|
|
||
|
<limits>
|
||
|
<clients>128</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>
|
||
|
<source-password>SOURCEPWD</source-password>
|
||
|
<relay-password>RELAYPWD</relay-password>
|
||
|
<admin-user>admin</admin-user>
|
||
|
<admin-password>ADMINPWD</admin-password>
|
||
|
</authentication>
|
||
|
|
||
|
<directory>
|
||
|
<yp-url-timeout>15</yp-url-timeout>
|
||
|
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
|
||
|
</directory>
|
||
|
|
||
|
<listen-socket>
|
||
|
<port>8001</port>
|
||
|
<bind-address>127.0.0.1</bind-address>
|
||
|
</listen-socket>
|
||
|
|
||
|
<http-headers>
|
||
|
<header name="Access-Control-Allow-Origin" value="*" />
|
||
|
</http-headers>
|
||
|
|
||
|
|
||
|
<mount type="normal">
|
||
|
<mount-name>/stream.ogg</mount-name>
|
||
|
<charset>UTF8</charset>
|
||
|
<public>1</public>
|
||
|
<on-connect>/usr/bin/dwelling-radio-listener-connect</on-connect>
|
||
|
<on-disconnect>/usr/bin/dwelling-radio-listener-disconnect</on-disconnect>
|
||
|
</mount>
|
||
|
|
||
|
<mount type="normal">
|
||
|
<mount-name>/test.ogg</mount-name>
|
||
|
<charset>UTF8</charset>
|
||
|
<public>0</public>
|
||
|
</mount>
|
||
|
|
||
|
|
||
|
<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"/>
|
||
|
<x-forwarded-for>192.168.144.2</x-forwarded-for>
|
||
|
</paths>
|
||
|
|
||
|
<logging>
|
||
|
<accesslog>access.log</accesslog>
|
||
|
<errorlog>error.log</errorlog>
|
||
|
<playlistlog>playlist.log</playlistlog>
|
||
|
<loglevel>1</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
||
|
<logsize>10000</logsize> <!-- Max size of a logfile -->
|
||
|
<logarchive>0</logarchive>
|
||
|
</logging>
|
||
|
|
||
|
<security>
|
||
|
<chroot>0</chroot>
|
||
|
<changeowner>
|
||
|
<user>icecast</user>
|
||
|
<group>icecast</group>
|
||
|
</changeowner>
|
||
|
</security>
|
||
|
</icecast>
|