DEV Community

loading...

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

Collapse
hctru68 profile image
Huỳnh Công Trứ

Hi Sebastian,
This post is great.
I run it local is good but it's not working when I deployed it online. Front end and back end is deployed on the Ms azure.
Do you know why this issue happends?

Collapse
sebalr profile image
Sebastian Larrieu Author

Hello, I'm not an expert in networking but there could be two problems
One possibility (and easy to fix) it's that your Apache or nginx it's not correctly configured to allow web socket connection. If that is the case, you will see a signalR error in browser console.
If that is not the case and signalR is working ok, it's a webRTC problem, maybe some users are behind NAT or firewall, in that case you need to host and configure (config in peer constructor) a TURN server.

Edit. Another problem could be that outside localhost you need Https o video and audio request in browser it's not going to work

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