No puede seleccionar más de 25 temas
Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
Andy
0c34af15ec
|
hace 6 años | |
---|---|---|
Dockerfile | hace 6 años | |
LICENSE | hace 8 años | |
README.md | hace 6 años | |
avahi-daemon.conf | hace 6 años | |
client.conf | hace 6 años | |
daemon.conf | hace 6 años | |
default.pa | hace 6 años | |
entrypoint.sh | hace 6 años |
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)