Skip to content

Commit fcb7730

Browse files
Keith BannisterKeith Bannister
authored andcommitted
Fix firefox problem
1 parent a175490 commit fcb7730

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

public/game/js/game.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,7 @@ function sendCutout(self) {
936936
self.cutoutSent= true;
937937

938938
console.log('Adding cutout video track to peer connection');
939+
var ctx = cutout_video.getContext('2d');
939940
var stream = cutout_video.captureStream(30);
940941
var track = stream.getVideoTracks()[0];
941942
//pc.addTrack(track, stream);

0 commit comments

Comments
 (0)