Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anshuthopsee/p2p-webrtc
A super simple serverless demonstration of peer to peer communication using WebRTC. It involves manual exchange of Offer/Answer. Site built with React.
https://github.com/anshuthopsee/p2p-webrtc
file-sharing p2p p2p-chat serverless video-streaming webrtc webrtc-demos webrtc-signaling
Last synced: about 2 months ago
JSON representation
A super simple serverless demonstration of peer to peer communication using WebRTC. It involves manual exchange of Offer/Answer. Site built with React.
- Host: GitHub
- URL: https://github.com/anshuthopsee/p2p-webrtc
- Owner: anshuthopsee
- Created: 2023-06-09T05:54:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-09T17:15:05.000Z (11 months ago)
- Last Synced: 2024-02-09T18:28:39.735Z (11 months ago)
- Topics: file-sharing, p2p, p2p-chat, serverless, video-streaming, webrtc, webrtc-demos, webrtc-signaling
- Language: JavaScript
- Homepage: https://anshuthopsee.github.io/p2p-webrtc/
- Size: 8.01 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A React website, that demonstrates the capabilities of peer to peer communication through WebRTC. It is a serverless implementation, so manual exchange of Offer/Answer is involved. (Work in progress).
## Demo
![Usage demo](demo/p2p-webrtc.gif)## How to use
1. Open the site in two seperate tabs.
3. Provide access to camera and microphone (This is required because, the created Answer will timeout in 10 seconds otherwise).
2. Click on Create Offer in one, and Accept Offer in the other.
3. Exchange Offer/Answer as prompted.
4. Click on Connect to Peer button, that will appear in one of the tabs.
5. Both the tabs are now connected.- Note: You can connect two seperate devices as well. But make sure, both of them are on the same network, otherwise the created answer will timeout in about 10 seconds. If both the devices are on the same network, you still have to make the Offer/Answer exchange quick.
## Features
1. Video/Audio exchange (Can be disabled).
2. Chatting.
3. File sharing (When a file transfer is going on, the Send Button will be disabled, until the transfer gets completed).## Site Link
## https://anshuthopsee.github.io/p2p-webrtc/