Explorar el Código

Minor cleanup

Vijayakrishnan Krishnan hace 5 años
padre
commit
39835670f5
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      resources/views/meet.blade.php

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

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