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

Re: renaming updateIce

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Wed, 30 Apr 2014 17:09:16 -0400
Message-ID: <5361667C.8020608@mozilla.com>
To: Justin Uberti <juberti@google.com>, cowwoc <cowwoc@bbs.darktech.org>
CC: "public-webrtc@w3.org" <public-webrtc@w3.org>
On 4/30/14 1:39 PM, Justin Uberti wrote:
> I have an automatic negative reaction to anything increasing 
> complexity at this point in time, and adding a builder object seems 
> like complexity increase.
>
> pc.getConfiguration().setIceTransports("foo").apply()
>
> doesn't seem that much better to me than
>
> var cfg = pc.getConfiguration();
> cfg.iceTransports = "foo";
> pc.setConfiguration(cfg);

+1. The functionality is identical (we'd compare the passed-in 
dictionary with the internal one).

.: Jan-Ivar :.
Received on Wednesday, 30 April 2014 21:09:35 UTC

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