I'm trying to create a fake video stream using wrtc on Node.JS, but node-canvas doesn't have #captureStream on it. Is there any way for me to create a MediaStream with a video on it?
I know you can create a media stream as so, but it's empty.
import { MediaStream } from "wrtc";
const stream = new MediaStream() // empty.
I've also found that you can create a video stream using wrtc's non-standard RTCVideoSource API.