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

Re: renaming updateIce

From: Justin Uberti <juberti@google.com>
Date: Fri, 2 May 2014 17:06:55 -0700
Message-ID: <CAOJ7v-0jcBAuyqi5Y8nVbXTn6O7ZypFfSSYfU1y+N9JeZ_XpRA@mail.gmail.com>
To: Jan-Ivar Bruaroey <jib@mozilla.com>
Cc: cowwoc <cowwoc@bbs.darktech.org>, Adam Bergkvist <adam.bergkvist@ericsson.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
That's my preference at the moment. Simple and straightforward.


On Fri, May 2, 2014 at 4:41 PM, Jan-Ivar Bruaroey <jib@mozilla.com> wrote:

>  On 5/2/14 4:47 PM, cowwoc wrote:
>
> Or, use a different dictionary for the initial configuration and updating
> an existing configuration. The former would have defaults. The latter would
> not. Or just use the Builder pattern :)
>
>
> Or use the pattern that Justin mentioned:
>
>   var config = pc.getConfiguration();
>   config.iceTransports = "foo";
>   pc.setConfiguration(cfg);
>
> and leave it to the implementation to figure out what changed (which isn't
> difficult).
>
>  Gili
>
>
> .: Jan-Ivar :.
>
>
Received on Saturday, 3 May 2014 00:07:43 UTC

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