Reputation: 2281
I want to know which ICE candidate created a successful connection and is being used to transfer data between peers. I want to be able to differentiate a local (host) connection from a server reflexive to a TURN connection.
I am currently using the WebRTC native API and don't see any public APIs that allow me to know which ICE candidate successfully created a connection.
Upvotes: 0
Views: 600
Reputation: 17360
use the getStats API. The process is similar to the one described here
Upvotes: 2