W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2014

Re: DataChannel: how to know the max size of the sending buffer?

From: Wolfgang Beck <wolfgang.beck01@googlemail.com>
Date: Mon, 12 May 2014 16:53:47 +0200
Message-ID: <5370E07B.4070908@gmail.com>
To: "piranna@gmail.com" <piranna@gmail.com>, Wolfgang Beck <wolfgang.beck01@googlemail.com>
CC: "public-webrtc@w3.org" <public-webrtc@w3.org>, IƱaki Baz Castillo <ibc@aliax.net>

On 05/11/14 20:32, piranna@gmail.com wrote:
>
> > JS definitely needs a unified, composable way to deal with operations
> > that may queue and block; WebSockets, Datachannels, File 
> reader/write, etc.
>
> That's the purpose of Stream API, based on Node.js streams and similar 
> to Python file-like objects and currently in specification 
> development, bit you can see some initial support on MediaStream API.
>
The Stream API looks good. The pipe() method should make code dealing 
with both data channel and files so much cleaner.
This is the way to go.


Wolfgang
Received on Monday, 12 May 2014 14:54:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:40 UTC