title: Webrtc not connecting on different network even on TURN
body: <p>I am using <a href="https://github.com/muaz-khan/RTCMultiConnection" rel="nofollow noreferrer">RTCmulticonnection</a> in one of my project everything works fine except <strong>it is not working on different networks</strong>. I Have gone through <a href="https://github.com/muaz-khan/RTCMultiConnection/issues/760#issuecomment-498007322" rel="nofollow noreferrer">Github issue</a> which state that it needs turn server to run it on different networks. but i already configured turn server according to the <a href="https://www.rtcmulticonnection.org/docs/iceServers/" rel="nofollow noreferrer">documentation</a>.</p>
  <p>here is my code</p>
  <pre><code>&lt;script src=&quot;https://rtcmulticonnection.herokuapp.com/dist/RTCMultiConnection.min.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;https://rtcmulticonnection.herokuapp.com/socket.io/socket.io.js&quot;&gt;&lt;/script&gt;
  
  &lt;script&gt;
  var connection = new RTCMultiConnection();
  
  // this line is VERY_important
  connection.socketURL = 'https://rtcmulticonnection.herokuapp.com:443/';
  
  // if you want audio+video conferencing
  connection.session = {
      audio: true,
      video: true
  };
  
  // first step, ignore default STUN+TURN servers
  connection.iceServers = [];
  
  // second step, set STUN url
  connection.iceServers.push({
      urls: 'stun:mydimain.com:3478'
  });
  
  // last step, set TURN url (recommended)
  connection.iceServers.push({
      urls: 'turn:mydimain.com:3478',
      credential: 'mypassword',
      username: 'myusername'
  });
  
  connection.openOrJoin('this-is-your-room-id');
  &lt;/script&gt;
  </code></pre>
  <p>upon checking the console in chrome it won't show any error but in Firefox i get the following error...</p>
  <blockquote>
  <p>ICE failed, your TURN server appears to be broken, see about:webrtc for more details.</p>
  </blockquote>
  <p>I have tested my turn server in <a href="https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/" rel="nofollow noreferrer">Trickle ICE</a>. i am getting response and relay which means turn and stun working fine. i also checked connectivity in this <a href="https://stackoverflow.com/a/34033938/12156150">snippet</a> which shows</p>
  <blockquote>
  <p>Yep, the TURN server works...</p>
  </blockquote>
  <p>When ever the client initiate the session, I can connect to him and after a few (2-3)minutes it get disconnected. But when I initiate the session it won't get connected with client.</p>
  <p>for testing purpose may be you can use this i got this from <a href="https://gist.github.com/yetithefoot/7592580" rel="nofollow noreferrer">Github</a></p>
  <pre><code>// second step, set STUN url
      connection.iceServers.push({
          urls: 'stun:numb.viagenie.ca'
      });
      
      // last step, set TURN url (recommended)
      connection.iceServers.push({
          urls: 'turn:numb.viagenie.ca',
          credential: 'muazkh',
          username: 'webrtc@live.com'
      });
  </code></pre>
  <p>Getting the following error in WEBRTC-internals icecandidateerror</p>
  <pre><code>url: turns:mydimain.com:5349?transport=tcp
  address: xxx.xxx.xx.x
  port: 63612
  host_candidate: address: xxx.xxx.xx.x:63612
  error_text: Address not associated with the desired network interface.
  error_code: 600
  </code></pre>
  <p>now what am i doing wrong? any help would be greatly appreciated.
  Thanks</p>