This commit is contained in:
Andy 2018-06-20 00:14:28 +02:00
parent b71cf6d5bd
commit 4589122195
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C

View File

@ -6,6 +6,12 @@ Run it
docker run --name pulseaudio --rm -ti --device /dev/snd 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
```
## Troubleshooting ## Troubleshooting
Enter the namespace of a running container Enter the namespace of a running container
@ -14,6 +20,7 @@ Enter the namespace of a running container
sudo nsenter -a -t $(docker inspect -f '{{ .State.Pid }}' pulseaudio) sudo nsenter -a -t $(docker inspect -f '{{ .State.Pid }}' pulseaudio)
``` ```
## Client setup for zeroconfig auto discovery ## Client setup for zeroconfig auto discovery
If you want the pulseaudio to automatically discover the published sinks, If you want the pulseaudio to automatically discover the published sinks,