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

EasyRTC demos require Socket.io version 0.9.16 #2

Open
richardblakely opened this issue Jun 24, 2016 · 1 comment
Open

EasyRTC demos require Socket.io version 0.9.16 #2

richardblakely opened this issue Jun 24, 2016 · 1 comment

Comments

@richardblakely
Copy link
Member

richardblakely commented Jun 24, 2016

Please note, in order for the easyRTC samples to run properly you must install socket.io version 0.9.16 (see thread https://github.com/priologic/easyrtc/issues/184). Newer versions of socket.io may throw a server error when your users attempt to connect to the demo applications.

@alangibson
Copy link

+1 for upgrading to a more recent version of socket.io. I just had a situation where I was getting warnings

warn - unknown transport: "undefined"

when I tried to connect with socket.io-client 1.4.8.

Workaround is

  1. Change socket.io version to 1.4.x in package.json
  2. npm update
  3. In easyrtc_default_options.js, replace
    option.easyrtcidRegExp = /^[a-z0-9_.-]{1,32}$/i; // EasyRTC socket id (easyrtcid)
    with
    option.easyrtcidRegExp = /^\/{1}#{1}[a-z0-9_.-]{1,32}$/i;

(credit: https://easyrtc.com/forums/viewthread/169/#170)

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

2 participants