update maxBitrate = baseBitrate * 1.6
This commit is contained in:
parent
c856de817f
commit
c81c019ebb
2
dist/main.js
vendored
2
dist/main.js
vendored
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user