From ea80b240c315a2d54624f71ba7c6cc17d6155979 Mon Sep 17 00:00:00 2001 From: varNewDog <78435157+varNewDog@users.noreply.github.com> Date: Fri, 29 Dec 2023 15:18:19 -0500 Subject: [PATCH] Update README.md Adds the section to solve sound playback issue on Ubuntu Server host server. With original configuration the container does not have access to ALSA system of the host machine, making impossible to playback Sound Action's files. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index d8e4d84..d6713be 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,14 @@ services: Note: In the case of Raspberry Pi and other low power ARM SBCs, please hit the WebUI URL atleast 30 seconds after the container deployment. A few seconds maybe required by the ARM processors to kick start the needed services. Before this time you may not get response in the web browser. Also at the first time, you may have to refresh the WebUI a couple of times for the UI to get fully loaded. +Linux host note: If you experiencing sound playback issues on Ubuntu server host, i.e. Action sound won't play through server's speaker, add these lines to docker-compose.yml: +

+        group_add:
+          - audio
+        devices:
+          - /dev/snd:/dev/snd
+
+

docker cli ( click here for more info)

docker run -d \
   --name=ispyagentdvr \