Re: [webrtc-pc] WHATWG streams for data channel messages

Well, that is not entirely true. A blob can only be allocated once you have received the entire message (since you might encounter an error at some point). With a stream you could start processing bytes right away and error the stream the moment you encounter an error in the message. So streams would be a lower-level primitive on which you could do blobs.

-- 
GitHub Notification of comment by annevk
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1732#issuecomment-360736519 using your GitHub account

Received on Friday, 26 January 2018 10:01:09 UTC