DEV Community

loading...

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

vipul83 profile image
vipul83

I am getting attached exception when click on send message. Please note i m the only user who is running this application on my local machine. or does it required more than 1 user to setup communication (video communication)

Thread Thread
sebalr profile image
Sebastian Larrieu Author

You need two users. You can open two browser windows

Thread Thread
vipul83 profile image
vipul83

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 Author

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 Author

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