Hi,
I have a Janus install running on a EC2 instance. I have provided the public IP in janus.cfg
I have a python simple http server running on the same machine on 8000 serving my home dir so I can browse to the janus demo directory.
I have updated the echotest.js with following:
var server = null;
//if(window.location.protocol === 'http:')
// server = "http://" + window.location.hostname + ":8088/janus";
//else
// server = "https://" + window.location.hostname + ":8089/janus";
server = "ws://" + window.location.hostname + ":8188";
When I try to run the EchoTest I get my Chrome (Version 55.0.2883.95 (64-bit)) popup:
WebRTC error... {"name":"NotSupportedError","message":"Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."}
I do notice that Janus is getting contact from the EchoTest app:
Creating new session: 4539099695453643
Creating new handle in session 4539099695453643: 805895659427544
Detaching handle from JANUS EchoTest plugin
[WSS-0x7fd1b8001de0] Destroying WebSocket client
Cleaning up handle 805895659427544...
[805895659427544] WebRTC resources freed
[805895659427544] Handle and related resources freed
Help appreciated. Let me know I have should provide further details.
Regards,
Mohammad