trivial
This commit is contained in:
parent
4589122195
commit
1a3d673223
18
README.md
18
README.md
@ -1,8 +1,9 @@
|
|||||||
## Pulseaudio in Docker
|
## 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
|
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
|
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
|
## Troubleshooting
|
||||||
|
|
||||||
Enter the namespace of a running container
|
Enter the namespace of a running container
|
||||||
|
Loading…
Reference in New Issue
Block a user