Added --hls-segment-queue-threshold 0 for Streamlink so it doesn't prematurely end if Owncast lags out a bit

This commit is contained in:
barelyprofessional
2025-09-28 15:07:09 -05:00
parent 54fbc1a39e
commit d3e62476d2

View File

@@ -121,7 +121,7 @@ public class StreamCapture(string streamUrl, StreamCaptureMethods captureMethod,
} }
captureLine = $"{captureOverrides?.CaptureStreamlinkBinaryPath ?? _settings[BuiltIn.Keys.CaptureStreamlinkBinaryPath].Value} {twitchOpts} " + captureLine = $"{captureOverrides?.CaptureStreamlinkBinaryPath ?? _settings[BuiltIn.Keys.CaptureStreamlinkBinaryPath].Value} {twitchOpts} " +
$"--output \"{captureOverrides?.CaptureStreamlinkOutputFormat ?? _settings[BuiltIn.Keys.CaptureStreamlinkOutputFormat].Value}\" " + $"--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 else
{ {