Alan Yeung пре 2 година
родитељ
комит
551a719f27
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      web/Recorder/index.html

+ 3 - 1
web/Recorder/index.html

@@ -353,7 +353,9 @@
                 navigator.mediaDevices.getDisplayMedia({
                         displaySurface: 'monitor',
                         logicalSurface: true,
-                        cursor: 'always'
+                        cursor: 'always',
+                        video: true,
+                        audio: true
                     }).then(function(camera) {
                     callback(camera);
                 }).catch(function(error) {