Pulseaudio in a container!
This commit is contained in:
parent
d42f458e84
commit
6b217eebb7
2 changed files with 17 additions and 1 deletions
|
@ -51,7 +51,12 @@ RUN dnf install -y \
|
|||
zlib \
|
||||
openssl \
|
||||
libzstd \
|
||||
xz-libs
|
||||
xz-libs \
|
||||
gstreamer1 \
|
||||
gstreamer1-plugins-base \
|
||||
gstreamer1-plugins-good \
|
||||
gstreamer1-plugins-bad-free \
|
||||
gstreamer1-plugins-ugly-free
|
||||
|
||||
WORKDIR /home/donar
|
||||
RUN mkdir /home/donar/shared && mkdir /home/donar/res && chown -R 1000 /home/donar
|
||||
|
|
11
README.md
11
README.md
|
@ -271,3 +271,14 @@ gst-launch-1.0 \
|
|||
webrtcechoprobe ! \
|
||||
autoaudiosink
|
||||
```
|
||||
|
||||
```
|
||||
sudo docker run \
|
||||
--rm \
|
||||
-it \
|
||||
-e PULSE_SERVER=unix:/run/user/1000/pulse/native \
|
||||
-v ${XDG_RUNTIME_DIR}/pulse/native:/run/user/1000/pulse/native \
|
||||
-v ~/.config/pulse/cookie:/root/.config/pulse/cookie \
|
||||
--group-add $(getent group audio | cut -d: -f3) \
|
||||
registry.gitlab.inria.fr/qdufour/donar
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue