WebRTC-Scalable-Broadcast icon indicating copy to clipboard operation
WebRTC-Scalable-Broadcast copied to clipboard

Problem when runnings under https

Open kopthat opened this issue 7 years ago • 1 comments

We built a ubuntu 14.04 server, and can run the demo on http on port 8888 but then get the warning that getUserMedia() needs to be secure.

We purchased an SSL certificate (GoDaddy TLS 1.2) and installed

Then we get website unexpectedly closed the connection.

In server.js I changed this line var app = require('http').createServer(function (request, response)

to var app = require('https').createServer(function (request, response)

and we get the error ERR_SSL_VERSION_OR_CIPHER_MISMATCH

kopthat avatar May 04 '17 02:05 kopthat

do you need to put ur ssl certificate optiions in .createServer

holopekochan avatar Sep 27 '18 00:09 holopekochan