From 1a3d673223619c9294635c4f94c8e5076b223e31 Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Wed, 20 Jun 2018 00:18:01 +0200 Subject: [PATCH] trivial --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b069d3b..e876967 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ ## Pulseaudio in Docker -Run it +Build and run it ``` +docker build -t andrey01/pulseaudio . docker run --name pulseaudio --rm -ti --device /dev/snd andrey01/pulseaudio ``` @@ -12,6 +13,21 @@ 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