Explorar o código

Update index.html

Alan Yeung %!s(int64=2) %!d(string=hai) anos
pai
achega
551a719f27
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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) {