W3C home > Mailing lists > Public > public-webrtc@w3.org > December 2014

onicegatheringstatechange VS onicecandidate with candidate==null (just one of them, please)

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Sat, 27 Dec 2014 22:40:28 +0100
Message-ID: <CALiegf=LrBSDX7-dvtEwWK+UWKSQTHKg1CZkREKJ-NRVg1VUqw@mail.gmail.com>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
Hi, I understand that the way to go is to fire
onicegatheringstatechange when ICE gathering is done so the user can
check its status via:

  if (pc.iceGatheringState === 'complete') {  ...  }

Currently that is not implemented in any browser (AFAIK) so the
old/deprecated onicecandidate with candidate==null is still in use.

Should I understand that once onicegatheringstatechange is
implemented, browsers won't also emit a onicecandidate with

Thanks a lot.

Iñaki Baz Castillo
Received on Saturday, 27 December 2014 21:41:15 UTC

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