title: How to get WebRTC to connect to peers?
body: <p>I'm a little confused. On this MDN page it says the following (emphasis mine) <a href="https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/icecandidate_event" rel="nofollow noreferrer">https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/icecandidate_event</a></p>
  
  <blockquote>
    <p>An icecandidate event is sent to an RTCPeerConnection  when an RTCIceCandidate has been added to the target as a result of calling RTCPeerConnection.setLocalDescription(). This event handler <strong>should transmit the candidate to the remote peer</strong> so that the remote peer can add it its set of remote candidates.</p>
  </blockquote>
  
  <p>The only example I could find that uses a STUN server is webrtc/samples trickle-ice <a href="https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/" rel="nofollow noreferrer">https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/</a>. My STUN server appears to work.</p>
  
  <p>It will list my tcp and udp ports. However when I have IceTransports value set to relay I always get an empty list</p>
  
  <p>If I want three users to visit my page and talk to eachother using RTCDataChannel how do they detect and connect to eachother?</p>