- From: Mattias Buelens <notifications@github.com>
- Date: Thu, 16 Dec 2021 08:25:36 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 16 December 2021 16:25:49 UTC
@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