소스 검색

Minor cleanup

Vijayakrishnan Krishnan 5 년 전
부모
커밋
39835670f5
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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%',