mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
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:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user