icecast.xml 2.68 KB
Newer Older
Jack Moffitt's avatar
Jack Moffitt committed
1
<icecast>
2 3
	<location>Not Currently Used</location>
	<admin>Not Currently Used</admin>
Jack Moffitt's avatar
Jack Moffitt committed
4 5

	<limits>
6
		<clients>100</clients>
Jack Moffitt's avatar
Jack Moffitt committed
7 8
		<sources>2</sources>
		<threadpool>5</threadpool>
9
        <queue-size>102400</queue-size>
10 11
		<client-timeout>30</client-timeout>
		<header-timeout>15</header-timeout>
12
		<source-timeout>10</source-timeout>
Jack Moffitt's avatar
Jack Moffitt committed
13 14
	</limits>

15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    <authentication>
        <!-- Sources log in with username 'source' -->
    	<source-password>hackme</source-password>
        <!-- Relays log in username 'relay' -->
	    <relay-password>hackme</relay-password>

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

    <!-- Uncomment this if you want directory listings -->
    <!--
    <directory>
        <yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
    </directory>
     -->
Jack Moffitt's avatar
Jack Moffitt committed
32

33
	<hostname>localhost</hostname>
Jack Moffitt's avatar
Jack Moffitt committed
34

35 36
    <!-- You can use these two if you only want a single listener -->
	<!--<port>8000</port> -->
37
	<!--<bind-address>127.0.0.1</bind-address>-->
38 39 40 41 42 43 44 45 46 47 48 49

    <!-- You may have multiple <listener> elements -->
    <listen-socket>
        <port>8000</port>
        <!-- <bind-address>127.0.0.1</bind-address> -->
    </listen-socket>
    <!--
    <listen-socket>
        <port>8001</port>
    </listen-socket>
    -->

50 51
	<!--<master-server>127.0.0.1</master-server>-->
	<!--<master-server-port>8001</master-server-port>-->
52 53
	<!--<master-update-interval>120</master-update-interval>-->
	<!--<master-password>hackme</master-password>-->
Michael Smith's avatar
Michael Smith committed
54 55 56 57 58
    <!--
    <relay>
      <server>127.0.0.1</server>
      <port>8001</port>
      <mount>/example.ogg</mount>
59 60 61
      <local-mount>/different.ogg</local-mount>

      <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
Michael Smith's avatar
Michael Smith committed
62 63
    </relay>
    -->
64

65 66
    <mount>
        <mount-name>/example1.ogg</mount-name>
67

68 69 70 71
        <username>othersource</username>
        <password>hackmemore</password>

        <max-listeners>1</max-listeners>
72
<!--        <dump-file>/tmp/dump-example1.ogg</dump-file> -->
73 74 75
        <fallback-mount>/example2.ogg</fallback-mount>
    </mount>

76
	<fileserve>1</fileserve>
77

78
	<paths>
79
		<basedir>/usr/local/icecast</basedir>
80 81 82

        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->
83 84
		<logdir>/usr/local/icecast/logs</logdir>
		<webroot>/usr/local/icecast/web</webroot>
85
	</paths>
Jack Moffitt's avatar
Jack Moffitt committed
86 87 88 89

	<logging>
		<accesslog>access.log</accesslog>
		<errorlog>error.log</errorlog>
90
      	<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
Jack Moffitt's avatar
Jack Moffitt committed
91
	</logging>
92

93 94 95 96 97 98 99
	<security>
		<chroot>0</chroot>
<!--		<changeowner>
			<user>nobody</user>
			<group>nogroup</group>
		</changeowner>  -->
	</security>
Jack Moffitt's avatar
Jack Moffitt committed
100
</icecast>