From d6e899e0875eea65667fb4349fd455d36c1cf3f3 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 3 May 2024 14:23:43 +0200 Subject: [PATCH] start pulseaudio as in non standalone mode --- Standalone/start-selenium-standalone.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Standalone/start-selenium-standalone.sh b/Standalone/start-selenium-standalone.sh index bc7b4f859..33887459e 100755 --- a/Standalone/start-selenium-standalone.sh +++ b/Standalone/start-selenium-standalone.sh @@ -2,6 +2,16 @@ # # IMPORTANT: Change this file only in directory Standalone! +# Start the pulseaudio server +pulseaudio -D --exit-idle-time=-1 + +# Load the virtual sink and set it as default +pacmd load-module module-virtual-sink sink_name=v1 +pacmd set-default-sink v1 + +# set the monitor of v1 sink to be the default source +pacmd set-default-source v1.monitor + if [ ! -z "$SE_SUB_PATH" ]; then echo "Using SE_SUB_PATH: ${SE_SUB_PATH}" SUB_PATH_CONFIG="--sub-path ${SE_SUB_PATH}"