- From: Jan-Ivar Bruaroey <notifications@github.com>
- Date: Thu, 04 May 2023 14:17:34 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 4 May 2023 21:17:40 UTC
The examples in the [streams-for-raw-video-explainer.md](https://github.com/whatwg/streams/blob/main/streams-for-raw-video-explainer.md) seem outdated now. Can we update them? That would make wide review easier.
If I follow this PR right, we seem to have:
```js
new ReadableStream({
type: "owning",
pull(controller) {
const frame = new VideoFrame(offscreenCanvas);
controller.enqueue(frame, {transfer: [frame]});
}
}
```
Did I get that right?
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1271#issuecomment-1535424689
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/streams/pull/1271/c1535424689@github.com>
Received on Thursday, 4 May 2023 21:17:40 UTC