From 929ed8758efe31acfdac22163cc2ce0b5ab4b3f9 Mon Sep 17 00:00:00 2001 From: Avinash Pandey Date: Fri, 22 Sep 2023 16:09:36 +0530 Subject: [PATCH] fixed audio bug --- res/run-vlc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/run-vlc.sh b/res/run-vlc.sh index c762b54..156a0ff 100755 --- a/res/run-vlc.sh +++ b/res/run-vlc.sh @@ -1,4 +1,4 @@ #!/bin/bash -export DISPLAY=:0 && su -c "cvlc --no-osd --no-video-title-show --network-caching=300 rtp://@:7236" letsving +export DISPLAY=:0 && export XDG_RUNTIME_DIR=/run/user/$(id -u letsving) && su -c "cvlc --no-osd --no-video-title-show --network-caching=300 rtp://@:7236" letsving #export DISPLAY=:0 && su -c "cvlc --no-osd --no-video-title-show --network-caching=200 --no-ts-trust-pcr --h264-fps=23 rtp://@:7236" letsving