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
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.4.0 : Friday, 17 January 2020 19:17:58 UTC