Re: [discuss-webrtc] How to detect when TURN is in use

205 views
Skip to first unread message

Justin Uberti

unread,
Mar 3, 2013, 7:20:03 PM3/3/13
to discuss-webrtc
The getStats API will surface this information in the future. 

For now, you can know that if there are relay candidates that TURN might be used, although a direct connection may still be possible.

You can of course use Wireshark to confirm if you only need this in local testing.


On Thu, Feb 28, 2013 at 8:22 PM, Rolly Fordham <rolly....@gmail.com> wrote:
Hi,

I was wondering whether it's possible to detect if a PeerConnection is using a TURN server. Basically is there anyway to tell which ICE Candidate the browser picked?

If it isn't possible to detect which is definitely being used, is it possible to infer from the existence of RELAY candidates that there is a reasonably high probability that TURN will be used?

Thanks!


Rolly

--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rolly Fordham

unread,
Mar 4, 2013, 9:55:39 PM3/4/13
to discuss...@googlegroups.com
Thanks Justin. Do you mean in a future revision of the API, not the one currently documented on http://dev.w3.org/2011/webrtc/editor/webrtc.html#statistics-model ?

Justin Uberti

unread,
Mar 5, 2013, 12:16:28 AM3/5/13
to discuss-webrtc
In the near future there will be more types of stats objects added to the spec document, including ICE stats.
Reply all
Reply to author
Forward
0 new messages