29 lines
966 B
INI
29 lines
966 B
INI
|
|
[program:audiostream]
|
|
autostart=false
|
|
autorestart=true
|
|
priority=10
|
|
user=%(ENV_USER)s
|
|
command=tcpserver localhost %(ENV_PORT_AUDIO_STREAM)s gst-launch-1.0 -q pulsesrc server=/tmp/pulseaudio.socket ! audio/x-raw, channels=2, rate=24000 ! cutter ! opusenc ! webmmux ! fdsink fd=1
|
|
stopsignal=QUIT
|
|
stdout_logfile=/home/%(ENV_USER)s/.cache/log/audiostream.log
|
|
stdout_logfile_maxbytes=10MB
|
|
stdout_logfile_backups=7
|
|
stderr_logfile=/home/%(ENV_USER)s/.cache/log/audiostream.err.log
|
|
stderr_logfile_maxbytes=10MB
|
|
stderr_logfile_backups=7
|
|
|
|
[program:audiowebsock]
|
|
autostart=false
|
|
autorestart=true
|
|
priority=10
|
|
user=%(ENV_USER)s
|
|
command=/usr/local/bin/websockify %(ENV_PORT_AUDIO_WEBSOCKET)s localhost:%(ENV_PORT_AUDIO_STREAM)s
|
|
stopsignal=QUIT
|
|
stdout_logfile=/home/%(ENV_USER)s/.cache/log/audiowebsock.log
|
|
stdout_logfile_maxbytes=10MB
|
|
stdout_logfile_backups=7
|
|
stderr_logfile=/home/%(ENV_USER)s/.cache/log/audiowebsock.err.log
|
|
stderr_logfile_maxbytes=10MB
|
|
stderr_logfile_backups=7
|