Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Andy
0c34af15ec
|
6 лет назад | |
---|---|---|
Dockerfile | 6 лет назад | |
LICENSE | 8 лет назад | |
README.md | 6 лет назад | |
avahi-daemon.conf | 6 лет назад | |
client.conf | 6 лет назад | |
daemon.conf | 6 лет назад | |
default.pa | 6 лет назад | |
entrypoint.sh | 6 лет назад |
README.md
Pulseaudio in Docker
Build and run it
docker build -t andrey01/pulseaudio .
docker run --name pulseaudio --rm -ti --device /dev/snd andrey01/pulseaudio
Use it
PULSE_SERVER=$(docker inspect pulseaudio -f '{{.NetworkSettings.IPAddress }}'):4713 mpv film.avi
Client setup for zeroconfig auto discovery
If you want the pulseaudio to automatically discover the published sinks,
make sure /etc/pulse/default.pa
has the following line:
load-module module-zeroconf-discover
Then restart pulseaudio:
pulseaudio --kill
Troubleshooting
Enter the namespace of a running container
sudo nsenter -a -t $(docker inspect -f '{{ .State.Pid }}' pulseaudio)