Re: [webrtc-pc] setConfiguration throwing InvalidModificationError with default values

Do we just need to change the wording to be more clear, or do you think the error being thrown is a problem? If an application does this, then things should work fine:

```
var config = { bundlePolicy: 'max-bundle' };
const pc = new RTCPeerConnection(config);

// Later on, fiddle with some bits of |config|.
config.iceServers = [...]
pc.setConfiguration(config);
```

Which seems like more maintainable code anyway.

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

Received on Wednesday, 5 July 2017 20:57:53 UTC