use videoTracks and audioTracks to check unsupported codecs

This commit is contained in:
hicom150
2019-10-12 17:44:13 +02:00
parent 287bcfd703
commit f2c531baa4
4 changed files with 37 additions and 17 deletions

View File

@@ -44,7 +44,8 @@ function init (state, options) {
useContentSize: true, // Specify web page size without OS chrome
width: initialBounds.width,
webPreferences: {
nodeIntegration: true
nodeIntegration: true,
enableBlinkFeatures: 'AudioVideoTracks'
},
x: initialBounds.x,
y: initialBounds.y