https://github.com/christopherkade/webrtc-poc
A basic use of WebRTC to create a P2P connection between two clients on two different machines
https://github.com/christopherkade/webrtc-poc
poc webrtc webrtc-demos
Last synced: 19 days ago
JSON representation
A basic use of WebRTC to create a P2P connection between two clients on two different machines
- Host: GitHub
- URL: https://github.com/christopherkade/webrtc-poc
- Owner: christopherkade
- Created: 2018-10-29T09:50:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T09:51:57.000Z (over 7 years ago)
- Last Synced: 2025-03-09T15:56:39.017Z (about 1 year ago)
- Topics: poc, webrtc, webrtc-demos
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebRTC PoC
A basic use of WebRTC to create a P2P connection between two clients on two different machines (or browsers).
## How to use it
Install the dependency:
`npm install`
Start the Node server:
`npm start`
Open the client in two different browsers or tabs:
`open client/index.html`
Open your console to follow along and:
- Define the usernames of both clients
- On one client, trigger the connection by inputting the second client's username
- You can now send messages from one client to the other thanks to WebRTC !