File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -7464,14 +7464,13 @@ web developer code insert [=transform streams=] into the middle of them.
7464
7464
7465
7465
<xmp highlight="js">
7466
7466
const { readable, writable } = createEndpointPair();
7467
- readable.pipeThrough(new TransformStream(...)).pipeTo(writable);
7467
+ await readable.pipeThrough(new TransformStream(...)).pipeTo(writable);
7468
7468
</xmp>
7469
7469
</div>
7470
7470
7471
- <p class="example" id="example-endpoint-pair-webrtc"><cite> WebRTC Insertable Media using
7472
- Streams</cite> is an example of this technique, with its `sender.createEncodedStreams()` and
7473
- `receiver.createEncodedStreams()` methods.
7474
- <!-- TODO cite it and cross-link to it https://github.com/tobie/specref/issues/620 -->
7471
+ <p class="example" id="example-endpoint-pair-webrtc"><cite> WebRTC Encoded Transform</cite>
7472
+ is an example of this technique, with its {{RTCRtpScriptTransformer}} interface which has
7473
+ both `readable` and `writable` attributes.
7475
7474
7476
7475
Despite such endpoint pairs obeying the `readable`/`writable` property contract, it never makes
7477
7476
sense to pass them to {{ReadableStream/pipeThrough()}} .
You can’t perform that action at this time.
0 commit comments