blob: 8a4327a79b9a83bc0a07e3085126716f44a336d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# conf.d file for snapserver
# Options for running Snapserver as daemon
#
# -p, --port arg (=1704)
# Server port
#
# --controlPort arg (=1705)
# Remote control port
#
# -s, --stream arg (=pipe:///tmp/snapfifo?name=default)
# URI of the PCM input stream.
# Format: TYPE://host/path?name=NAME
# [&codec=CODEC]
# [&sampleformat=SAMPLEFORMAT]
#
# --sampleformat arg (=48000:16:2)
# Default sample format
#
# -c, --codec arg (=flac)
# Default transport codec
# (flac|ogg|pcm)[:options]
# Type codec:? to get codec specific options
#
# --streamBuffer arg (=20)
# Default stream read buffer [ms]
#
# -b, --buffer arg (=1000)
# Buffer [ms]
#
# --sendToMuted
# Send audio to muted clients
#
# -d, --daemon [=arg(=0)]
# Daemonize
# Optional process priority [-20..19]
#
# --user arg
# The user[:group] to run snapserver as when daemonized
#
# For all command line options, please see man snapserver
SNAPSERVER_USER="--user snapserver:snapserver"
SNAPSERVER_OPTS="-s pipe:///tmp/snapfifo?name=default"
|