Giter VIP home page Giter VIP logo

Comments (3)

buildar avatar buildar commented on July 17, 2024

Hi, please make sure you have the latest copy from github. This has a variable set called local_stream_added which handles a race condition in the setup of local streams.

From the screengrabs you provided I can't see any other obvious issues. There is a "connection closed (undefined)" in the node.js log but without more detail I can't really tell what caused that.

Can you also check the browser's console log and see what messages are being logged there for both browser tabs. If you could send screengrabs of those for both browser tabs/windows that would be great.

from getting_started_with_webrtc.

ahgcookie avatar ahgcookie commented on July 17, 2024

Thx a lot,I will try to put more details
I found I didn't change the ws:localhost:1234 to my IP address,then I set it to 192.168.1.104:1234 which is my PC's IP address,with that I can open vedio stream on another PC,but just a picture,and my PC are still not functioning
I will give you more details after and wish you could help me with this

from getting_started_with_webrtc.

buildar avatar buildar commented on July 17, 2024

Hiya, yep the ip address in the html file, the ip address you bind your node.js server too and the ip address you enter into the location bars all need to match. And if you want to use browsers from more than one computer then you definitely can't use localhost or 127.0.01. See the note in the README.md file about this.

from getting_started_with_webrtc.

Related Issues (5)

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.