From 50db4d342ab58c27b3f093b2f9681d3778df5ccb Mon Sep 17 00:00:00 2001
From: wukko <me@wukko.me>
Date: Wed, 8 Jan 2025 11:22:05 +0600
Subject: [PATCH] api & web: roll back the default hls change due to doubled
 CPU usage

---
 api/package.json                 | 2 +-
 api/src/processing/schema.js     | 2 +-
 web/package.json                 | 2 +-
 web/src/lib/settings/defaults.ts | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/api/package.json b/api/package.json
index 907f9701..fccbddff 100644
--- a/api/package.json
+++ b/api/package.json
@@ -1,7 +1,7 @@
 {
     "name": "@imput/cobalt-api",
     "description": "save what you love",
-    "version": "10.5.3",
+    "version": "10.5.4",
     "author": "imput",
     "exports": "./src/cobalt.js",
     "type": "module",
diff --git a/api/src/processing/schema.js b/api/src/processing/schema.js
index 2ba35152..48d8b058 100644
--- a/api/src/processing/schema.js
+++ b/api/src/processing/schema.js
@@ -46,6 +46,6 @@ export const apiSchema = z.object({
     tiktokH265: z.boolean().default(false),
     twitterGif: z.boolean().default(true),
 
-    youtubeHLS: z.boolean().default(true),
+    youtubeHLS: z.boolean().default(false),
 })
 .strict();
diff --git a/web/package.json b/web/package.json
index 2cc25076..37a7bb49 100644
--- a/web/package.json
+++ b/web/package.json
@@ -1,6 +1,6 @@
 {
     "name": "@imput/cobalt-web",
-    "version": "10.5",
+    "version": "10.5.1",
     "type": "module",
     "private": true,
     "scripts": {
diff --git a/web/src/lib/settings/defaults.ts b/web/src/lib/settings/defaults.ts
index 8edc5a95..a4448aaa 100644
--- a/web/src/lib/settings/defaults.ts
+++ b/web/src/lib/settings/defaults.ts
@@ -26,7 +26,7 @@ const defaultSettings: CobaltSettings = {
         videoQuality: "1080",
         youtubeVideoCodec: "h264",
         youtubeDubLang: "original",
-        youtubeHLS: true,
+        youtubeHLS: false,
     },
     privacy: {
         alwaysProxy: false,