Comments (2)
Go into your project folder and, in your shell, run the following lines:
openssl genrsa -out key.pem
openssl req -new -key key.pem -out csr.pem
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
rm csr.pem
After that, we replaced this line in server.js:
const server = require(“http”).Server(app);
with:
const https = require("https");
const fs = require('fs');
const options = {
key: fs.readFileSync('key.pem'),
cert: fs.readFileSync('cert.pem')
};
const server = https.createServer(options, app);
Hope this helps!
from video-chat-v1.
Thank you for your answer, I will test it.
from video-chat-v1.
Related Issues (19)
- Multiple users joining not working HOT 1
- Use Svelte instead of React for the front-end when you port it.
- Messages r not being displayed in the cloned code...in the heroku app it is displayed HOT 1
- Client-side cross-site scripting
- add random people can talk each other
- Demo link not working
- README.md file having wrong info.
- New video grid not appending when a new user comes in HOT 12
- Not Working In Heroku HOT 3
- Video not loading on IOS
- Not Working In Heroku
- Connect with Android HOT 4
- Application Error in Live Demo
- Iam unable to see other persons video can u help me to solve my issue HOT 1
- Static image of video left behind even the user leave
- Heroku link not working
- simplewebrtc-with-adapter.bundle.js:7938 GET https://sandbox.simplewebrtc.com/socket.io/?EIO=3&transport=polling&t=1624971846939-179 net::ERR_CONNECTION_CLOSED
- WebSocket connection to 'ws://localhost:443/socket.io/?EIO=3&transport=websocket&sid=QF8_Cxx9PzoRKXH1AAAB' failed: Invalid frame header r.doOpen @ index.js:83 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from video-chat-v1.