socket.io-p2p-server
socket.io-p2p-server copied to clipboard
Server middleware to power socket.io-p2p. Handles signalling
There is no guard code for when a client disconnects and then another client issues a peer connection request. The system will try and pull the client id from the...
edit needed for rooms to work. I am using with updated socket.io-p2p https://github.com/socketio/socket.io-p2p/pull/36
should be an easy fix for #9
Ass the title suggests. Add syntax highlighting to make the code snippets more readable.
I initially had trouble getting peers to only connect within some socket room using the function `p2pSocket (socket, next, room)`. The source of the confusion was on the server side...
When a p2p client quits or reconnect a p2p server really quickly, the client may be undefined for the clients array. Same goes with the data.offers array.
Do you plan to implement STUN/TURN server in node.js.