[webrtc-pc] Is an RTCIceServer with no urls useful?

steveanton has just created a new issue for https://github.com/w3c/webrtc-pc:

== Is an RTCIceServer with no urls useful? ==
According to the spec and [this WPT](https://github.com/web-platform-tests/wpt/blob/master/webrtc/RTCConfiguration-iceServers.html#L350) it's legal to pass in an RTCConfiguration like:
`{ iceServers: [ { urls: [] } ] }`.

I can't think of the use for a server without any URLs. Should this be allowed?

It looks like both Chrome and Firefox accept this configuration. Chrome will just ignore the ICE server ([source](https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc?l=314&rcl=a37af6ead7b0f723b366884a7ef2ab0c0e9d7a68)). I didn't look into the Firefox code to see what would happen there.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1949 using your GitHub account

Received on Tuesday, 31 July 2018 23:01:47 UTC