videochat-peerjs-example
videochat-peerjs-example copied to clipboard
script.js:58 Error: Could not get an ID from the server.
has someone the idea why I get it on a remote server? I can see myself, but no ID
I've changed only some rows for the server, such as:
website-server.js
60: var LANAccess = "IP of my server";
script.js
var peer = new Peer({
host: "hostname of my server"
index.html
<script src="source/js/script.js"></script> // resources -> source, because the console throws error of not finding script.js
putted all dependencies in one package.json file.
I use Plesk server with Node.js App Version: 12.4.0; Modus: production.
the path to peer-server.js for Node.js App is right.
Can someone help?