PHP implementation of peerjs-server

588 views
Skip to first unread message

simon...@gmail.com

unread,
Jan 27, 2014, 1:56:50 AM1/27/14
to pee...@googlegroups.com
Hi,

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.

Michelle Bu

unread,
Feb 1, 2014, 12:33:58 AM2/1/14
to simon...@gmail.com, peerjs
Hey! Saw this on Twitter earlier this week :). How'd it turn out?
Michelle

emersion

unread,
Feb 1, 2014, 8:30:00 AM2/1/14
to pee...@googlegroups.com, simon...@gmail.com, miche...@berkeley.edu
I just implemented IDs requests on HTTP REST server.

I've also implemented server-to-server communication :

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.com and wants to talk with Alice on the server webos.symbiose.fr.cr. Bob can start a new chat session with al...@webos.symbiose.fr.cr:9000/peerjs, assuming 9000 is the port on which the WebSocket server runs and alice is Alice's peer ID.

You will find more information at https://github.com/symbiose/symbiose/wiki/PeerJS-server ;-)
Reply all
Reply to author
Forward
0 new messages