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

I don't believe this will serve use cases where the desired result is processing in a generic worker.

The GenericTransformStream is the inverse of the ReadableStream/WritableStream pair exposed by an RTCRtpSender/Receiver; the TransformStream does something to what's sent on its writable and emits it on its readable, while the RTCRtpSender/Receiver emits stuff on its readable and expects to have the transformed result on its writable.

In pluggable terms, TransformStream is the plug, and RTCRtpSender/Receiver is the socket.



-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-insertable-streams/issues/48#issuecomment-735412853 using your GitHub account


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

Received on Sunday, 29 November 2020 15:39:30 UTC