- From: Iñaki Baz Castillo <ibc@aliax.net>
- Date: Fri, 5 Sep 2014 10:49:30 +0200
- To: "public-webrtc@w3.org" <public-webrtc@w3.org>
It is common the case in which I need to know whether my PeerConnection has connected to the peer using TURN or not (along with the used transport). The oniceconnectionstatechange event does not provide this information even when the ICE status becomes "connected" or "completed", not the PeerConnection includes an attribute or getter to get this information. I consider this extremely useful. I propose that the PeerConnection includes a "icePairs" attribute whose value is an array (since a PC can handle multiple transports and a single transport can handle N valid ICE pairs) with Objects as follows: { localCandidate: RTCIceCandidate, remoteCandidate: RTCIceCandidate, state: RTCIceConnectionState } -- Iñaki Baz Castillo <ibc@aliax.net>
Received on Friday, 5 September 2014 08:50:18 UTC