Closed ahgcookie closed 9 years ago
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.
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
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.
I read the book and downloaded the sourece code both from the packpub.com and github,installed websocket use npm,but there is always connecting but can't make the call