https://github.com/mnvx/webrtc-example
Simple implementation of videocalls
https://github.com/mnvx/webrtc-example
Last synced: 5 months ago
JSON representation
Simple implementation of videocalls
- Host: GitHub
- URL: https://github.com/mnvx/webrtc-example
- Owner: mnvx
- Created: 2017-09-15T21:02:51.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T21:11:32.000Z (almost 9 years ago)
- Last Synced: 2025-05-14T12:56:58.375Z (about 1 year ago)
- Language: HTML
- Size: 452 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example of using WebRTC with socket.io (nodejs implementation)
## Installation
Generate keys:
```bash
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ssl/ssl.key -out ssl/ssl.crt
```
Install dependencies:
```bash
npm install
npm run public
npm start
```
Open url [https://localhost:1234/socket.io/?EIO=3&transport=polling&t=Lw7LX0E](https://localhost:1234/socket.io/?EIO=3&transport=polling&t=Lw7LX0E)
in browser and let use https connection.
Configure web server on `public` path of this project. Use https protocol.
Open url with index.html.
## Illustration
