andreaswatch / pyInterkom

WebRTC audio client for headless devices.
0 stars 0 forks source link

Uncaught TypeError: navigator.mediaDevices is undefined #1

Open learncodingforweb opened 1 year ago

learncodingforweb commented 1 year ago

I am getting errors

http://0.0.0.0:8080/favicon.ico
[HTTP/1.1 404 Not Found 0ms]

Uncaught TypeError: navigator.mediaDevices is undefined
    start http://0.0.0.0:8080/client.js:66
    onclick http://0.0.0.0:8080/:1
client.js:66:5
learncodingforweb commented 1 year ago

How, it is showing SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 5 of the JSON data. I am not able to run. please modified, so that i can check audio working

andreaswatch commented 1 year ago

You have to use a https encryption. I use nginx proxy manager for that. http://localhost schould also work, but I can't test that because I am on a headless setup.