This commit is contained in:
V 2023-07-03 22:22:35 +02:00
parent 6ba0896a6e
commit c587e93c56
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

View file

@ -56,14 +56,16 @@ addPatch({
const height = Number(currentSettings.resolution); const height = Number(currentSettings.resolution);
const width = Math.round(height * (16 / 9)); const width = Math.round(height * (16 / 9));
Object.assign(opts, {
bitrateMin: 500000,
bitrateMax: 8000000,
bitrateTarget: 600000
});
Object.assign(opts.capture, { Object.assign(opts.capture, {
framerate, framerate,
width, width,
height, height,
pixelCount: height * width, pixelCount: height * width
bitrateMin: 500000,
bitrateMax: 8000000,
bitrateTarget: 600000
}); });
} }
}); });