Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/svarunan/serverless-webrtc
webrtc p2p without signalling server
https://github.com/svarunan/serverless-webrtc
datachannel p2p rtcjs webrtc webrtc-beginers webrtc-demos webrtc-experiments webrtc-filetransfer webrtc-javascript webrtc-sdp
Last synced: 3 months ago
JSON representation
webrtc p2p without signalling server
- Host: GitHub
- URL: https://github.com/svarunan/serverless-webrtc
- Owner: svarunan
- License: mit
- Created: 2017-11-08T12:47:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-02T13:57:18.000Z (over 1 year ago)
- Last Synced: 2024-04-08T02:16:04.675Z (7 months ago)
- Topics: datachannel, p2p, rtcjs, webrtc, webrtc-beginers, webrtc-demos, webrtc-experiments, webrtc-filetransfer, webrtc-javascript, webrtc-sdp
- Language: JavaScript
- Homepage:
- Size: 299 KB
- Stars: 95
- Watchers: 5
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-webrtc - serverless-webrtc - WebRTC p2p without signalling server. (Samples)
README
### Serverless-webrtc
---
* Is it possible to create a p2p connection without a signalling server?
Yes!
* How?? copy paste the SDPs between local and remote that's it!
* Are you kidding?? Nope, Please open `index.html` in a localhost and go through the steps.
* This Serverless webRTC concept is only for learning javascript webRTC APIs### Setup
on macOS/Linux just clone this repo and start a http server`
cd serverless-webrtcpython -m SimpleHTTPServer 8080
if you have node http-server
http-server -p 8080 .
http://localhost:8080/index.html
`
### Online demo
https://svarunan.github.io/serverless-webrtc/### Usage
* open this url in two tabs lets say A and B.
* click on createOffer in A, copy paste the sdp in B's Remote text box, click "answer" button and this will add sdp to local text box.
* Of B's local text box, copy paste sdp text in to A's Remote text box and click on "answer" button, then you should be able to see p2p connection working### Features
* peer to peer video calling
* chat
* file transfer### Snap
![serverless-webrtc](snap.png)### Contribute
Let's share the Joy together. Let's keep this project super simple. Raise PR if you see something deprecated or not working.