Join the DZone community and get the full member experience.Join For Free
peerjs deals with the webrtc handshake and allows connection by peer id. however, to establish a connection, you need a peerserver. this is written in node.js and you need to set it up.
no data passes through the server – it is only used to broker the connection between peers.
website: http:/ / peerjs. com/
license: mit license
Published at DZone with permission of Hirvesh Munogee, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.