[webrtc-pc] Invalid TURN credentials: What function should fail? (#2593)

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

== Invalid TURN credentials: What function should fail? ==
I had an issue come up with TURN credentials recently.

Sometimes, it's possible to tell that a TURN credential is invalid just from looking at them. For instance, username fields that violate the length restriction (509) in RFC 8489.

But I couldn't figure out from our spec what function should fail.
Alternatives:

- RTCPeerConnection constructor or setConfiguration, where the parameters are passed in
- createOffer/addIceCandidate, where the candidates are used
- nowhere - just act as if the relevant TURN candidate was never generated

The last one is easiest to implement. Is it the right solution?




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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 2 November 2020 10:11:41 UTC