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

@@ -26,7 +26,8 @@ function init () {
title: 'webtorrent-hidden-window',
useContentSize: true,
webPreferences: {
nodeIntegration: true
nodeIntegration: true,
enableBlinkFeatures: 'AudioVideoTracks'
},
width: 150
})