Merge pull request #1886 from webtorrent/throttling
Disable background throttling
This commit is contained in:
@@ -27,7 +27,8 @@ function init () {
|
|||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
enableBlinkFeatures: 'AudioVideoTracks',
|
enableBlinkFeatures: 'AudioVideoTracks',
|
||||||
enableRemoteModule: true
|
enableRemoteModule: true,
|
||||||
|
backgroundThrottling: false
|
||||||
},
|
},
|
||||||
width: 300
|
width: 300
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -45,7 +45,8 @@ function init (state, options) {
|
|||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
enableBlinkFeatures: 'AudioVideoTracks',
|
enableBlinkFeatures: 'AudioVideoTracks',
|
||||||
enableRemoteModule: true
|
enableRemoteModule: true,
|
||||||
|
backgroundThrottling: false
|
||||||
},
|
},
|
||||||
x: initialBounds.x,
|
x: initialBounds.x,
|
||||||
y: initialBounds.y
|
y: initialBounds.y
|
||||||
|
|||||||
@@ -27,7 +27,8 @@ function init () {
|
|||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
enableBlinkFeatures: 'AudioVideoTracks',
|
enableBlinkFeatures: 'AudioVideoTracks',
|
||||||
enableRemoteModule: true
|
enableRemoteModule: true,
|
||||||
|
backgroundThrottling: false
|
||||||
},
|
},
|
||||||
width: 150
|
width: 150
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user