Closed Iketaki closed 10 years ago
Hm, that's strange. Can you reproduce this on the chat demo?
Michelle
On Wed, Oct 22, 2014 at 6:36 PM, Shunta Iketaki notifications@github.com wrote:
Peer.js clients are always disconnected from server after about 5 minutes from websocket connection established.
See also: https://groups.google.com/forum/#!topic/peerjs/curwDpUgU-M
— Reply to this email directly or view it on GitHub https://github.com/peers/peerjs-server/issues/55.
I tried the official demo and it had no problem..(http://cdn.peerjs.com/demo/videochat/) So now I think I have some problems with my server.
What I tried is just to run latest PeerServer with peerjs --port 8080 --key peerjs --allow_discovery &
command.
(I use 8080 instead of 9000)
And running the video chat sample on my server, I faced at above issue.
When I ping at a regular interval, a timeout doesn't occur.
I confirmed the timeout causes always after 5 minutes.
Is there any problem? If not, I guess something is wrong with my server.
Peer.js clients are always disconnected from server after about 5 minutes from websocket connection established.
See also: https://groups.google.com/forum/#!topic/peerjs/curwDpUgU-M