The code of the PeerServer for PeerJS mostly consists of WebSockets. I don't see any references to WebRTC.
Why are they using WebRTC for connections to the PeerServer? Is this not possible using WebRTC?
In that case, are there really any differences between using Socket.IO or PeerJS for sending messages between clients?