Re: [webrtc-pc] setConfiguration can "unset" some configurations

Unsetting the certs will fail with `InvalidModificationError. But if I did:

```
pc = new RTCPeerConnection( { iceServers: [...] } );
pc.setConfiguration({});
```

The ICE servers *would* get unset. And I don't see a problem with this; maybe it's a little confusing but it's how the API was designed, and is consistent with how `getParameters`/`setParameters` work. You have to pass in the full dictionary every time, not just the things you want to change.

-- 
GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1454#issuecomment-313415906 using your GitHub account

Received on Thursday, 6 July 2017 14:38:51 UTC