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

Re: Which stream/transport does PC.oniceconnectionstatechange points to?

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Wed, 15 Oct 2014 13:36:20 +0200
Message-ID: <CALiegfnSwKznqRxxgnWmfhn1=3TzFDWQQ-YHdYcpV4irjq5-uA@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
2014-10-15 13:25 GMT+02:00 Harald Alvestrand <harald@alvestrand.no>:
> If we ever add transport objects to the spec (not in version 1.0!), we
> should expect to see events fired related to single connections, but in
> version 1.0, the RTCIceConnectionState refers to the aggregate state, not
> the state of individual transports.

Yep. I would have not reported this if browsers behave in that way,
but AFAIR some browser fires
oniceconnectionstatechange(connected/completed) twice (I will recheck

BTW, it is sad that I cannot know whether my video stream is connected
or not. Typically I wait until the "completed" event in order to begin
displaying the remote video, but it may happen that the remote video
has already connected but the audio has not, so I must wait until both

Well, hope we can manage per-transport events soon :)

Iñaki Baz Castillo
Received on Wednesday, 15 October 2014 11:37:08 UTC

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