Update README.md

This commit is contained in:
Johannes Pohl 2016-05-08 11:52:56 +02:00
parent e9d84607c0
commit ee9011f64f

View file

@ -55,6 +55,10 @@ Different streams can by configured with a list of `-s` options, e.g.:
SNAPSERVER_OPTS="-d -s pipe:///tmp/snapfifo?name=Radio&sampleformat=48000:16:2&codec=flac -s file:///home/user/Musik/Some%20wave%20file.wav?name=File"
The pipe stream (`-s pipe`) will per default create the pipe. Sometimes your audio source might insist in creating the pipe itself. So the pipe creation mode can by changed to "not create, but only read mode", using the `mode` option set to `create` or `read`:
SNAPSERVER_OPTS="-d -s pipe:///tmp/snapfifo?name=Radio&mode=read"
Test
----
You can test your installation by copying random data into the server's fifo file