瀏覽代碼

Use actual video (instead of canvas)

Vijayakrishnan Krishnan 4 年之前
父節點
當前提交
834aa6fe8a
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      resources/views/client-dashboard.blade.php
  2. 1 1
      resources/views/pro-call.blade.php

+ 1 - 1
resources/views/client-dashboard.blade.php

@@ -230,7 +230,7 @@
 
                     // initialize the publisher
                     var publisherOptions = {
-                        videoSource: canvas.captureStream(1).getVideoTracks()[0], // TODO: Comment this line to use webcam
+                        // videoSource: canvas.captureStream(1).getVideoTracks()[0], // TODO: Comment this line to use webcam
                         insertMode: 'append',
                         width: '100%',
                         height: '100%',

+ 1 - 1
resources/views/pro-call.blade.php

@@ -301,7 +301,7 @@
 
                     // initialize the publisher
                     var publisherOptions = {
-                        videoSource: canvas.captureStream(1).getVideoTracks()[0], // TODO: Comment this line to use webcam
+                        // videoSource: canvas.captureStream(1).getVideoTracks()[0], // TODO: Comment this line to use webcam
                         insertMode: 'append',
                         width: '100%',
                         height: '100%',