Skip to content

Commit

Permalink
Merge pull request #489 from MrBrax/develop-ts
Browse files Browse the repository at this point in the history
2024-01-15
  • Loading branch information
MrBrax authored Jan 15, 2024
2 parents 24b2db3 + 791c218 commit 1c00f08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions common/ServerConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ export const settingsFields: Record<string, SettingField> = {
group: "Capture",
text: "HLS segment queue threshold",
type: "number",
default: 0,
help: "If set to 0, it will be ignored.",
default: -1,
help: "If set to -1, it will be ignored. 0 disables the check.",
},

"capture.use_cache": {
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "livestreamdvr-server",
"version": "1.7.2",
"version": "1.7.2.1",
"description": "",
"main": "index.ts",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions server/src/Core/Providers/Base/BaseAutomator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1619,8 +1619,8 @@ export class BaseAutomator {
);

// streamlink 6.0.0 timeout
if (Config.getInstance().cfg("capture.hls_segment_queue_threshold", 0) != 0) {
cmd.push("--hls-segment-queue-threshold", Config.getInstance().cfg("capture.hls_segment_queue_threshold", 0).toString());
if (Config.getInstance().cfg("capture.hls_segment_queue_threshold", -1) != -1) {
cmd.push("--hls-segment-queue-threshold", Config.getInstance().cfg("capture.hls_segment_queue_threshold", -1).toString());
}

// The size of the thread pool used to download HLS segments.
Expand Down

0 comments on commit 1c00f08

Please sign in to comment.