Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

What is the hostname for turns server?will it be chat servers address or we need to setup stun/turn server(or use default one eg: stun:stun.l.google.com:19302) #92

Open
sainath-everest opened this issue Jan 22, 2020 · 0 comments

Comments

@sainath-everest
Copy link

 myPeerConnection = new RTCPeerConnection({
    iceServers: [     // Information about ICE servers - Use your own!
      {
        urls: "turn:" + myHostname,  // A TURN server
        username: "webrtc",
        credential: "turnserver"
      }
    ]
  });

myHostname refers to chat server host url or we need to setup our own turn server(or can we use default stun server eg: eg: stun:stun.l.google.com:19302 )?And if use the this same process using react-native-webrtc will it work (i need this for react-native app)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant