aboutsummaryrefslogtreecommitdiff
path: root/scripts/twitch-stream.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/twitch-stream.sh')
-rwxr-xr-xscripts/twitch-stream.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/twitch-stream.sh b/scripts/twitch-stream.sh
index aaa5828..99dade8 100755
--- a/scripts/twitch-stream.sh
+++ b/scripts/twitch-stream.sh
@@ -1,5 +1,5 @@
#!/bin/sh
[ "$#" -ne 3 ] && echo "usage: twitch-stream.sh <window_id> <fps> <livestream_key>" && exit 1
-active_sink="$(pactl get-default-sink).monitor"
+active_sink=default_output
gpu-screen-recorder -w "$1" -c flv -f "$2" -q high -a "$active_sink" -o "rtmp://live.twitch.tv/app/$3"