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

Re: asynchrony for addStream w/ error/success callbacks

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Fri, 10 Jan 2014 18:16:26 -0500
Message-ID: <52D07F4A.3080104@mozilla.com>
To: Adam Roach <adam@nostrum.com>, Eric Rescorla <ekr@rtfm.com>
CC: Stefan HÃ¥kansson LK <stefan.lk.hakansson@ericsson.com>, Martin Thomson <martin.thomson@gmail.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On 1/10/14 5:07 PM, Adam Roach wrote:
> On 1/10/14 12:03, Jan-Ivar Bruaroey wrote:
>> The createOffer error callback. It's an add/remove cart and checkout 
>> pattern. 
>
> On every e-commerce site I've ever used, an attempt to add an 
> out-of-stock item (or more of an item than they have in stock) will 
> complain at that very moment, as opposed to waiting for an attempt to 
> checkout.

You have the item already, so you know you're not sold out. You don't 
learn that when you add.

But it appears my analogy is not helping. Have you ever filled in a 
C-language struct or JS object and passed that to a call? Same thing.

> /a

.: Jan-Ivar :.
Received on Friday, 10 January 2014 23:16:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:37 UTC