gray-magician-34629
11/26/2025, 11:56 AMtall-airline-16756
11/26/2025, 11:56 AMtall-airline-16756
11/26/2025, 11:57 AMdocker run command for the egress container (or relevant service section).
3. Whether enable_chrome_sandbox is true in your egress config.
4. Whether PulseAudio is installed and running on the EC2 host, and how you’re exposing it to the container (socket bind or TCP)?
5. Output of these commands run on the host:
◦ pulseaudio --check -v
◦ ps aux | grep pulseaudio
◦ docker inspect livekit-egress-1 | grep -i pulse -n || true
While you gather that, try these checks (safe to run now):
• Restart/start PulseAudio on the host:
sudo apt-get update
sudo apt-get install -y pulseaudio
pulseaudio --start --load="module-native-protocol-tcp auth-anonymous=1" --exit-idle-time=-1
(Using TCP with auth-anonymous=1 is convenient for EC2; we’ll lock it down after confirming it works.)
• Ensure the container has access to PulseAudio:
◦ If using host socket: mount /run/user/1000/pulse (adjust UID) and appropriate ~/.config/pulse into the container.
◦ If using TCP: confirm container can reach host port 4713 (host IP or host.docker.internal).
• If enable_chrome_sandbox: true, run the container with --cap-add=SYS_ADMIN and the Chrome seccomp profile; or temporarily set enable_chrome_sandbox: false to see if sandboxing is the blocker.
Send the requested info and command outputs and I’ll give the next exact commands and config edits to fix it.
Sources: Self-hosting the Egress Service | LiveKit docs