Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python port of Peerjs client #610

Open
ivelin opened this issue Dec 19, 2019 · 8 comments
Open

Python port of Peerjs client #610

ivelin opened this issue Dec 19, 2019 · 8 comments
Labels
client related to peerjs client

Comments

@ivelin
Copy link
Member

ivelin commented Dec 19, 2019

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
Copy link
Member Author

ivelin commented Jan 10, 2020

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
Copy link
Member Author

ivelin commented Jan 13, 2020

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?

@kidandcat
Copy link
Member

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

@ivelin
Copy link
Member Author

ivelin commented Jan 14, 2020

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

@ivelin
Copy link
Member Author

ivelin commented Jan 28, 2020

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

@PonraJS-21
Copy link

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

Give some code

@ivelin
Copy link
Member Author

ivelin commented Aug 28, 2020

@PonraJS-21

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

@prathamsss
Copy link

prathamsss commented Jul 4, 2022

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

@irgalamarr irgalamarr added the client related to peerjs client label Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client related to peerjs client
Projects
None yet
Development

No branches or pull requests

5 participants