Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.
This repository was 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

@sainath-everest

Description

@sainath-everest
 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)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions