peerjs-server icon indicating copy to clipboard operation
peerjs-server copied to clipboard

Peerjs broker protocol

Open metzlar-os opened this issue 11 years ago • 4 comments

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!

metzlar-os avatar Jun 18 '14 17:06 metzlar-os

@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.

ivelin avatar Dec 17 '19 06:12 ivelin

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

kidandcat avatar Dec 18 '19 08:12 kidandcat

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

ivelin avatar Dec 19 '19 15:12 ivelin

Close issue because no activity.

afrokick avatar Mar 23 '20 12:03 afrokick