Build a Video Chat Service with JavaScript, WebRTC, and Okta
Learn how to use WebRTC, JavaScript, and Okta to build a video chat service.
Build a Video Chat Service with JavaScript, WebRTC, and Okta
Learn how to use WebRTC, JavaScript, and Okta to build a video chat service.
Ali
Hi, I tried to test this webRTC demo. But if fails with following error:
latest-v3.js:2104 GET https://sandbox.simplewebrt… net::ERR_CONNECTION_CLOSED
Any solution?
BTW, https://simplewebrtc.com/la… is not available anymore. so I downloaded it from SWRTB git repo.
leebrandt
Do you have a GitHub link? I can clone and take a look.
leebrandt
Sorry, I meant a repo for your project.
Ali
Sorry about that. Here is the link https://gitlab.com/nikakhta…
lizardofoz23
really stupid question, but how did you host this on localhost for locally testing in the first place?
lizardofoz23
lizardofoz23
I corrected my issues with deploy, but now I am getting a 404 on SimpleWebRTC that I’m seeing isn’t available anymore
Ali
I used web server for chrome extension. https://chrome.google.com/w…
Ali
Any chance to have a look?
leebrandt
I have not, sorry. I’ve been dealing with some hardware issues. I should get a chance to take a look Tuesday. (I am out tomorrow and Monday)
leebrandt
If I had to guess, I would check the setting on the sandbox and make sure you can make calls from your local machine… That’s where I would start anyway.
Ali
I believe there is a change on the simpleWbRTC signaling server. I have tested this code before and it was working fine. But it stopped working few days ago.
leebrandt
Unfortunately, after talking to Randall, it looks like the old version of SimpleWebRTC has been completely removed. The developer was developing it in his spare time and needed to make some money to make the time spent on it worthwhile (which I get). So the service has completely changed and there’s no way to get this version working without a compete rewrite (which we have put on the backlog to do).
Ali
Thanks for follow up
usama_idriss_kakumba
Hello thanks, I have this sort of errorError: Failed to lookup view “home” in views directory “E:\myProjects\webrtc-videochat\server\public\views”
at Function.render (E:\myProjects\webrtc-videochat\node_modules\express\lib\application.js:580:17)
at ServerResponse.render (E:\myProjects\webrtc-videochat\node_modules\express\lib\response.js:1012:7)
at E:\myProjects\webrtc-videochat\server\routes.js:41:23
at Layer.handle [as handle_request] (E:\myProjects\webrtc-videochat\node_modules\express\lib\router\layer.js:95:5)
at next (E:\myProjects\webrtc-videochat\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (E:\myProjects\webrtc-videochat\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (E:\myProjects\webrtc-videochat\node_modules\express\lib\router\layer.js:95:5)
at E:\myProjects\webrtc-videochat\node_modules\express\lib\router\index.js:281:22
at Function.process_params (E:\myProjects\webrtc-videochat\node_modules\express\lib\router\index.js:335:12)
at Immediate.next (E:\myProjects\webrtc-videochat\node_modules\express\lib\router\index.js:275:10)
Ekin Ekinci
Hi, as I understand the server and client files should be in seperate folders.
usama_idriss_kakumba
Right,
I found a way around it and was able to render the pages,