Sfoglia il codice sorgente

Use actual video (instead of canvas)

Vijayakrishnan Krishnan 4 anni fa
parent
commit
834aa6fe8a

+ 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%',