Compare commits

...

2 commits

Author SHA1 Message Date
f590f77bca
bump version to 1.11.2
All checks were successful
Upload release / build (push) Successful in 1m45s
2024-10-16 01:08:36 +02:00
ecb03ded2a
add extra room 2024-10-16 01:08:17 +02:00
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "dsr",
"version": "1.11.1",
"version": "1.11.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "dsr",
"version": "1.11.1",
"version": "1.11.2",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@electron-forge/maker-zip": "^7.5",

View file

@ -1,6 +1,6 @@
{
"name": "dsr",
"version": "1.11.1",
"version": "1.11.2",
"description": "Discord Video Sharing",
"main": "./dist/main.js",
"scripts": {

View file

@ -153,7 +153,7 @@ app.whenReady().then(() => {
audioTracks: number[]
) => {
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;
let finalFile;