0

I'm trying first time to run video conference script WebRTC, the issue is that can't get the incoming video. You're can see http://wdd.co.il:1234

What I did:

1) Installed the node.js on debian 8 with commands that mentioned her:

apt-get install curl
curl --silent --location https://deb.nodesource.com/setup_0.12 | bash -
apt-get install --yes nodejs
apt-get install --yes build-essential

2) Installed following in the script folder:

npm install socket.io
npm install node-static

3) Run The server:

node server.js

After all that, nothing changed, steel not see the incoming video in client browser(firefix,chrome,opera).

I am almost certain that I'm missing something, asking for yours help to understand.

The files, server.js, index.html.

Sevi
  • 863
  • 4
  • 15
  • 33
  • Please look in web console and include error messages in questions like this. I get CORS errors from your link, [likely from the port number](http://stackoverflow.com/a/18643011/918910). – jib Aug 15 '15 at 19:36
  • I added Header add Access-Control-Allow-Origin "*" into .htaccess and enabled module header, but without results. – Sevi Aug 16 '15 at 00:03
  • How can i find error messages? maybe you mean error in debug [link](http://wdd.co.il/webrtc_internals_dump.txt) – Sevi Aug 16 '15 at 00:06
  • No I mean the JavaScript console in the browser. – jib Aug 16 '15 at 05:07
  • Here is http://wdd.co.il/wdd.co.il-1439711319454.log – Sevi Aug 16 '15 at 07:55
  • 1
    Yes, those are the CORS errors: "cannot load http://wdd.co.il/socket.io ...` No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://wdd.co.il:1234' is therefore not allowed access." - Essentially `http://wdd.co.il` and `http://wdd.co.il:1234` are different origins. – jib Aug 16 '15 at 13:26
  • Strangely, the 'Header add Access-Control-Allow-Origin "*"' in .htaccess not working. – Sevi Aug 16 '15 at 21:28

0 Answers0