Echotest file not working after clean install

Hi,

Im new to Janus Webrtc and want to use it to create a babymonitor. I installed janus webrtc from scratch and also installed the demo files. I installed an nginx server to point to the demo files. In ngingx I also installed an ssl certificate.

However when I go to the website http://internalip/demos/echotest.html and click on start, I get the error “webrtc error … cannot read properties of undefined (reading ‘getUserMedia’)”.
If I go to the website https://internalip/demos/echotest.html and click on start, I get the error: Probably a network error, is the server down?: Failed to fetch.

What am I doing wrong to get the echotest to work?

Thanks for your help.

Thomas

I found ny issue. I didnt include the certificate files in janus configuration file: janus.transport.http.jcfg

Maybe it is handy in the documentation to add ssl in nginx and the janus webrtc so that the demo pages work.

If you need access to local devices, the web page needs to be served via https. This is well explained in the documentation: Deploying Janus

If you have nginx in front of Janus, this is not needed at all, since nginx will take care of https (and certificates) while talking in plain http or websockets to Janus.