[webrtc-insertable-streams] Consider using TransformStreams instead of exposing ReadableStream/WritableStream (#48)

youennf has just created a new issue for https://github.com/w3c/webrtc-insertable-streams:

== Consider using TransformStreams instead of exposing ReadableStream/WritableStream ==
It might be worth considering using TransformStreams instead of exposing ReadableStream/WritableStream directly.
One reason is consistency with other APIs like https://encoding.spec.whatwg.org/#interface-textencoderstream or https://encoding.spec.whatwg.org/#interface-textencoderstream.
This for instance makes it easier to define native transforms.
Not dealing with ReadableStream is also nice to remove some potential foot guns like cloning a ReadableStream.

Please view or discuss this issue at https://github.com/w3c/webrtc-insertable-streams/issues/48 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 30 September 2020 13:29:30 UTC