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

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

From: Martin Thomson <martin.thomson@gmail.com>
Date: Wed, 7 May 2014 17:02:41 -0700
Message-ID: <CABkgnnUwhJbxG2ed6znMVXryuyqiNKinwovM9LhGHaX=m7V9Jg@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Cc: tim panton <thp@westhawk.co.uk>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On 7 May 2014 14:49, Iñaki Baz Castillo <ibc@aliax.net> wrote:
> Where is the hole or the data lost in this code? (NOTE: of course I do
> know that the rest of the code must be aware of this, may be via
> status flags or whatever).

You need to block other packets on the same channel, or you will
successfully send small payloads ahead of large ones.  But your basic
point is valid.
Received on Thursday, 8 May 2014 00:03:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:17:58 UTC