File Change
op25-container/system.pa New PulseAudio config: auth-anonymous=1 so the edge-node can connect without group membership op25-container/Dockerfile Copies system.pa into /etc/pulse/system.pa drb-edge-node/Dockerfile Added libpulse0 — ffmpeg needs this runtime library to use -f pulse drb-edge-node/app/internal/call_recorder.py Switched recording from Icecast (burst-buffer overlap) to PulseAudio monitor (zero-delay, exact call boundaries)
This commit is contained in:
@@ -6,9 +6,12 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install git pulseaudio pulseaudio-utils liquidsoap -y
|
||||
|
||||
# Install custom PulseAudio system config (enables anonymous access for edge-node)
|
||||
COPY system.pa /etc/pulse/system.pa
|
||||
|
||||
# Clone the boatbod op25 repository
|
||||
RUN git clone -b gr310 https://github.com/boatbod/op25 /op25
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
# PulseAudio system daemon configuration for DRB containers.
|
||||
# Allows anonymous connections so the edge-node container can read the audio monitor.
|
||||
|
||||
.nofail
|
||||
|
||||
# Native protocol with anonymous auth — required for inter-container access
|
||||
load-module module-native-protocol-unix socket=/run/pulse/native auth-anonymous=1
|
||||
|
||||
# Always provide a default sink even without audio hardware
|
||||
load-module module-always-sink
|
||||
|
||||
# Restore device/stream settings across restarts
|
||||
load-module module-device-restore
|
||||
load-module module-stream-restore
|
||||
|
||||
.fail
|
||||
Reference in New Issue
Block a user