peerjs
peerjs copied to clipboard
Python port of Peerjs client
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.
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.
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?
If you want to maintain it, come to the org and work on it.
@kidandcat Thanks for the invitation. Let’s explore how that might work. I’ll send you a direct message to discuss.
🎁 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:
- Plug-and-play for easy pairing of peers on the same local network.
- 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.
But how do I connect peerjs with python , there is no example available.
Give some code
@PonraJS-21
You can see how peerjs in the browser connects to the python peerjs port in the abmianic app code
Is there way to connect Python pper to react Peer via Peerjs api ?