Compare commits
2 commits
21b39e80bf
...
f590f77bca
Author | SHA1 | Date | |
---|---|---|---|
f590f77bca | |||
ecb03ded2a |
3 changed files with 4 additions and 4 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "dsr",
|
||||
"version": "1.11.1",
|
||||
"version": "1.11.2",
|
||||
"description": "Discord Video Sharing",
|
||||
"main": "./dist/main.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue