peers / peerjs-server

Server for PeerJS
https://peerjs.com
MIT License
4.34k stars 1.08k forks source link

Peerjs broker protocol #48

Open metzlar opened 10 years ago

metzlar commented 10 years ago

Hi Peerjs team!

To test a client browser's compatibility, I'm writing a Python peerjs client. Consider this flow:

  1. Client browser creates a new peer:

    peer = new Peer('', {options});

  2. Client posts peer info to web server:

    xhr('/some-url', {peer-info})

  3. Server uses Python peerjs client to create a p2p connection and send the Client browser a message.

I know peerjs is meant for browser p2p RTC but me thinks a python client (just the brokering) might be helpful for testing a client's capabilities? I don't need help on the actual webRTC protocol just communicating with the peerjs server to connect to the browser. If someone could point me to the right direction? Thanks!

ivelin commented 4 years ago

@metzlar Its be a very long time since the original issue was created. I came across a similar use case. Has anyone worked on a python peerjs client yet? Happy to help.

kidandcat commented 4 years ago

It's not our priority at all to have different language clients. If you want a server + you know javascript = just use nodejs

ivelin commented 4 years ago

I just realized that this issue was open under peerjs-server. I agree with your point on server side.

For the client side, I see potential for enabling clients/peers from various languages (IoT, mobile) to connect easily. Just FYI, I started working on a python port. https://github.com/ambianic/peerjs-python

afrokick commented 4 years ago

Close issue because no activity.