-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
peer.on('call', function() ) not working. #808
Comments
Hey I also have the same issue and going throgh inspect I found that the peerjs include libraray script file is not loading properly. |
I encounter this problem as well, it looks like the |
The best way to solve this will be wait for open event on both ends. Although the docs says you can ignore the open event, waiting for this event ensures every client has peer id and call can be made. I have faced this issue and waiting for the open event solves this issue.
|
Hey , I am facing the same issue, everything like dataconnection is good but there is a problem in on call event listener. It is not triggering. Can you please explain something more on that. It would really be great.
|
I had this problem as well, and figured out I was not passing the |
I hope you are doing this while a new user connects
You can add a timeout to make your code listen to 'stream' event of peer.
But this doesn't seem to be a good solution. The reason 'stream' event is missed because it is fired before the new user completes the navigator media promise.
video.js
And server.js
Remove the 'user-connected' socket event and replace it with new one in 'video.js' |
You
You are a life saver. |
mine was work, but that if i focus on tab new users, if i still on the host screen, it wont run the call event |
This really workout, thank you very much man.
|
this is still a issue for me. did anyone has a working project with peerjs and dpocker based peerjs server? |
When I try to add a user to the room, The video of the new User does not appear on the screen, also my my video is not visible on the new User side. When I printed the each step, the print statement in the peer.on('call') event didn't work. Please help.
Heres the full code.
Zoom-Clone-With-WebRTC-master.zip
The text was updated successfully, but these errors were encountered: