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

Firefox automatically provides local ICE candidates (it does not fire onicecandidate)

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Fri, 9 May 2014 00:02:55 +0200
Message-ID: <CALiegfni+O04KM8bDWcGJLZ80oWs7O16LjiRUdP=ZsdrX-vy2Q@mail.gmail.com>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>

When calling createOffer/Answer in Firefox, the success callback
provides me with a SDP that already includes local ICE candidates, so
there is no onicecandidate event for those candidates (but just for
candidates discovered via STUN).

Is this "valid" as per spec?

BTW: In Chrome the oniceconnectionstatechange fires 3 times per
PeerConnection with this data:

     iceConnectionState: "completed"
     iceGatheringState: "complete"

This is, there is no "new", "checking" or "connected" values for

Again: how "valid" is this as per spec?

Thanks a lot.

Iñaki Baz Castillo
Received on Thursday, 8 May 2014 22:03:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:17:58 UTC