Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/altanai/webrtc_usercases
This project aims to setup environment for webrtc video Call session using webrtcdevelopment npm module https://www.npmjs.com/package/webrtcdevelopment
https://github.com/altanai/webrtc_usercases
webrtc websocket
Last synced: 4 months ago
JSON representation
This project aims to setup environment for webrtc video Call session using webrtcdevelopment npm module https://www.npmjs.com/package/webrtcdevelopment
- Host: GitHub
- URL: https://github.com/altanai/webrtc_usercases
- Owner: altanai
- Created: 2019-09-18T12:01:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T01:07:47.000Z (about 2 years ago)
- Last Synced: 2024-10-04T22:24:56.670Z (4 months ago)
- Topics: webrtc, websocket
- Language: JavaScript
- Homepage: https://github.com/altanai/webrtcdevelopment#readme
- Size: 3.31 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# quicly start a webrtc video Call session
## get npm modules
install npm module for webrtc development
```
npm install webrtcdevelopment
```
include the css and js header files into project
```
```
indlude the main scripts
``````
## Secure HTTP server to mount the website
**Create CA**
openssl req -batch -new -newkey ec:<(openssl ecparam -name prime256v1) -nodes -keyout ca-key.pem -x509 -out ca.pem -days 3650 -subj "/CN=A localhost CA"**Create a CSR for localhost, then sign it by CA**
openssl req -batch -new -newkey ec:<(openssl ecparam -name prime256v1) -nodes -keyout key.pem -subj /CN=localhost | openssl x509 -req -CAkey ca-key.pem -CA ca.pem -CAcreateserial -out cert.pem -days 365 -extfile <(echo subjectAltName=DNS:localhost)$ http-server -S -C cert.pem -o
Starting up http-server, serving ./ through https
Available on:
https:127.0.0.1:8080
https:192.168.1.101:8080
https:192.168.1.104:8080
Hit CTRL-C to stop the serveror use directly the fake keys supplied in project
```
$ http-server --ssl -C fake-keys/certificate.pem -K fake-keys/privatekey.pem -o
Starting up http-server, serving ./ through https
Available on:
https://127.0.0.1:8080
https://192.168.0.3:8080
Hit CTRL-C to stop the server```
## Secure nodejs socket.io server to mount the signaller
// tbd
## Loading widgets
Refer to https://github.com/altanai/webrtc/blob/master/README.md
## References
webrtcdevelopment npm module - https://npmjs.com/package/webrtcdevelopment
## License
----
MIT## Author
----
Altanai