From d3e62476d2b71c239bdaf0b5b6b166892cc77f2a Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sun, 28 Sep 2025 15:07:09 -0500 Subject: [PATCH] Added --hls-segment-queue-threshold 0 for Streamlink so it doesn't prematurely end if Owncast lags out a bit --- KfChatDotNetBot/Services/StreamCapture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Services/StreamCapture.cs b/KfChatDotNetBot/Services/StreamCapture.cs index ccbc66d..7d95274 100644 --- a/KfChatDotNetBot/Services/StreamCapture.cs +++ b/KfChatDotNetBot/Services/StreamCapture.cs @@ -121,7 +121,7 @@ public class StreamCapture(string streamUrl, StreamCaptureMethods captureMethod, } captureLine = $"{captureOverrides?.CaptureStreamlinkBinaryPath ?? _settings[BuiltIn.Keys.CaptureStreamlinkBinaryPath].Value} {twitchOpts} " + $"--output \"{captureOverrides?.CaptureStreamlinkOutputFormat ?? _settings[BuiltIn.Keys.CaptureStreamlinkOutputFormat].Value}\" " + - $"--retry-streams 15 --retry-max 10 {streamUrl} best"; + $"--retry-streams 15 --retry-max 10 --hls-segment-queue-threshold 0 {streamUrl} best"; } else {