Re: Data Channel Buffer Management Proposal

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