diff --git a/index.bs b/index.bs index 9a7de963..2266b924 100644 --- a/index.bs +++ b/index.bs @@ -7464,14 +7464,13 @@ web developer code insert [=transform streams=] into the middle of them. const { readable, writable } = createEndpointPair(); - readable.pipeThrough(new TransformStream(...)).pipeTo(writable); + await readable.pipeThrough(new TransformStream(...)).pipeTo(writable); -

WebRTC Insertable Media using -Streams is an example of this technique, with its `sender.createEncodedStreams()` and -`receiver.createEncodedStreams()` methods. - +

WebRTC Encoded Transform +is an example of this technique, with its {{RTCRtpScriptTransformer}} interface which has +both `readable` and `writable` attributes. Despite such endpoint pairs obeying the `readable`/`writable` property contract, it never makes sense to pass them to {{ReadableStream/pipeThrough()}}.