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

Re: get ice candidate in use in connected/completed state

From: Harald Alvestrand <harald@alvestrand.no>
Date: Thu, 19 Jun 2014 07:59:04 +0200
Message-ID: <53A27C28.9050600@alvestrand.no>
To: public-webrtc@w3.org
On 06/19/2014 01:41 AM, Iskren Chernev wrote:
> Once a connection has been established (PeerConnection
> iceConnectionState is completed or connected), is there any way to get
> the current ice candidate that is being used for the connection?
>
> I want to know if its a p2p connection or one going through a turn server.
>
>
Once implemented, you should be able to get the selectedCandidatePairId
of the RTCIceComponentStats - see
https://www.w3.org/2011/04/webrtc/wiki/Stats

(note: in accordance with consensus in Washington, the TransportStats
and ComponentStats  will be merged, so this spec is not completely
stable yet.)

-- 
Surveillance is pervasive. Go Dark.
Received on Thursday, 19 June 2014 05:59:36 UTC

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