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

Javascript error while coneecting to server. #41

Open
manpreetsingh2011 opened this issue Nov 6, 2013 · 0 comments
Open

Javascript error while coneecting to server. #41

manpreetsingh2011 opened this issue Nov 6, 2013 · 0 comments

Comments

@manpreetsingh2011
Copy link

Kudos to the team for making this library.

The following code gives a JavaScript error on the browser.

CLIENT CODE :
rtc.connect('ws://abc.in:8001');

SERVER CODE :
var webRTC = require('/usr/local/node_modules/webrtc.io/lib/webrtc.io').listen( 8001 );

console.log( "Server Listening" );

webRTC.on( "connection", function() {

console.log( "Hi" ); // This gets executed successfully.

});

Error is :
Uncaught TypeError: Type error
rtc._socket.onopen

Error Location:
webrtc.io.js:65

I am using latest version of Google Chrome which happens to be
Version 30.0.1599.101 m right now, running on Windows 7...

Please resolve

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

1 participant