From c81c019ebb958c7c37dc3cbfeb6c8ab700106fe3 Mon Sep 17 00:00:00 2001 From: matty Date: Wed, 17 Apr 2024 10:35:57 -0400 Subject: [PATCH] update maxBitrate = baseBitrate * 1.6 --- dist/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/main.js b/dist/main.js index 57cf2e2..9979679 100644 --- a/dist/main.js +++ b/dist/main.js @@ -352,7 +352,7 @@ async function hevcLiveBuilder(params) { function getTargetBitrate(resolution, fps) { const baseBitrate = pluginSettings.baseBitrate.get(resolution) || 0; - const maxBitrate = baseBitrate * 1.4; + const maxBitrate = baseBitrate * 1.6; const maxBitrateDifference = maxBitrate - baseBitrate; const maxFpsDifference = 60 - 30; return Math.floor(baseBitrate + (fps - 30) * (maxBitrateDifference / maxFpsDifference));