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

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