- From: Martin Thomson <martin.thomson@gmail.com>
- Date: Tue, 19 May 2015 09:32:34 -0700
- To: Benjamin Schwartz <bemasc@google.com>
- Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
On 18 May 2015 at 11:43, Benjamin Schwartz <bemasc@google.com> wrote: > Promise<void> waitForBufferedAmountBelow (unsigned long amount); > > This method returns a Promise that resolves when this.bufferedAmount <= > amount, or rejects if the channel reaches the "closed" state. I think that this requires strictly more state on the browser than an event. Since the function can be invoked multiple times with different thresholds, the browser has to track a set of thresholds. I'd prefer an event.
Received on Tuesday, 19 May 2015 16:33:02 UTC