peerjs icon indicating copy to clipboard operation
peerjs copied to clipboard

Python port of Peerjs client

Open ivelin opened this issue 5 years ago • 8 comments

Branching off issue peers/peerjs-server#48.

I understanding that other languages are not currently a priority for the core peerjs team. Just in case anyone else is interested in the topic and wants to help, I started working on a Python port with the intention to contribute it back to the main peerjs project.

ivelin avatar Dec 19 '19 15:12 ivelin

Quick update. Signaling seems to work well now. Python’s port can maintain connection with the peerjs signaling server and trade offers with remote peerjs clients running in the browser. Progressing towards direct data channel connection.

ivelin avatar Jan 10 '20 00:01 ivelin

Another update. PeerJS Python is now able to connect and exchange datachannel messages with PeerJS. Is there any interest to move the python port under the official PeerJS project?

ivelin avatar Jan 13 '20 21:01 ivelin

If you want to maintain it, come to the org and work on it.

kidandcat avatar Jan 13 '20 23:01 kidandcat

@kidandcat Thanks for the invitation. Let’s explore how that might work. I’ll send you a direct message to discuss.

ivelin avatar Jan 14 '20 03:01 ivelin

🎁 PeerJS Python is now available on PyPi. 🎉

Tested and running in a real-world application.

Includes additional features that are not currently included in the main peerjs repo:

  1. Plug-and-play for easy pairing of peers on the same local network.
  2. HTTP Proxy over WebRTC Data Channel. Userful for remote browser calls to a REST server running behind a firewall.

Looking forward to comments whether and how to merge some of this new code in the main peerjs repo.

ivelin avatar Jan 28 '20 21:01 ivelin

But how do I connect peerjs with python , there is no example available.

Give some code

PonraJS-21 avatar Aug 28 '20 03:08 PonraJS-21

@PonraJS-21

You can see how peerjs in the browser connects to the python peerjs port in the abmianic app code

ivelin avatar Aug 28 '20 22:08 ivelin

Is there way to connect Python pper to react Peer via Peerjs api ?

prathamsss avatar Jul 04 '22 16:07 prathamsss