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

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

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Sat, 10 May 2014 15:57:48 +0200
Message-ID: <CALiegfnsk1qe_zXT5NHYK_rx3-HJod+3POtuy+Yw0JueVDYKTA@mail.gmail.com>
To: piranna@gmail.com
Cc: public-webrtc@w3.org, Luis López Fernández <luis.lopez@urjc.es>, Micael Gallego Carrillo <micael.gallego@gmail.com>, Wolfgang Beck <wolfgang.beck01@googlemail.com>
I've never tested it, but the API states that send() may throw an exception.

--
Iñaki Baz Castillo
<ibc@aliax.net>
On May 10, 2014 3:41 PM, "piranna@gmail.com" <piranna@gmail.com> wrote:

> > The problem is that the DataChannel JS API mimics the WebSocket JS API
> > (it is intentional), which behaves in the same way.
>
> WebSockets gets clossed if receiver buffer is full? This would explain
> some problems we have at work...
>
Received on Saturday, 10 May 2014 13:58:15 UTC

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