Coder Social home page Coder Social logo

Comments (7)

Chaphasilor avatar Chaphasilor commented on June 5, 2024

Do you have your STUN server (e.g. Twilio) set up correctly?

from decentralized-video-chat.

REUZEE avatar REUZEE commented on June 5, 2024

Do you have your STUN server (e.g. Twilio) set up correctly?

I am sorry. I am not sure what's the stun server you said. I have signed up for free twilio account and got Account SID and Auth Token from the Twillio console and filled in credentials in the .env file. Then I successfully ran ngrok. Is it enough?

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on June 5, 2024

@REUZEE

Alright, if you set up twilio inside the .env file your STUN server should be configured correctly.
For local testing you don't nedd ngrok yet, try without it first in order to minimize error causes. Just run npm start and then navigate to localhost:3000 and join a room, after you've done that copy the url of the room and open it in another tab in the same browser (beware of acoustic feedback).

If this doesn't work, I can investigate further :)

from decentralized-video-chat.

agnelvishal avatar agnelvishal commented on June 5, 2024

Check this line

} else if (numClients === 1) {

Only 2 people can be present in a room as per the code mentioned

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on June 5, 2024

Exactly. However, OPs issue is that the second client can't join the room :)

from decentralized-video-chat.

SaeedehAf avatar SaeedehAf commented on June 5, 2024

Any update on this? I have the same issue. The second client can not join and it seems another room is being initiated. The second room also is waiting for someone to join.

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on June 5, 2024

@SaeedehAf Development of this project is halted for now. Please check the pinned issue.

from decentralized-video-chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.