Vijayakrishnan Krishnan 5 éve
szülő
commit
39835670f5
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      resources/views/meet.blade.php

+ 1 - 2
resources/views/meet.blade.php

@@ -217,7 +217,6 @@
                     canvas.width = 640;
                     canvas.height = 480;
                     const ctx = canvas.getContext('2d');
-
                     var pos = 100;
                     window.setInterval(function() {
                         ctx.clearRect(0, 0, canvas.width, canvas.height);
@@ -323,7 +322,7 @@
 
                     // initialize the publisher
                     var publisherOptions = {
-                        videoSource: canvas.captureStream(1).getVideoTracks()[0],
+                        videoSource: canvas.captureStream(1).getVideoTracks()[0], // TODO: Comment this line to use webcam
                         insertMode: 'append',
                         width: '100%',
                         height: '100%',