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

Re: Data Channel Buffer Management Proposal

From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 18 May 2015 12:46:33 -0700
Message-ID: <CABkgnnVZbp+9ObaaTbCkR_GhZ9XPG7JuQjRjpY8QPC21x=_tKA@mail.gmail.com>
To: Benjamin Schwartz <bemasc@google.com>
Cc: Eric Rescorla <ekr@rtfm.com>, Peter Thatcher <pthatcher@google.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On 18 May 2015 at 12:21, Benjamin Schwartz <bemasc@google.com> wrote:
> We could certainly add an event that fires every time bufferedAmount
> decreases.  I expect this would generally amount to an event for every call
> to send().  In my view, this is wasteful, because the only real use I see
> for the event is to check whether bufferedAmount is below a threshold.

Or you could take a step back and use the streams API instead.
Received on Monday, 18 May 2015 19:47:00 UTC

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