[whatwg/streams] srcObject (#1160)

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.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1160

Received on Thursday, 19 August 2021 09:02:18 UTC