oop oop
This commit is contained in:
parent
6ba0896a6e
commit
c587e93c56
1 changed files with 6 additions and 4 deletions
|
@ -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
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue