From 239f2010f5b91117ecd485ac20c541a1e8ecd434 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 5 Sep 2024 23:39:17 +0200 Subject: Fix systemd service file --- scripts/youtube-hls-stream.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/youtube-hls-stream.sh') diff --git a/scripts/youtube-hls-stream.sh b/scripts/youtube-hls-stream.sh index 2f1659e..10fa6b2 100755 --- a/scripts/youtube-hls-stream.sh +++ b/scripts/youtube-hls-stream.sh @@ -1,5 +1,5 @@ #!/bin/sh [ "$#" -ne 3 ] && echo "usage: youtube-hls-stream.sh " && exit 1 -active_sink="$(pactl get-default-sink).monitor" +active_sink=default_output gpu-screen-recorder -w "$1" -c hls -f "$2" -q high -a "$active_sink" -ac aac -o "https://a.upload.youtube.com/http_upload_hls?cid=$3©=0&file=stream.m3u8" \ No newline at end of file -- cgit v1.2.3