Re: Data Channel Buffer Management Proposal

-----Original Message-----
From: "Martin com>" <martin.thomson@gmail.com>
Date: Monday 18 May 2015 21:46
To: Benjamin Schwartz <bemasc@google.com>
Cc: Eric Rescorla <ekr@rtfm.com>, Peter Thatcher <pthatcher@google.com>,
W3C WEBRTC <public-webrtc@w3.org>
Subject: Re: Data Channel Buffer Management Proposal
Resent-From: W3C WEBRTC <public-webrtc@w3.org>
Resent-Date: Monday 18 May 2015 21:47

>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.

Do You mean this Streams API, https://streams.spec.whatwg.org/?

>

Received on Monday, 18 May 2015 19:59:49 UTC