DEV Community

Discussion on: Video call with WebRTC Angular and ASP.NET Core

 
vipul83 profile image
vipul83 • Edited

yup..it works for me when running via vs debug mode on two separate browsers but when i hosted the application on IIS, getting "simplepeer is not defined" error on console.....do I need to configure on IIS ??
also "SendSignal" hub method call is not going thru when hosted on IIS, if i select user

Thread Thread
 
sebalr profile image
Sebastian Larrieu

Sorry, I didn't understand. Why do you need IIS? I use dot net CLI to run the backend and Angular CLI to run frontend (or build and use a server like Apache or nginx) and open two browser to connect to Angular

Thread Thread
 
vipul83 profile image
vipul83

I need IIS to host. I have to host my web api (signalr svc) and frontend on IIS

Thread Thread
 
sebalr profile image
Sebastian Larrieu • Edited

So if you open two browser and use two different user everything must work

Thread Thread
 
vipul83 profile image
vipul83

No, its not working when hosted on IIS. I am wondering if i need to update anything on IIS related to support simplepeer. Anything you suggest ?

Some comments have been hidden by the post's author - find out more