Просмотр исходного кода

Use actual video (instead of canvas)

Vijayakrishnan Krishnan 4 лет назад
Родитель
Сommit
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%',