Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup problem localhost #3

Open
dennismartensson opened this issue Aug 9, 2012 · 4 comments
Open

Setup problem localhost #3

dennismartensson opened this issue Aug 9, 2012 · 4 comments

Comments

@dennismartensson
Copy link
Member

@gopalsamyponnuraj moved the comments on a different issue in here because the comments hade nothing to do with the issue the where comments on.

@gopalsamyponnuraj commented:

Hi Can we make conference ( Voice and Video ) using webrtc.io.demo on chrome browser.

@gopalsamyponnuraj commented:

I downloaded and install webrtc.io.demo using command of npm install and then I started server using node server.js.
Then went to chrome browser and type localhost:8000. A conference page will displayed but I cannot create new chat Room.

I can only perform taxt chat with the same local machine. But cannot chat with other machine. (When ever I setup server address in io.js which is located in webrtc-io-client.

Please help me immediately because of its' Very URGENT.

Thanks a lot3

@dennismartensson
Copy link
Member Author

Hi,

Please do not add comments that have nothing to do with the open issue in the same issue log!

Open a new issue.

You can make multiple connections.

You can only use localhost:8000 on the local computer. One more computer can not connect to the address localhost. If you want to use it in a local network you will have to set it up with a new address to connect to. So what you have to do is.

Line 165 of index.html change from rtc.connect("http://localhost:8000/", room) to
rtc.connect("http://YOUR IP/:YOUR PORT", room); and make sure that the server.js line 10 are app.listen(YOUR PORT); or the port you want to use.

/Dennis

@GautamArya
Copy link

Hi

I'm trying to run your demo into my localhost. but it shows me error of
unexpected { on the line 119 var initiator = {{ initiator }};

I'm using windows 7, chrome 22

@sarenji
Copy link
Member

sarenji commented Oct 7, 2012

Your problem doesn't seem to originate from webrtc.io since that line code doesn't appear anywhere in it. It's probably originating from your code, possibly an issue with templates judging by the double curly brackets. And next time, open a new issue. Your issue has nothing to do with this one.

@tusharkadam
Copy link

Dear Dennis,

    Please provide latest server.js code in WebRTC copy (for text chat application and file sharing).

Regards,
Tushar K.

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

No branches or pull requests

4 participants