W3C home > Mailing lists > Public > public-webrtc@w3.org > July 2015

Removing syntaxerror for ice candidates

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Tue, 07 Jul 2015 11:03:49 +0200
Message-ID: <559B95F5.70904@w3.org>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
Hi,

The current WebRTC API asks to reject ICE candidates that are added when 
they are "malformed" with a SyntaxError.

I'm proposing in https://github.com/w3c/webrtc-pc/pull/242 to remove 
that specific error case, because:

* there is no definition of what it means for an ICE candidate to be 
malformed (the RFC doesn't define such a term)

* no browser seems to be doing this at the moment

* if the ICE candidate can't be applied (including if it's "malformed" 
for some definition of the term), an error will be emitted in any case; 
it's not clear to me that there is particular value in distinguishing 
that case from others

Thoughts?

Dom
Received on Tuesday, 7 July 2015 09:03:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:45 UTC