W3C home > Mailing lists > Public > public-webrtc@w3.org > November 2020

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

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Mon, 02 Nov 2020 10:11:39 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-734373362-1604311898-sysbot+gh@w3.org>
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.

- 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

This archive was generated by hypermail 2.4.0 : Monday, 2 November 2020 10:11:42 UTC