add extra room
This commit is contained in:
parent
21b39e80bf
commit
ecb03ded2a
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ app.whenReady().then(() => {
|
||||||
audioTracks: number[]
|
audioTracks: number[]
|
||||||
) => {
|
) => {
|
||||||
const audioBitrate = Math.ceil(
|
const audioBitrate = Math.ceil(
|
||||||
audioTracks.reduce((sum, current) => current + sum, 0)
|
audioTracks.reduce((sum, current) => current + sum, 50) // initial value > 0 for extra room
|
||||||
);
|
);
|
||||||
const videoBitrate = bitrate - audioBitrate;
|
const videoBitrate = bitrate - audioBitrate;
|
||||||
let finalFile;
|
let finalFile;
|
||||||
|
|
Loading…
Reference in a new issue