howto: can not see stream on the web page
Hi, I setup the three compents on one PC and I succeeded to push the stream to the ingest(connected log) from the OBS. ws ip is changed to the LAN ip of this PC in src/wsUrl.js. But when I refresh the 80 web(by access the PC LAN IP), nothing happens.
Do you see the website?
Yes. It's OK.
I've fought to get everything set up for a couple hours and I'm now in this same situation. Had to run the React component as root to bind to port 80. None of the consoles have any output except for the ingest saying that it's connected.
I've fought to get everything set up for a couple hours and I'm now in this same situation. Had to run the React component as root to bind to port 80. None of the consoles have any output except for the ingest saying that it's connected.
Ingest and WebRTC are the only services which should output to the console. Ingest should say "Listening on port 8084" and webrtc should say "waiting for RTP packets" and then once you visit the site it should say "connections: 1"
I had it setup in like 15 minutes with droplet creation and all. What exactly is not working for you guys?
Lightspeed React communicates via websocket with Lightspeed WebRTC. can not see this connection.
OK. It's solved. should change the wsurl in config.json and then npm run build.
I set the webrtc bind port to 0.0.0.0 instead of the machine local ip at the behest of a friend of mine and it works now. Not sure if I was skirting around another issue of populating the react build/config.json file with the local ip getting reset by git pulling.
I am having the same issue as well. OBS can reach Ingest without issue, and I can see the React web page just fine. I can start WebRTC, but it just says "Waiting for RTP packets" and nothing else happens. I've tried setting the WebRTC port to both 0.0.0.0 and my local IP, and I've tried setting the React config to both 0.0.0.0 and my local IP as well (and I rebuilt after each change), but no matter which combination I use WebRTC never responds. I also just cloned the repositories about an hour ago, so I should be on the latest version of everything.
I am having the same issue as well. OBS can reach Ingest without issue, and I can see the React web page just fine. I can start WebRTC, but it just says "Waiting for RTP packets" and nothing else happens. I've tried setting the WebRTC port to both 0.0.0.0 and my local IP, and I've tried setting the React config to both 0.0.0.0 and my local IP as well (and I rebuilt after each change), but no matter which combination I use WebRTC never responds. I also just cloned the repositories about an hour ago, so I should be on the latest version of everything.
What does your browser console say?
@colonelpanic762 also make sure you have your wsURL set correctly in the react app! If you didn't do that it could be an issue.
Ok, I shut down my test VM to go eat dinner and when I came back and started it all back up, the React config.json had been reset. I put it back on my local IP. I am also now getting a connection through WebRTC, even though I haven't changed anything. I am still not seeing the stream on React, here's the console:
Connected to websocket SocketContext.jsx:80:14
offer App.js:58:18
candidate 3 App.js:73:18
Candidate fail App.js:39:14
WebRTC: ICE failed, add a STUN server and see about:webrtc for more details