Open manpreetsingh2011 opened 10 years ago
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
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() {
});
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