Re: [whatwg/streams] Explainer for proposed stream changes related to VideoFrame processing (PR #1193)

@MattiasBuelens approved this pull request.

LGTM! 👍

> +  });
+  // Native transform is of type 'transfer'
+  const backgroundBlurTransform = new BackgroundBlurTransform();
+
+  return videoFrameStream.pipeThrough(backgroundBlurTransform)
+                         .pipeThrough(frameCountTransform);
+}
+```
+
+## Goals
+
+*   Permit `ReadableStream`, `WritableStream` and `TransformStream` objects to take ownership of chunks they manipulate.
+*   Permit to build a safe and optimal video pipeline using `ReadableStream`, `WritableStream` and `TransformStream` objects that manipulate `VideoFrame` objects.
+*   Permit both native and JavaScript-based streams of type 'transfer'.
+*   Permit to optimize streams pipelines of transferable chunks like `ArrayBuffer`, `RTCEncodedVideoFrame` or `RTCEncodedAudioFrame`.
+*   Permit to tee a `ReadableStream` of `VideoFrame` objectss without tight coupling between the teed branches.

```suggestion
*   Permit to tee a `ReadableStream` of `VideoFrame` objects without tight coupling between the teed branches.
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1193#pullrequestreview-834320033

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1193/review/834320033@github.com>

Received on Thursday, 16 December 2021 16:25:49 UTC