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

Re: icecandidate event with no candidate

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Tue, 23 Apr 2013 12:21:03 +0200
Message-ID: <5176608F.5030704@ericsson.com>
To: "Tommy Widenflycht (ᛏᚮᛘᛘᚤ)" <tommyw@google.com>
CC: "public-webrtc@w3.org" <public-webrtc@w3.org>
Thanks for you input Tommy.

On 2013-04-22 16:26, Tommy Widenflycht (ᛏᚮᛘᛘᚤ) wrote:
> Chromium sends the null icecandidate just because there isn't a
> onicegatheringcomplete event handler.

That's the correct behavior according to the spec.

> And as far as I understand it sometimes we don't know that a
> icecandidate is the last one which makes your first suggestion
> unimplementable.

That was my suspicion as well. Since the whole idea with ICE trickling 
is to speed things up, we don't want to delay the candidate dispatching.

So if we were to change this, then the separate event would be the way 
to go.

/Adam
Received on Tuesday, 23 April 2013 10:21:28 UTC

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