Open mail2mhossain opened 1 month ago
In case of relay server.
You can subscribe to the onicecandidate
event and get the DestinationEndPoint
.
pc.onicecandidate += (ice) =>
{
if(ice.type == RTCIceCandidateType.relay)
_relayServer = ice.DestinationEndPoint;
}
We are providing a list of STUN and TURN servers url. Now we want to know which one is used in a PeerConnection.