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

Re: addIceCandidate behavior

From: cowwoc <cowwoc@bbs.darktech.org>
Date: Fri, 01 Nov 2013 01:45:13 -0400
Message-ID: <52733FE9.7080208@bbs.darktech.org>
To: public-webrtc@w3.org
On 01/11/2013 1:37 AM, Harald Alvestrand wrote:
> Hm. Can we make a guarantee that an RTCIceCandidate always has a 
> non-malformed "candidate" attribute?
>
> What comes to mind is the case of RTCIceCandidate("Once upon a 
> time...") - that is, the string used to create it doesn't conform to 
> the candidate grammar.
>
> Perhaps the description (and the throw) is better applied to 
> RTCIceCandidate's constructor, so that an RTCIceCandidate is always 
> known to be syntactically valid?

     +1 That's a good idea.

Gili
Received on Friday, 1 November 2013 05:45:44 UTC

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