Improvements to pulseaudio

- Add a DEBUGGING flag
- Make the location of the unix socket configurable

While I was here I moved all the priority configs in supervisord to the top. I like it better there
This commit is contained in:
Josh.5
2022-10-02 11:27:41 +00:00
committed by Josh Sunnex
parent 1cc4257dd5
commit cfd7bbda0e
13 changed files with 61 additions and 24 deletions

View File

@@ -1,8 +1,8 @@
[program:audiostream]
priority=30
autostart=false
autorestart=true
priority=10
user=%(ENV_USER)s
command=tcpserver 127.0.0.1 %(ENV_PORT_AUDIO_STREAM)s gst-launch-1.0 -q pulsesrc server=/tmp/pulse/pulse-socket ! audio/x-raw, channels=2, rate=24000 ! cutter ! opusenc ! webmmux ! fdsink fd=1
stopsignal=INT
@@ -14,9 +14,9 @@ stderr_logfile_maxbytes=10MB
stderr_logfile_backups=7
[program:audiowebsock]
priority=40
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=INT