We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcb7730 commit 8e9e87bCopy full SHA for 8e9e87b
1 file changed
public/game/js/game.js
@@ -780,7 +780,7 @@ function webcamVideo(self, headCanvas) {
780
ctx.strokeRect(box.x, box.y, box.width, box.height);
781
}
782
783
- }, 500)
+ }, 200)
784
785
// Send cutout - only happens once but we need to have done all
786
// The face detection the first timea;sldkfj
@@ -936,6 +936,8 @@ function sendCutout(self) {
936
self.cutoutSent= true;
937
938
console.log('Adding cutout video track to peer connection');
939
+ // Get context - required to workaround
940
+ // https://bugzilla.mozilla.org/show_bug.cgi?id=1572422
941
var ctx = cutout_video.getContext('2d');
942
var stream = cutout_video.captureStream(30);
943
var track = stream.getVideoTracks()[0];
0 commit comments