4 <!-- run in background -->
5 <background>0</background>
6 <!-- where logs go. -->
7 <logpath>/var/log/ices</logpath>
8 <logfile>ices.log</logfile>
9 <!-- 1=error, 2=warn, 3=infoa ,4=debug -->
10 <loglevel>4</loglevel>
11 <!-- logfile is ignored if this is set to 1 -->
12 <consolelog>0</consolelog>
14 <!-- optional filename to write process id to -->
15 <!-- <pidfile>/home/ices/ices.pid</pidfile> -->
18 <!-- metadata used for stream listing -->
20 <name>Example stream name</name>
21 <genre>Example genre</genre>
22 <description>A short description of your stream</description>
23 <url>http://mysite.org</url>
28 This example uses the 'oss' module. It takes input from the
29 OSS audio device (e.g. line-in), and processes it for live
32 <module>stdinpcm</module>
33 <param name="rate">8000</param>
34 <param name="channels">1</param>
35 <!-- Read metadata (from stdin by default, or -->
36 <!-- filename defined below (if the latter, only on SIGUSR1) -->
37 <param name="metadata">1</param>
38 <param name="metadatafilename">test</param>
43 You may have one or more instances here. This allows you to
44 send the same input data to one or more servers (or to different
45 mountpoints on the same server). Each of them can have different
46 parameters. This is primarily useful for a) relaying to multiple
47 independent servers, and b) encoding/reencoding to multiple
50 If one instance fails (for example, the associated server goes
51 down, etc), the others will continue to function correctly.
52 This example defines a single instance doing live encoding at
58 You define hostname and port for the server here, along
59 with the source password and mountpoint. -->
61 <hostname>localhost</hostname>
63 <password>temppass</password>
64 <mount>/example.ogg</mount>
65 <yp>1</yp> <!-- allow stream to be advertised on YP, default 0 -->
67 <!-- Live encoding/reencoding:
69 channels and samplerate currently MUST match the channels
70 and samplerate given in the parameters to the oss input
71 module above or the remsaple/downmix section below. -->
75 <samplerate>8000</samplerate>
76 <channels>1</channels>
79 <!-- stereo->mono downmixing, enabled by setting this to 1 -->
84 Set to the frequency (in Hz) you wish to resample to, -->
87 <in-rate>44100</in-rate>
88 <out-rate>22050</out-rate>