Re: renaming updateIce

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