The camera needs to be initialized with:
console.log("chroma-key: start video", stream);
// init video object
this.videoStream = stream;
this.video = document.createElement("video");
this.video.autoplay = true;
this.video.srcObject = stream;
(Line 169 in chroma-key js)