Hi there,
This is somehow related to my previous question -
https://groups.google.com/forum/#!topic/easyrtc/c9-xnriExI8.
I downloaded server_examples folder, unzip it and in package.json set
socket.io to "*". After installation of the package I have got both easyrtc and
socket.io most recent version. In the case of
socket.io it is 1.3.5.
Next I just start one of your demo bundled with easyrtc -
http://demo.easyrtc.com/demos/demo_instant_messaging_selfconnect.html and I have got following error:
easyrtc.js:4531 Uncaught TypeError: Cannot read property 'connected' of undefined
easyrtc.js:4531 connectToWSServer
easyrtc.js:5450 connect
demo_instant_messaging_selfconnect.js:55 connect
demo_instant_messaging_selfconnect.html:62 onclick
I checked the same example on your
demo.easyrtc.com site and it looks like it works still with
socket.io 0.9.x version.
It seems that this particular example is not
socket.io 1.x compatible and what is send to
easyrtc.useThisSocketConnection(mysocket); is not what this method expects.
Could you please support me with more up-to-date feedback how to use easyrtc with external socket, when it is
socket.io 1.x compatible?
Thanks,
Angel