Merge pull request #1886 from webtorrent/throttling

Disable background throttling
This commit is contained in:
Feross Aboukhadijeh
2020-11-05 22:30:22 +01:00
committed by GitHub
3 changed files with 6 additions and 3 deletions

View File

@@ -27,7 +27,8 @@ function init () {
webPreferences: {
nodeIntegration: true,
enableBlinkFeatures: 'AudioVideoTracks',
enableRemoteModule: true
enableRemoteModule: true,
backgroundThrottling: false
},
width: 300
})

View File

@@ -45,7 +45,8 @@ function init (state, options) {
webPreferences: {
nodeIntegration: true,
enableBlinkFeatures: 'AudioVideoTracks',
enableRemoteModule: true
enableRemoteModule: true,
backgroundThrottling: false
},
x: initialBounds.x,
y: initialBounds.y

View File

@@ -27,7 +27,8 @@ function init () {
webPreferences: {
nodeIntegration: true,
enableBlinkFeatures: 'AudioVideoTracks',
enableRemoteModule: true
enableRemoteModule: true,
backgroundThrottling: false
},
width: 150
})