| 1 | <?xml version="1.0"?> |
|---|
| 2 | <ices> |
|---|
| 3 | <background>0</background> <!-- run in background? (unimplemented) --> |
|---|
| 4 | <realtime>0</realtime> <!-- disable realtime, enabled by default --> |
|---|
| 5 | <user>ices</user> <!-- user to change to when started as root --> |
|---|
| 6 | <logpath>/tmp</logpath> <!-- where log goes. --> |
|---|
| 7 | <logsize>2048</logsize> <!-- the size the log has to get to before cycling --> |
|---|
| 8 | <logfile>ices.log</logfile> |
|---|
| 9 | <loglevel>4</loglevel> <!-- 1=error,2=warn,3=info,4=debug --> |
|---|
| 10 | <consolelog>0</consolelog> <!-- logfile is ignored if this is set to 1 --> |
|---|
| 11 | <pidfile>/var/run/ices.pid</pidfile> <!-- file to write process id to --> |
|---|
| 12 | |
|---|
| 13 | <stream> |
|---|
| 14 | <!-- global settings for all streams - optional--> |
|---|
| 15 | <name>InOut Sink</name> |
|---|
| 16 | <genre>Experimental</genre> |
|---|
| 17 | <description>InOut Collaboration</description> |
|---|
| 18 | |
|---|
| 19 | <!-- input module --> |
|---|
| 20 | <!-- This example uses the 'jack' module. It takes input from the --> |
|---|
| 21 | <!-- jack ports and processes it for live --> |
|---|
| 22 | <!-- encoding. If metadatafilename is set then at start and on USR1 --> |
|---|
| 23 | <!-- the file is read and the comments are added into the stream --> |
|---|
| 24 | <input> |
|---|
| 25 | <module>jack</module> |
|---|
| 26 | <param name="channels">2</param> <!-- number channels that will be available as jack ports--> |
|---|
| 27 | <param name="clientname">ices</param> <!-- jackclient name --> |
|---|
| 28 | <!-- <param name="connect">alsa_pcm:capture_1,alsa_pcm:capture_2</param> --> <!-- Comma-separated list of ports to connect to at startup.(optional, it is also possible to use tools like jack.plumbing to take care of the connections) --> |
|---|
| 29 | <param name="metadatafilename">metadata</param> |
|---|
| 30 | </input> |
|---|
| 31 | <!-- more input section can be stated here, and can be switched manually --> |
|---|
| 32 | <!-- by USR2 or whenever the previous input finishes. The order is --> |
|---|
| 33 | <!-- dictated in here and loops aronnd to the first one listed --> |
|---|
| 34 | |
|---|
| 35 | <!-- A runner is a thread that applies the input data to each outgoing --> |
|---|
| 36 | <!-- stream instance defined within it. Multiple runners can be stated --> |
|---|
| 37 | <!-- for use on multiple processors. --> |
|---|
| 38 | <runner> |
|---|
| 39 | <!-- stream instance, used to associate a set of encoding settings --> |
|---|
| 40 | <!-- with output. At the moment 2 outputs can be used, shout and --> |
|---|
| 41 | <!-- savestream. Any number or combination of these outputs can be used --> |
|---|
| 42 | <instance> |
|---|
| 43 | <!-- per instance setting, overriding the global settings - optional--> |
|---|
| 44 | <!-- |
|---|
| 45 | <name>test transmission</name> |
|---|
| 46 | <genre>various</genre> |
|---|
| 47 | <description>low bandwidth stream</description> |
|---|
| 48 | --> |
|---|
| 49 | <shout> |
|---|
| 50 | <hostname>io.rg42.org</hostname> |
|---|
| 51 | <port>8002</port> |
|---|
| 52 | <password>inoutsource</password> |
|---|
| 53 | <mount>/inoutc2.ogg</mount> |
|---|
| 54 | </shout> |
|---|
| 55 | |
|---|
| 56 | <!-- resample input to the stated samplerate - optional |
|---|
| 57 | the input can change samplerate so this can be used to fix it |
|---|
| 58 | at a certain rate --> |
|---|
| 59 | <!-- |
|---|
| 60 | <resample> |
|---|
| 61 | <out-rate>22050</out-rate> |
|---|
| 62 | </resample> |
|---|
| 63 | --> |
|---|
| 64 | |
|---|
| 65 | <!-- stereo->mono downmixing, enabled by setting this to 1 - optional --> |
|---|
| 66 | <!-- |
|---|
| 67 | <downmix>1</downmix> |
|---|
| 68 | --> |
|---|
| 69 | <!-- Live encoding/reencoding: --> |
|---|
| 70 | <encode> |
|---|
| 71 | <quality>1.1</quality> |
|---|
| 72 | <!-- usual options for encoding, except from samplerate and chanels --> |
|---|
| 73 | <!-- they are set from input/resample/downmix setting --> |
|---|
| 74 | </encode> |
|---|
| 75 | </instance> |
|---|
| 76 | |
|---|
| 77 | </runner> |
|---|
| 78 | </stream> |
|---|
| 79 | </ices> |
|---|