kenperlin / chalktalk

MIT License
2.13k stars 137 forks source link

Video init with createObjectURL is not working anymore #44

Open s00500 opened 5 years ago

s00500 commented 5 years ago

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)