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

Getting Error .emit is undefined #11

Open
venkateswararao opened this issue Aug 30, 2017 · 6 comments
Open

Getting Error .emit is undefined #11

venkateswararao opened this issue Aug 30, 2017 · 6 comments

Comments

@venkateswararao
Copy link

I cloned the server code and hosted in node.js server when i try to join room getting error .emit is undefined in server side code

var to = io.sockets.connected[data.to];
to.emit('exchange', data);

@punarinta
Copy link

@venkateswararao, did you manage to solve this?

@hameed0z
Copy link

yes i have the same problem

@FujikawaNaoki
Copy link

I tried it, but it was the same.
Fixing version of socket.io library to 1.3.x solved the problem.

@omererbil
Copy link

any update?still not work

@randymuhroji
Copy link

+1

@gilpanal
Copy link

gilpanal commented Sep 26, 2018

Hi, can you provide more details about how and where exactly are you getting that error, please? PC/Mac, browser, node version, etc.

Please check my fork and share the results here, thank you:
https://github.com/gilpanal/react-native-webrtc-server

It should work using Chrome latest and Node v8.11.3 (node -v)

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

7 participants