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

Peer to Peer Communication #25

Open
rednaw opened this issue Oct 24, 2021 · 0 comments
Open

Peer to Peer Communication #25

rednaw opened this issue Oct 24, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@rednaw
Copy link
Owner

rednaw commented Oct 24, 2021

For data sharing between different users (' look at my gallery') we cannot use a shared database because we have none. Instead we can look at Peer2Peer technology.

https://webrtc.org/
With WebRTC, you can add real-time communication capabilities to your application that works on top of an open standard. It supports video, voice, and generic data to be sent between peers.

https://peerjs.com/
PeerJS wraps the browser's WebRTC implementation to provide a complete, configurable, and easy-to-use peer-to-peer connection API. Equipped with nothing but an ID, a peer can create a P2P data or media stream connection to a remote peer.

https://blog.bitsrc.io/simplified-peer-to-peer-communication-with-peerjs-e37244267723
Implementing peer-to-peer communication is a challenging task. But, if you know the correct tools, you can make it a whole lot easier. So, in this article, I will discuss PeerJS, a JavaScript library that acts as a wrapper around WebRTC, making it easier

@rednaw rednaw added the enhancement New feature or request label Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant