Have a nice day everyone!
I installed Janus in /opt/janus/ and nginx. I copied server demo tests in /var/www/html/. I struggle to pass Echo Test. I get error "WebRTC error... undefined".
I created reports about my server configuration (just removed part of my IP address).
Here is what I get when I run /opt/janus/bin/janus in Terminal
https://pastebin.com/QuCWvhEQMy nginx configuration from /etc/nginx/sites-available/default
location /opt/janus {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_redirect off;
proxy_pass
http://192.168..:8088/janus;
try_files $uri $uri/ =404;
}
I tried to change janus.js file variable server to var server = "/opt/janus" and got another error "API call failed: [object Object]".
Could anyone help me how to pass Echo Test?