I'm currently writing a PHP implementation of peerjs-server with Ratchet. At the time of writing, it works pretty well but it isn't perfect.
Is there a specification for the client-server communication ?
Thanks a lot,
emersion.
You will find more information at https://github.com/symbiose/symbiose/wiki/PeerJS-server ;-)In order to allow two users connected on two different servers to talk, the PeerJS server implementation supports server-to-server communication.
By example, a user Bob is connected on
webos.example.comand wants to talk with Alice on the serverwebos.symbiose.fr.cr. Bob can start a new chat session withal...@webos.symbiose.fr.cr:9000/peerjs, assuming 9000 is the port on which the WebSocket server runs and alice is Alice's peer ID.