One of the examples of a use case for streams given in the spec is "Video effects: piping a readable video stream through a transform stream that applies effects in real time."
Does the following code work?
const video = document.createElement('video');
video.srcObject = stream;
I'm a bit hazy in general about how MediaStream and streams relate to each other.
One of the examples of a use case for streams given in the spec is "Video effects: piping a readable video stream through a transform stream that applies effects in real time."
Does the following code work?
I'm a bit hazy in general about how MediaStream and streams relate to each other.