documentation page for mediasoup-demo using ws instead of wss

After several hours of reading documentation and trying to get the demo site working on a local docker env, I have established that self signed certs wont work even if using the same https port.

So moving on to a similar question https://mediasoup.discourse.group/t/hosting-meidasoup-server-on-aws-eks-using-acm-certificate/1532
is there any documentation on how to get the demo working only with ws://

Hi @artvan

There’s not documentation for that really. You should lookup the server.js file it has a nodejs https server, you’ll need to change that code to use a normal https server. You won’t need https then but be aware that this will only work on localhost then as WebRTC api’s only work on pages that are either localhost or https.

Best,
Muhammad Salar Khan
(muhammedsalarkhan@gmail.com)