<icecast>
    <limits>
        <clients>128</clients>
        <sources>3</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>131072</burst-size>
    </limits>

    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>hackme</source-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>hackme</admin-password>
    </authentication>

    <listen-socket>
        <port>8000</port>
    </listen-socket>

	<mount>
		<mount-name>/music.mp3</mount-name>
		<password>hackme</password>
	</mount>

	<mount>
		<mount-name>/live.mp3</mount-name>
		<password>hackme</password>
		<fallback-mount>/music.mp3</fallback-mount>
		<fallback-override>1</fallback-override>
		<!--
        <dump-file>/radio/dump/last-live-stream.mp3</dump-file>
        <on-connect>/radio/bin/on-live-connected</on-connect>
        <on-disconnect>/radio/bin/on-live-disconnected</on-disconnect>
		-->
	</mount>

    <paths>
        <basedir>/usr/share/icecast2</basedir>
        <logdir>/var/log/icecast2</logdir>
        <webroot>/usr/share/icecast2/web</webroot>
        <adminroot>/usr/share/icecast2/admin</adminroot>
        <alias source="/" dest="/status.xsl"/>
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
      	<loglevel>3</loglevel>
      	<logsize>10000</logsize>
    </logging>
</icecast>
