First of all I’d like to thank the team of OpenVidu for the great efforts they are making.
I’ve been trying to get OpenVidu working on my local development machine but seems like I’m doing something wrong. I have tried at first on a Vagrant machine but no luck so I decide to run it on a separate Ubuntu VM machine to avoid any conflicts between the browser of the Host and the server on the guest.
I am trying now on Ubuntu 18.04 (VM) so I followed openvidu-hello-world guide for starting.
After running http-server and docker and head to http://127.0.0.1:8080 I get the expected result page of Hello World but when I click on JOIN button it displays a Javascript ALERT asking me to click OK to accept selfsigned certificate but when I click OK I get redirected to https://127.0.0.1:4443/accept-certificate which displays an error by the browser saying that this connection is not secured. When I click on proceed anyways it throws a 404 ERROR
It says require TLS but how to obtain that locally. I tried with a virtual nginx host that has a selfsigned SSL certificate and still does not work.
EDIT
I have tried it on multiple browsers. It only worked on Opera but not on other browsers (Firefox, Chrome). These other browsers display that the connection is not secured
Thank you for your reply. I tried again from Vagrant specifying openvidu.publicurl and got it working. But Now I’m facing another issue with openvidu-gateroom. When I launch the app I get a black screen, no video and no audio. When click on Audio button or Video button I get the following (see image below)
I’m now on Google Chrome. When I click Join, a Javascript alert pops up saying No connection to OpenVidu Server... (line 293 from app.js) when I click OK, I get the result in the following screenshot
Thank you for your reply. I tried using HTTPS but no luck. So decided to move everything to a production server and now it works just fine on my dedicated Ubuntu 18.04 server.
But I have faced other problems with multiple participants. I will look that up in the documentation and the community first before posting my problem.