[webrtc-pc] RTCIceServer "represents a TURN server"

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

== RTCIceServer "represents a TURN server" ==
says this about credential:
> If this RTCIceServer object represents a TURN server, then this attribute specifies the credential to use with that TURN server.

I did some digging and this seems to have been touched after moving from url to urls. For a single URL it is pretty clear what "represents a TURN server" means. For multiple urls there is the (theoretical) case of
```[stun:foo, turn:foo, turns:foo]```
mixing different classes of urls should not be allowed imo but I think changing the definition to say that the username and credential will only be used with TURN servers is easier.

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

Received on Wednesday, 10 May 2017 20:06:39 UTC