- From: jan-ivar via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Jun 2017 18:48:29 +0000
- To: public-webrtc-logs@w3.org
@fippo That assumption is already invalid, because WebIDL normalizes various things already, like default values and empty dictionaries in place of absences. E.g. with
```js
var pc = new RTCPeerConnection({iceServers:[]});
```
`pc.getConfiguration()` will at minimum produce:
```js
{
bundlePolicy: "balanced",
iceCandidatePoolSize: 0,
iceServers: [],
iceTransportPolicy: "all",
rtcpMuxPolicy: "require",
};
```
This came up before in https://github.com/w3c/mediacapture-main/issues/360. I support fewer ways of reading the same data.
--
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1322#issuecomment-305878881 using your GitHub account
Received on Friday, 2 June 2017 18:48:36 UTC