icecast.xml.in 3.5 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 6 7 8
    <limits>
        <clients>100</clients>
        <sources>2</sources>
        <threadpool>5</threadpool>
9
        <queue-size>102400</queue-size>
10 11 12 13
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
    </limits>
Jack Moffitt's avatar
Jack Moffitt committed
14

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

        <!-- 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>
29
        <yp-url-timeout>15</yp-url-timeout>
30
        <yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
31 32 33 34
    </directory>
    <directory>
        <yp-url-timeout>15</yp-url-timeout>
        <yp-url>http://yp.icecast.net/cgi-bin/yp.cgi</yp-url>
35 36
    </directory>
     -->
Jack Moffitt's avatar
Jack Moffitt committed
37

38
    <hostname>localhost</hostname>
Jack Moffitt's avatar
Jack Moffitt committed
39

40
    <!-- You can use these two if you only want a single listener -->
41 42
    <!--<port>8000</port> -->
    <!--<bind-address>127.0.0.1</bind-address>-->
43 44 45 46 47 48 49 50 51 52 53 54

    <!-- 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>
    -->

55 56 57 58
    <!--<master-server>127.0.0.1</master-server>-->
    <!--<master-server-port>8001</master-server-port>-->
    <!--<master-update-interval>120</master-update-interval>-->
    <!--<master-password>hackme</master-password>-->
Michael Smith's avatar
Michael Smith committed
59 60
    <!--
    <relay>
61 62 63 64
        <server>127.0.0.1</server>
        <port>8001</port>
        <mount>/example.ogg</mount>
        <local-mount>/different.ogg</local-mount>
65

66
        <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
Michael Smith's avatar
Michael Smith committed
67 68
    </relay>
    -->
69

70 71 72
    <!-- Only define a <mount> section if you want to use advanced options,
         like alternative usernames or passwords
      -->
73
    <mount>
74
        <mount-name>/example-complex.ogg</mount-name>
75

76 77 78 79
        <username>othersource</username>
        <password>hackmemore</password>

        <max-listeners>1</max-listeners>
80
        <!-- <dump-file>/tmp/dump-example1.ogg</dump-file> -->
81 82 83
        <fallback-mount>/example2.ogg</fallback-mount>
    </mount>

84
    <fileserve>1</fileserve>
85

86
    <paths>
87
        <basedir>@pkgdatadir@</basedir>
88 89 90

        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->
91 92 93
        <logdir>@localstatedir@/@PACKAGE@/logs</logdir>
        <webroot>@pkgdatadir@/web</webroot>
        <adminroot>@pkgdatadir@/admin</adminroot>
94 95 96 97 98 99 100 101

        <!-- Aliases: treat requests for 'source' path as being for 'dest' path
             May be made specific to a port or bound address using the "port"
             and "bind-address" attributes.
          -->
        <!--
        <alias source="/foo" dest="/bar"/>
          -->
102
    </paths>
Jack Moffitt's avatar
Jack Moffitt committed
103

104 105 106
    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
107
      	<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
108 109 110 111 112 113 114 115 116 117 118
    </logging>

    <security>
        <chroot>0</chroot>
        <!--
        <changeowner>
            <user>nobody</user>
            <group>nogroup</group>
	</changeowner>
        -->
    </security>
Jack Moffitt's avatar
Jack Moffitt committed
119
</icecast>